Fix most issues with dynamic arrays

This commit is contained in:
Dave Halter
2018-10-29 21:05:12 +01:00
parent a352fc8595
commit 0a67b387c6
5 changed files with 21 additions and 18 deletions

View File

@@ -55,9 +55,10 @@ list(arr)[10]
arr = [1.0]
arr.extend([1,2,3])
arr.extend([])
arr.extend("") # should ignore
arr.extend("")
arr.extend(list) # should ignore
#? float() int()
#? float() int() str()
arr[100]
a = set(arr)
@@ -94,7 +95,7 @@ arr2[0]
lst = [1]
lst.append(1.0)
s = set(lst)
s.add("")
s.add("ahh")
lst = list(s)
lst.append({})