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
jsinterpreter.ml: replace
(fun s m -> Debug.impossible_with_heap_because LOC s m; Result_impossible) s ("[run_object_method] returned a primitive in [object_proto_is_prototype_of_body].")
with (after defining an « impossible » function)
impossible s "[run_object_method] returned a primitive in [object_proto_is_prototype_of_body]."
The text was updated successfully, but these errors were encountered:
This has been partially done in places already, any remaining cases of Debug.impossible in JsInterpreter should be replaced by let%assert or spec_assert or spec_assert_fail, or similar depending on usage.
IgnoredAmbience
changed the title
Fix jsinterpreter.ml
Swap out Debug.impossible_ with spec_assert_fail (or similar)
Sep 24, 2018
From #26 :
jsinterpreter.ml: replace
(fun s m -> Debug.impossible_with_heap_because LOC s m; Result_impossible) s ("[run_object_method] returned a primitive in [object_proto_is_prototype_of_body].")
with (after defining an « impossible » function)
impossible s "[run_object_method] returned a primitive in [object_proto_is_prototype_of_body]."
The text was updated successfully, but these errors were encountered: