File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ JL_DLLEXPORT jl_code_info_t *jl_code_for_staged(jl_method_instance_t *linfo)
413
413
ptls -> in_pure_callback = 0 ;
414
414
jl_toplevel_eval (def -> module , (jl_value_t * )func );
415
415
}
416
- jl_error ("generated function body is not pure. this likely means it contains a closure or comprehension." );
416
+ jl_error ("The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension." );
417
417
}
418
418
419
419
jl_array_t * stmts = (jl_array_t * )func -> code ;
Original file line number Diff line number Diff line change @@ -4942,7 +4942,7 @@ gVararg(a::fVararg(Int)) = length(a)
4942
4942
false
4943
4943
catch e
4944
4944
(e:: ErrorException ). msg
4945
- end == " generated function body is not pure. this likely means it contains a closure or comprehension."
4945
+ end == " The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension."
4946
4946
4947
4947
let x = 1
4948
4948
global g18444
You can’t perform that action at this time.
0 commit comments