erg/examples/import.er

7 lines
140 B
Python

a11y = import "a11y"
print! a11y.public
# print! a11y.private # error: private variable
print! a11y.C.x
c = a11y.C.new {.x = 0}
print! c.x