Skip to content

Commit b66f6e2

Browse files
committed
Add a type assertion
1 parent 2fc0667 commit b66f6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DebuggerFramework.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module DebuggerFramework
9191
# Print location here
9292
else
9393
buf = IOBuffer()
94-
active_line = print_status_synthtic(buf, state, frame, 2, 5)
94+
active_line = print_status_synthtic(buf, state, frame, 2, 5)::Int
9595
code = split(String(take!(buf)),'\n')
9696
@assert active_line <= length(code)
9797
for (lineno, line) in enumerate(code)

0 commit comments

Comments
 (0)