Skip to content

Commit dc71108

Browse files
authored
compat: JuliaInterpreter 0.9 (#300)
1 parent 7e3ebd1 commit dc71108

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Debugger"
22
uuid = "31a5f54b-26ea-5ae9-a837-f05ce5417438"
3-
version = "0.6.8"
3+
version = "0.7.0"
44

55
[deps]
66
CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
@@ -15,8 +15,8 @@ REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1515
CodeTracking = "0.5.7, 1"
1616
Crayons = "3, 4"
1717
Highlights = "0.4.3"
18-
JuliaInterpreter = "0.7, 0.8"
19-
julia = "1"
18+
JuliaInterpreter = "0.9"
19+
julia = "1.6"
2020

2121
[extras]
2222
TerminalRegressionTests = "98bfdc55-cc95-5876-a49a-74609291cbe0"

src/printing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const NUM_SOURCE_LINES_UP_DOWN = Ref(4)
153153
function print_codeinfo(io::IO, frame::Frame)
154154
src = frame.framecode.src
155155
if isdefined(JuliaInterpreter, Symbol("replace_coretypes!"))
156-
src = JuliaInterpreter.copy_codeinfo(src)
156+
src = copy(src)
157157
JuliaInterpreter.replace_coretypes!(src; rev=true)
158158
end
159159
code = JuliaInterpreter.framecode_lines(src)

0 commit comments

Comments
 (0)