Skip to content

Commit 01d7bdc

Browse files
authored
fix defline when method start is unknown (#307)
1 parent 1102fb8 commit 01d7bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/locationinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function locinfo(frame::Frame)
2121
if unknown_start
2222
isfile(current_file) || return nothing
2323
body = read(current_file, String)
24-
defline = 0 # We are not sure where the context start in cases like these, could be improved?
24+
defline = 1 # We are not sure where the context start in cases like these, could be improved?
2525
end
2626
return defline, deffile, current_line, body
2727
else

0 commit comments

Comments
 (0)