You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internal Error (implementation's bug?): Jikka.Core.Convert.TypeInfer: failed to solve type equations: failed to unify $43 and int list: different type ctors int and int list
The text was updated successfully, but these errors were encountered:
Summary / 概要
簡単なコードのはずなのになぜかエラーになる。
@soraiemame さんが見つけてくれました
$ stack run debug XXX.py
ってやると core 言語へ変換した直後のコードが見れるのでこれを眺めてみるとよさそうsorted
の型をint -> int list
だと勘違いして型推論しちゃってるとかSteps to reproduce / 再現方法
以下のコードを変換する:
environments:
v5.5.0.0
Expected behavior / 期待される挙動
Actual behavior / 実際の挙動
The text was updated successfully, but these errors were encountered: