| ... | @@ -340,14 +340,7 @@ fn expr(astrl: *AstRlAnnotate, node: Ast.Node.Index, block: ?*Block, ri: ResultI | ... | @@ -340,14 +340,7 @@ fn expr(astrl: *AstRlAnnotate, node: Ast.Node.Index, block: ?*Block, ri: ResultI |
| 340 | for (full.ast.params) |param_node| { | 340 | for (full.ast.params) |param_node| { |
| 341 | _ = try astrl.expr(param_node, block, ResultInfo.type_only); | 341 | _ = try astrl.expr(param_node, block, ResultInfo.type_only); |
| 342 | } | 342 | } |
| 343 | return switch (tree.nodeTag(node)) { | 343 | return false; // TODO: once function calls are passed result locations this will change |
| 344 | .call_one, | | |
| 345 | .call_one_comma, | | |
| 346 | .call, | | |
| 347 | .call_comma, | | |
| 348 | => false, // TODO: once function calls are passed result locations this will change | | |
| 349 | else => unreachable, | | |
| 350 | }; | | |
| 351 | }, | 344 | }, |
| 352 | | 345 | |
| 353 | .@"return" => { | 346 | .@"return" => { |