position stuff works now also with function that are located after the just called function

This commit is contained in:
David Halter
2012-07-06 01:07:17 +02:00
parent 28ad77406f
commit fdfd475d40
3 changed files with 49 additions and 5 deletions

View File

@@ -187,3 +187,25 @@ class V:
##? int()
V().b()
# -----------------
# ordering
# -----------------
class A():
def b(self):
#? int()
a()
#? str()
self.a()
return a()
def a(self):
return ""
def a():
return 1
#? int()
A().b()
#? str()
A().a()