From 43fc6d8392dcb4157358ba7d9c29dae08d28b0d9 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 11 Mar 2023 13:42:08 +0100 Subject: [PATCH] gen: implement enum parameters --- gen/shared.ha | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gen/shared.ha b/gen/shared.ha index bd19afe..d60d3a9 100644 --- a/gen/shared.ha +++ b/gen/shared.ha @@ -66,8 +66,9 @@ fn ipc_type( case ast::ptype::UINTPTR => fmt::fprint(out, "uintptr")?; }; - case str => - abort(); // TODO + case let s: str => + // TODO: Look up type? + fmt::fprint(out, s)?; }; }; -- 2.45.2