mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Correctly handle EOF after unmatched backtick (#1187)
This commit is contained in:
1
pkl-core/src/test/files/LanguageSnippetTests/input/errors/singleBacktick.pkl
vendored
Normal file
1
pkl-core/src/test/files/LanguageSnippetTests/input/errors/singleBacktick.pkl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
`
|
||||
7
pkl-core/src/test/files/LanguageSnippetTests/output/errors/singleBacktick.err
vendored
Normal file
7
pkl-core/src/test/files/LanguageSnippetTests/output/errors/singleBacktick.err
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
–– Pkl Error ––
|
||||
Unexpected character `
|
||||
`. Did you mean `backquote`?
|
||||
|
||||
x | `
|
||||
^
|
||||
at singleBacktick (file:///$snippetsDir/input/errors/singleBacktick.pkl)
|
||||
Reference in New Issue
Block a user