Skip to content

Commit 84ccafe

Browse files
authored
Make SourceFile.code infer concretely (#337)
1 parent ad9b166 commit 84ccafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source_files.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ information for a byte offset can be looked up via the `source_line`,
1313
struct SourceFile
1414
# TODO: Rename SourceFile -> SourceText / SourceChunk / SourceIndex / SourceLineIndex ?
1515
# See https://github.com/JuliaLang/JuliaSyntax.jl/issues/190
16-
code::SubString
16+
code::SubString{String}
1717
# Offset of `code` within a larger chunk of source text
1818
byte_offset::Int
1919
filename::Union{Nothing,String}

0 commit comments

Comments
 (0)