English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] raise extra arg ignored
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-27 (19:53)
From: Pixel <pixel@m...>
Subject: [Caml-list] raise extra arg ignored
failwith "foo" "bar"
failwith "foo"

are equivalent. 

exception Foo;;
raise Foo 1
raise Foo

same for this. I understand why it typechecks, but couldn't there be a special
check for this since it can't be useful (or can it??)

Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr