Skip to content

Commit b31d9d8

Browse files
committed
fix bare interpolation of "type" in strings
1 parent b00c569 commit b31d9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/strings.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function parse_string_or_cmd(ps::ParseState, prefixed=false)
189189
if kindof(ps1.t) === Tokens.WHITESPACE
190190
error("Unexpected whitespace after \$ in String")
191191
else
192-
t = INSTANCE(ps1)
192+
t = parse_kw(ps1)
193193
end
194194
# Attribute trailing whitespace to the string
195195
t = adjustspan(t)

0 commit comments

Comments
 (0)