Skip to content

Commit ef7fc24

Browse files
committed
A little more compat
1 parent 1f79f57 commit ef7fc24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ELF/ELFStrTab.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct ELFStrTab{H <: ELFHandle} <: StrTab{H}
1919
Loading Section $(section_idx) as a StrTab, despite it having section
2020
type $(section_type_string(section)), not SHT_STRTAB.
2121
""")
22-
warn(replace(msg, "\n" => " "), key=(handle(section), section_idx))
22+
Compat.@warn(replace(msg, "\n" => " "), key=(handle(section), section_idx))
2323
end
2424

2525
return new(section)

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function test_libfoo_and_fooifier(fooifier_path, libfoo_path)
107107
# Helper that shows the type, then the value:
108108
function tshow(x)
109109
type_name = typeof(x).name.name
110-
Compat.@info(io, "Showing $(type_name)")
110+
println(io, "INFO: Showing $(type_name)")
111111
show(io, x)
112112
print(io, "\n")
113113
end

0 commit comments

Comments
 (0)