19 lines · 402 B · Text
RawDownload
// static test: calling a static function without dot notation// e.g., foo(...) rather than f.foo(...) or Foo.foo(...)// note this can only happen from within another function of // the same class or a child class. class Foo{    fun static void start()    {        foo( "bar" );    }     fun static void foo( string s )    {        if( s == "bar" ) <<< "success" >>>;    }} 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