mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
dynamic arrays in executions and instances should now work fully, some things got simplified, now it works.
This commit is contained in:
@@ -316,12 +316,23 @@ class C():
|
||||
a[0]
|
||||
return a
|
||||
|
||||
def class_arr(self, el):
|
||||
self.a = []
|
||||
self.a.append(el)
|
||||
#? int()
|
||||
self.a[0]
|
||||
return self.a
|
||||
|
||||
#? int()
|
||||
C().blub(1)[0]
|
||||
|
||||
#? float()
|
||||
C().blub2(1)[0]
|
||||
|
||||
#? int()
|
||||
C().a[0]
|
||||
#? int()
|
||||
C().class_arr(1)[0]
|
||||
|
||||
# -----------------
|
||||
# array recursions
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user