Skip to content

Instantly share code, notes, and snippets.

@yutopp
Created February 1, 2012 16:22
Show Gist options
  • Save yutopp/1717821 to your computer and use it in GitHub Desktop.
Save yutopp/1717821 to your computer and use it in GitHub Desktop.
class parent
{
homu() => child.o();
var child;
}
class child extends parent
{
child() { super.child = this; }
o() => print( "o" );
}
void main()
{
child p = new child();
p.homu();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment