Skip to content

Commit fe491ec

Browse files
authored
Fix effects annotations on current_exception (JuliaLang/JuliaLowering.jl#74)
`:nothrow` is actually unnecessary because it is already subsumed in `:removable`.
1 parent 313db4b commit fe491ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JuliaLowering/src/runtime.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Return the current exception. In JuliaLowering we use this rather than the
1111
# special form `K"the_exception"` to reduces the number of special forms.
12-
Base.@assume_effects :removable :nothrow function current_exception()
12+
Base.@assume_effects :removable function current_exception()
1313
@ccall jl_current_exception(current_task()::Any)::Any
1414
end
1515

0 commit comments

Comments
 (0)