Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (16 sloc) 0.216 kb
"""
A.Foo
A.Foo
B.Foo
"""
class A:
virtual def Foo():
print "A.Foo"
class B(A):
new virtual def Foo():
print "B.Foo"
def FooOn(a as A):
a.Foo()
FooOn A()
FooOn B()
B().Foo()
Jump to Line
Something went wrong with that request. Please try again.