Mantis - OCaml-Java
Erweiterte Problemanzeige
125 Blocker immer 2013-12-05 19:32 2014-01-28 22:08
nunogaspar  
xclerc  
normal  
erledigt 2.0-early-access6  
erledigt  
keine    
keine 2.0-early-access10  
0000125: ocamlwrap error
ocamlwrap doesn't seem to handle very well sum types. The following minimalist code exemplifies the situation.

A.mli:
type abc =
  | ABC of char

type ident =
  char list * abc list

test.ml:
open A

type xyz =
  | Xyz of abc

with the commands:
ocamljava -c a.mli
ocamljava -c test.ml
ocamlwrap test.cmi

yield

*** error: Not_found




Work around already provided: invoke ocamlwrap with both .cmi files.
Problem-Historie
2013-12-05 19:32 nunogaspar Neues Problem
2014-01-28 22:08 xclerc Problemnotiz hinzugefügt: 0000282
2014-01-28 22:08 xclerc Status neu => erledigt
2014-01-28 22:08 xclerc Behoben in Version => 2.0-early-access10
2014-01-28 22:08 xclerc Lösung offen => erledigt
2014-01-28 22:08 xclerc Bearbeitung durch => xclerc

Notiz
(0000282)
xclerc   
2014-01-28 22:08   
A better error message is now output.