# Check that external exceptions are correctly propagated in the Python API from lexer_example import foo_lexer @with_lexer(foo_lexer) grammar foo_grammar { @main_rule main_rule <- Example("example") } @abstract class FooNode implements Node[FooNode] { @exported @external() fun prop(): Int } class Example: FooNode { }