Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocaml crash
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Rolf Wester <rolf.wester@i...>
Subject: [Caml-list] Ocaml crash

I have a class mirror and a type mirror in the same module. This compiles
without emitting an error. But when I run the toplevel built with this module
and type:

let m1 = new mirror ...;;

the toplevel crashes displaying an error dialoge with the message 
(WinNT VC++6 in German):

Die Anweisung in "0x00447324" verweist auf Speicher "0x00000009". ...
(I think in English this reads: The instruction  "0x00447324" points to
memery location "0x00000009". ...)

Of course it's a bad idea to name a class and a type definition the same but
I had expected the compiler to throw an error. Is this documented anywhere?

Besides this I have a question concerning modules. Is it possible to spread
the implementation of a module over several files and if how is it done?   


Rolf Wester

Rolf Wester
Bug reports:  FAQ:
To unsubscribe, mail  Archives: