aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-02 23:55:37 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-02 23:55:37 -0400
commit126050a6357d7ec1fd9901256de50923b6dd7c49 (patch)
tree6256665ea238bdd94ba748898b154e570b7dc786 /src
parentf6d10cd5c49da95a770c9670ee45b886f48063af (diff)
Use 'OptionalText_t' for optional text types
Diffstat (limited to 'src')
-rw-r--r--src/compile/types.c2
1 files changed, 1 insertions, 1 deletions
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: