class A { __init__(param) { this.field = param; } test() { print(this.field); } } class B < A {} var b = B("value"); b.test(); # expect: value class D < List {} # expect runtime error: Can not inherit from native classes yet.