diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 19:52:41 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 19:52:41 -0400 |
| commit | bb1af5c7b5e76ddd3e76ff75e62c0f0a65026ded (patch) | |
| tree | e3e5e77f376601059988fffe4e9c55240e5d103f /src/compile | |
| parent | cfe1bd5cb72a12f3bfc643f64b33444ad63502f9 (diff) | |
Refactoring bug fix
Diffstat (limited to 'src/compile')
| -rw-r--r-- | src/compile/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/expressions.c b/src/compile/expressions.c index 4d41af61..2320474a 100644 --- a/src/compile/expressions.c +++ b/src/compile/expressions.c @@ -230,7 +230,7 @@ Text_t compile(env_t *env, ast_t *ast) { case ExplicitlyTyped: { return compile_to_type(env, Match(ast, ExplicitlyTyped)->ast, get_type(env, ast)); } - case When: return compile_when_statement(env, ast); + case When: return compile_when_expression(env, ast); case If: return compile_if_expression(env, ast); case Reduction: return compile_reduction(env, ast); case FieldAccess: return compile_field_access(env, ast); |
