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
It would be more informative if the compiler output Unhandled_effect <EFFECT_NAME> instead of Unhandled. Also, bonus points for a backtrace of where the perform happened, as happens with exceptions when CAMLRUNPARAM=b.
The text was updated successfully, but these errors were encountered:
(* foo.ml *)openEffectHandlerstype_ eff += E : uniteffletrec foo()=
perform E;
foo ()
[@@inline never]
let _ = foo ()
$ OCAMLRUNPARAM=b ./a.out
Fatal error: exception Unhandled
Raised by primitive operation at Foo.foo in file "foo.ml", line 7, characters 2-11
Called from Foo in file "foo.ml", line 11, characters 8-14
It would be more informative if the compiler output
Unhandled_effect <EFFECT_NAME>
instead ofUnhandled
. Also, bonus points for a backtrace of where the perform happened, as happens with exceptions when CAMLRUNPARAM=b.The text was updated successfully, but these errors were encountered: