polserver/testsuite/escript/classes/fail-super-no-default.src
Kevin Eady 0fa1b893a0 Update core-changes, break-changes for classes support (#719)
* Format testsuite escript

* Format testsuite pol

* Update docs
Switch "attributes" to "members" to better align with Escript terms.

* Add core-changes, breaking-changes
2024-10-10 18:06:04 +02:00

25 lines
324 B
Text

class A()
function A( this, a0 )
endfunction
endclass
class B( A )
function B( this, b0 )
super();
endfunction
endclass
class C( A )
function C( this, c0 )
super();
endfunction
endclass
class D( B, C )
function D( this, d0 )
super();
endfunction
endclass
var obj := D( "foo" );
print( obj );