20 lines · 312 B · Text
RawDownload
// static test: calling a static function with dot notation class Foo{    static Foo @ ours;     fun static void start()    {        Foo f;        f @=> Foo.ours;        ours.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