# simple nested class - access from inside class Enclosing class Nested cue init base.init def geti as int return 1 def geti as int return 99 def main a = Enclosing() assert a.geti == 99 n = Enclosing.Nested() assert n.geti == 1