parser: fix bad type assertions causing NoSuchMethodError

This commit is contained in:
Alex Zenla 2023-10-08 18:45:59 -07:00
parent 73a458b673
commit d355fb3914
Signed by: alex
GPG Key ID: C0780728420EBFE5

View File

@ -28,7 +28,7 @@ open class ParserNodeAttribution : NodeAttribution {
current = store
stack.add(store)
val node = block()
store = stack.removeLast()
store = stack.removeAt(stack.size - 1)
current = stack.lastOrNull()
node.data = ParserAttributes(store)
return node