mirror of
https://github.com/apple/pkl.git
synced 2026-06-12 08:34:27 +02:00
Fix empty parenthesized type unexpected error (#1323)
This commit is contained in:
committed by
Jen Basch
parent
a8b6081a90
commit
5516cdb210
Vendored
+1
@@ -0,0 +1 @@
|
||||
foo: Int|()|String = "foo"
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
–– Pkl Error ––
|
||||
Unexpected token `)`. Expected a type.
|
||||
|
||||
x | foo: Int|()|String = "foo"
|
||||
^
|
||||
at emptyParenthesizedTypeAnnotation (file:///$snippetsDir/input/errors/emptyParenthesizedTypeAnnotation.pkl)
|
||||
Reference in New Issue
Block a user