namespace Foo.Bar mixin Values get one as int return 1 def two as int return 2 var _x as int pro x from var var _y as int pro y from _y class A adds Values def three as int return 3 class P def main is shared a = A() assert a inherits Values # .no-warnings. assert a.one == 1 assert a.two == 2 assert a.three == 3 a.x = 5 a.y = 6 assert a.x == 5 and a.y == 6