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
julia> @inline function foo(a::Int, b) r = Ref(a) try setfield!(r, :x, b) nothing catch err return 42 end end foo (generic function with 1 method) julia> code_typed(foo, (Int,String)) 1-element Vector{Any}: CodeInfo( 1 ─ nothing::Nothing 2 ─ %2 = $(Expr(:enter, #4)) 3 ─ unreachable 4 ┄ $(Expr(:leave, 1)) 5 ─ $(Expr(:pop_exception, :(%2)))::Any └── return 42 ) => Int64 julia> foo(42, "julia") [26644] signal (4.1): Illegal instruction: 4 in expression starting at REPL[10]:1 ...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: