Created
February 1, 2012 16:22
-
-
Save yutopp/1717821 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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