mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Format testsuite escript * Format testsuite pol * Update docs Switch "attributes" to "members" to better align with Escript terms. * Add core-changes, breaking-changes
17 lines
342 B
Text
17 lines
342 B
Text
// Cannot use `super()` because BaseClass uses uncloneable default
|
|
// parameter, _even if_ a value is given at the call site.
|
|
|
|
class BaseClass()
|
|
function BaseClass( this, arg0 := array{ 1, 2, 3 } )
|
|
endfunction
|
|
endclass
|
|
|
|
///////////
|
|
|
|
class Foo( BaseClass )
|
|
function Foo( this )
|
|
super( "value given" );
|
|
endfunction
|
|
endclass
|
|
|
|
Foo();
|