Skip to content

Commit 4ac7a71

Browse files
committed
fix ExprType for SYM_RESULT
1 parent a14f7f6 commit 4ac7a71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

expr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3085,6 +3085,7 @@ ExprTypeRelative(SymbolTable *table, AST *expr, Module *P)
30853085
case SYM_PARAMETER:
30863086
case SYM_CLOSURE:
30873087
case SYM_TYPEDEF:
3088+
case SYM_RESULT:
30883089
return (AST *)sym->v.ptr;
30893090
case SYM_FUNCTION:
30903091
return ((Function *)sym->v.ptr)->overalltype;

0 commit comments

Comments
 (0)