From 126050a6357d7ec1fd9901256de50923b6dd7c49 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 2 Oct 2025 23:55:37 -0400 Subject: Use 'OptionalText_t' for optional text types --- src/compile/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compile/types.c b/src/compile/types.c index e407a6d0..58a0260b 100644 --- a/src/compile/types.c +++ b/src/compile/types.c @@ -63,7 +63,7 @@ Text_t compile_type(type_t *t) { case ClosureType: case PointerType: case EnumType: return compile_type(nonnull); - case TextType: return Match(nonnull, TextType)->lang ? compile_type(nonnull) : Text("OptionalText_t"); + case TextType: case IntType: case BigIntType: case NumType: -- cgit v1.2.3