We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I ran JET.report_file("UndefVarError_branching_test.jl"; mode=:typo) on the following code:
JET.report_file("UndefVarError_branching_test.jl"; mode=:typo)
function foo(a) if a == 1 output_string = "a is 1" return output_string else return "$output_string is not true" end end foo(2)
Variable output_string is defined only inside if, but JET didn't report an UndefVarError for return "$output_string is not true". Is this expected?
output_string
if
UndefVarError
return "$output_string is not true"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I ran
JET.report_file("UndefVarError_branching_test.jl"; mode=:typo)
on the following code:Variable
output_string
is defined only insideif
, but JET didn't report anUndefVarError
forreturn "$output_string is not true"
. Is this expected?The text was updated successfully, but these errors were encountered: