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
The following program compiles with v3.1.3 of koka:
fun g()
fn () g()
fun main()
println(g()() + 1)
But it segfaults when executed.
The type inferred for g is: forall<a,e> () -> div (() -> e a), which does not capture the fact that a and (() -> e a) should be the same type.
The text was updated successfully, but these errors were encountered:
The following program compiles with v3.1.3 of koka:
But it segfaults when executed.
The type inferred for g is:
forall<a,e> () -> div (() -> e a)
, which does not capture the fact thata
and(() -> e a)
should be the same type.The text was updated successfully, but these errors were encountered: