Skip to content

Commit 12049a4

Browse files
committed
bootstrap issue; don't outline errors in @assert
1 parent 85e2963 commit 12049a4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

base/error.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,6 @@ macro assert(ex, msgs...)
231231
end
232232
end
233233

234-
fn = gensym("assert")
235-
236-
@eval @noinline function $(fn)()
237-
throw(AssertionError($msg))
238-
end
239-
240234
return :($(esc(ex)) ? $(nothing) : $(fn)())
241235
end
242236

0 commit comments

Comments
 (0)