polserver/testsuite/escript/classes/fail-super-reference.src
Kevin Eady 6a7968c20b Address final implementation TODOs (#706)
* Address code TODOs

* Update Escript version!
2024-10-10 18:06:04 +02:00

14 lines
224 B
Text

// Cannot create a reference to the super() function.
class BaseClass()
function BaseClass( this )
endfunction
endclass
class Foo( BaseClass )
function Foo( this )
print( @super );
endfunction
endclass
Foo();