Skip to content

Commit

Permalink
parser: fix bad type assertions causing NoSuchMethodError
Browse files Browse the repository at this point in the history
  • Loading branch information
azenla committed Oct 9, 2023
1 parent 73a458b commit d355fb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d355fb3

Please sign in to comment.