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
Original bug ID: 5498 Reporter:@garrigue Assigned to:@garrigue Status: closed (set by @garrigue on 2012-02-03T07:04:13Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.2 Fixed in version: 3.13.0+dev Category: typing Related to:#2602
Bug description
Hello Jacques,
I've hit a:
Fatal error: exception Assert_failure("typing/typeclass.ml", 1401, 18)
while adding some objects/classes to llpp[1],
~$ ocamlc -v
The Objective Caml compiler, version 3.11.2
you'd need to remove coercions for it to trigger, for instance
diff --git a/main.ml b/main.ml
index 818a129..047bd65 100644
--- a/main.ml
+++ b/main.ml
@@ -3634,7 +3634,7 @@ let enterinfomode =
if Glut.getModifiers () land Glut.active_ctrl = 0
then
match key with
Unification with an empty object did only check the absence of the first method.
As a result incompatible types could be unified, causing errors later.
Fixed in trunk revision 12111 and 3.12 revision 12112.
Original bug ID: 5498
Reporter: @garrigue
Assigned to: @garrigue
Status: closed (set by @garrigue on 2012-02-03T07:04:13Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.2
Fixed in version: 3.13.0+dev
Category: typing
Related to: #2602
Bug description
Hello Jacques,
I've hit a:
Fatal error: exception Assert_failure("typing/typeclass.ml", 1401, 18)
while adding some objects/classes to llpp[1],
~$ ocamlc -v
The Objective Caml compiler, version 3.11.2
the code that hits this is at
[1] http://repo.or.cz/w/llpp.git
you'd need to remove coercions for it to trigger, for instance
diff --git a/main.ml b/main.ml
index 818a129..047bd65 100644
--- a/main.ml
+++ b/main.ml
@@ -3634,7 +3634,7 @@ let enterinfomode =
if Glut.getModifiers () land Glut.active_ctrl = 0
then
match key with
--
malc
Steps to reproduce
Download llpp by
git clone git://repo.or.cz/llpp.git
and compile with build.sh
Additional information
Reproduce with 3.12 and trunk too
The text was updated successfully, but these errors were encountered: