mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-03 10:23:20 +00:00
fix: unification bug
This commit is contained in:
parent
26a9524df8
commit
2282d12a92
2 changed files with 9 additions and 2 deletions
|
@ -48,3 +48,10 @@ ff! x: Str or NoneType =
|
|||
do!: f0!()
|
||||
f0!() = print! ""
|
||||
f1! _: Str = f0!()
|
||||
|
||||
arr = [1]
|
||||
for! arr, (_,) =>
|
||||
if! True, do!:
|
||||
if! True, do!:
|
||||
if! True, do!:
|
||||
todo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue