mirror of
https://github.com/apple/pkl.git
synced 2026-05-21 14:27:07 +02:00
Fix newline checks in parser (#1328)
This commit is contained in:
committed by
GitHub
parent
f4938dccca
commit
cc02b6b685
+5
@@ -0,0 +1,5 @@
|
||||
binop_result: Int = 1
|
||||
|
||||
/*comment*/-
|
||||
|
||||
/*comment*/ 1
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
–– Pkl Error ––
|
||||
Invalid token at position. Expected a class, typealias, method, or property.
|
||||
|
||||
x | /*comment*/-
|
||||
^
|
||||
at binopDifferentLine (file:///$snippetsDir/input/errors/binopDifferentLine.pkl)
|
||||
Reference in New Issue
Block a user