summaryrefslogtreecommitdiff
path: root/ast_to_hir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ast_to_hir.cpp')
-rw-r--r--ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp
index 3c4b69fdc2..1fea7299db 100644
--- a/ast_to_hir.cpp
+++ b/ast_to_hir.cpp
@@ -725,7 +725,7 @@ ast_function_expression::hir(exec_list *instructions,
*/
(void) instructions;
(void) state;
- return NULL;
+ return ir_call::get_error_instruction();
}
ir_instruction *