mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 21:00:56 +00:00
parser: fix bad type assertions causing NoSuchMethodError
This commit is contained in:
parent
73a458b673
commit
d355fb3914
@ -28,7 +28,7 @@ open class ParserNodeAttribution : NodeAttribution {
|
|||||||
current = store
|
current = store
|
||||||
stack.add(store)
|
stack.add(store)
|
||||||
val node = block()
|
val node = block()
|
||||||
store = stack.removeLast()
|
store = stack.removeAt(stack.size - 1)
|
||||||
current = stack.lastOrNull()
|
current = stack.lastOrNull()
|
||||||
node.data = ParserAttributes(store)
|
node.data = ParserAttributes(store)
|
||||||
return node
|
return node
|
||||||
|
Loading…
Reference in New Issue
Block a user