Skip to content

Commit b9800a3

Browse files
tkftimholy
authored andcommitted
Support stepping in functions annotated by Base.@​propagate_inbounds (#55)
1 parent 7230c74 commit b9800a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REQUIRE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
julia 1.0
2-
Revise 1.0
2+
Revise 1.0.2
33
HeaderREPLs 0.2

src/debug.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ rename_method(ex::ExLike, name::Symbol, callerobj) = rename_method!(copy(ex), na
627627

628628
function pop_annotations(def::ExLike)
629629
while Revise.is_trivial_block_wrapper(def) || (
630-
def isa ExLike && def.head == :macrocall && def.args[1] Revise.poppable_macro)
630+
def isa ExLike && def.head == :macrocall && Revise.is_poppable_macro(def.args[1]))
631631
def = def.args[end]
632632
end
633633
def

0 commit comments

Comments
 (0)