mirror of
https://github.com/apple/pkl.git
synced 2026-05-24 07:46:57 +02:00
Fix bug in parsing of super expression (#1364)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
local baz = new Dynamic {}
|
||||
|
||||
local foo = new Dynamic {
|
||||
bar = 1
|
||||
}
|
||||
|
||||
qux {
|
||||
(foo) {
|
||||
...super.bar
|
||||
(baz) {
|
||||
qux = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
qux {
|
||||
new {
|
||||
bar = 1
|
||||
new {
|
||||
qux = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user