Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/parse_stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ function sourcetext(stream::ParseStream; steal_textbuf=false)
# unstable. (Also codeunit(root) == UInt8 doesn't imply UTF-8 encoding?)
# if root isa AbstractString && codeunit(root) == UInt8
# return root
str = if root isa String || root isa SubString
str = if root isa String || root isa SubString{String}
root
elseif steal_textbuf
String(stream.textbuf)
Expand Down
Loading