Skip to content

Commit e11f468

Browse files
committed
Fix diagnostic printing without filename
1 parent e016293 commit e11f468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function show_diagnostic(io::IO, diagnostic::Diagnostic, source::SourceFile)
5656
locstr = "\e]8;;$url\e\\$locstr\e]8;;\e\\"
5757
end
5858
else
59-
locstr = "line $locstr"
59+
locstr = "line $linecol"
6060
end
6161
print(io, prefix, ": ")
6262
printstyled(io, diagnostic.message, color=color)

0 commit comments

Comments
 (0)