caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Typing error results in fatal error.
@ 2013-04-08 11:06 Kaspar Rohrer
  2013-04-08 11:16 ` Gabriel Scherer
  0 siblings, 1 reply; 2+ messages in thread
From: Kaspar Rohrer @ 2013-04-08 11:06 UTC (permalink / raw)
  To: caml-list

Hi list

Is there a reason why the following code

> class type a = object inherit a end

 (in OCaml 4.00.1, at least) results in a 

> Fatal error: exception Assert_failure("typing/env.ml", 629, 54)

in either the toplevel or the compiler, instead of a simple typing error?

Just curious.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-08 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-08 11:06 [Caml-list] Typing error results in fatal error Kaspar Rohrer
2013-04-08 11:16 ` Gabriel Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).