mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
Optimize type inferer
This commit is contained in:
parent
a5f28b7125
commit
308f6a77dd
17 changed files with 1498 additions and 2058 deletions
|
@ -1,8 +1,9 @@
|
|||
p = (1, 2)
|
||||
assert p.0 == 1
|
||||
|
||||
q = (1, True)
|
||||
q = (1, True, "a")
|
||||
assert q.1
|
||||
assert q.2 == "a"
|
||||
|
||||
i, j = 0, 1
|
||||
assert i == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue