mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix(typechecker): quantified types unifying
This commit is contained in:
parent
448fe4e64c
commit
855d47f02c
7 changed files with 77 additions and 40 deletions
|
@ -14,7 +14,7 @@ def while__(cond_block, body):
|
|||
|
||||
def with__(obj, body):
|
||||
obj.__enter__()
|
||||
body(e)
|
||||
body(obj)
|
||||
obj.__exit__()
|
||||
|
||||
def discard__(obj):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue