Skip to content

Errore Compilazione OCaml >= 4.04.0 #14

@iacopy

Description

@iacopy

Ciao! Ho provato a lanciare un make fallendo miseramente. Dove sbaglio?
Vi incollo l'errore. Sapreste indirizzarmi?

$ ocaml --version
The OCaml toplevel, version 4.06.0
$ ocamlopt --version
4.06.0
$ make
ocamlopt.opt -c -inline 23 -unsafe ver.ml -o ver.cmx
ocamlopt.opt -c -inline 23 -unsafe prelude.ml -o prelude.cmx
ocamlopt.opt -c -inline 23 -unsafe err.ml -o err.cmx
ocamlopt.opt -c -inline 23 -unsafe absyn.ml -o absyn.cmx
ocamlopt.opt -c -inline 23 -unsafe env.ml -o env.cmx
ocamlopt.opt -c -inline 23 -unsafe check.ml -o check.cmx
File "check.ml", line 40, characters 59-62:
Error: This expression has type elt -> Prelude.Prelude.symbol
       but an expression was expected of type elt -> elt
       Type Prelude.Prelude.symbol = string is not compatible with type
         elt = Prelude.Prelude.symbol * Err.loc option
make: *** [check.cmx] Error 2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions