polserver/testsuite/escript/classes/fail-super-scope.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

17 lines
292 B
Text

// Various tests with calling a super-class's method in an unscoped manner
class BaseClass()
function BaseClass( this )
endfunction
endclass
class Foo( BaseClass )
function Foo( this )
super::Method( this );
endfunction
function Method( this )
endfunction
endclass
Foo();