Skip to content

Commit 67822ee

Browse files
committed
does this fix anything...?
1 parent fef1537 commit 67822ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/error.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ julia> @assert isodd(3) "What even are numbers?"
202202
```
203203
"""
204204
macro assert(ex, msgs...)
205-
@isdefined(isdebug) && !(isdebug()) && return nothing
205+
isdefined(@__MODULE__, :isdebug) && !(isdebug()) && return nothing
206206
msg = isempty(msgs) ? ex : msgs[1]
207207
if isa(msg, AbstractString)
208208
msg = msg # pass-through

0 commit comments

Comments
 (0)