21 lines · 389 B · Text
RawDownload
// static function test: calling a static function defined in a // parent class, without using the dot notation class FooParent{    fun static void foo( string s )    {        if( s == "bar" ) <<< "success" >>>;    }} class Foo extends FooParent{    fun static void start()    {        // call without dot notation e.g., f.foo(...)        foo( "bar" );    }} Foo.start();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t