Fix newline checks in parser (#1328)

This commit is contained in:
Spencer Phillip Young authored and GitHub committed 2025-11-24 14:40:54 +01:00
1 parent f4938dccca
commit cc02b6b685
4 files changed
+15 -1

No files matched your search

@@ -0,0 +1,5 @@
binop_result: Int = 1
/*comment*/-
/*comment*/ 1
@@ -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)