Bend/tests/golden_tests/run_file/open_too_many_ctrs.bend

8 lines
106 B
Plaintext

type MyTree:
node { a, b }
leaf { a }
def main:
x = MyTree/node(1, 2)
open MyTree: x
return x.a