diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-18 20:39:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-18 20:39:57 -0400 |
| commit | 967b649da20f1cb2011025456853cb55f25e9a88 (patch) | |
| tree | ffce4f06f5fbb833c8aee2ba7c6982156f7bfac4 /typecheck.c | |
| parent | d804b09b02b9c4a6ea6b16ae85524a704796cbc1 (diff) | |
Deprecate `#` operator in favor of .length and fix up some issues
Diffstat (limited to 'typecheck.c')
| -rw-r--r-- | typecheck.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/typecheck.c b/typecheck.c index b79b903c..739535c4 100644 --- a/typecheck.c +++ b/typecheck.c @@ -859,7 +859,6 @@ type_t *get_type(env_t *env, ast_t *ast) return Type(AbortType); } case Pass: case Defer: return Type(VoidType); - case Length: return INT_TYPE; case Negative: { ast_t *value = Match(ast, Negative)->value; type_t *t = get_type(env, value); |
