You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module type MYHASH =
sig
include module type of Hashtbl
end
ocamlc -c t.ml
camlp4o t.ml
File "t.ml", line 3, characters 1-8:
Parse error: [module_type] expected after "include" (in [sig_item])
this is the case for the current stable release (3.12) as well as the current
3.12.1 branch:
camlp4o -version
3.12.1+dev5 (2010-10-12)
Additional information
as a side note, the status of the 'module type of' extension is not clear.
It is supported by the compiler and documented in the "language extensions" section but it is not listed in the 3.12 release note and not supported by camlp4.
The text was updated successfully, but these errors were encountered:
Original bug ID: 5172
Reporter: kim
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2013-08-31T10:49:12Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.1+dev
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: yziquel @ygrek @glondu @jberdine @hcarty
Bug description
cat t.ml
module type MYHASH =
sig
include module type of Hashtbl
end
ocamlc -c t.ml
camlp4o t.ml
File "t.ml", line 3, characters 1-8:
Parse error: [module_type] expected after "include" (in [sig_item])
this is the case for the current stable release (3.12) as well as the current
3.12.1 branch:
camlp4o -version
3.12.1+dev5 (2010-10-12)
Additional information
as a side note, the status of the 'module type of' extension is not clear.
It is supported by the compiler and documented in the "language extensions" section but it is not listed in the 3.12 release note and not supported by camlp4.
The text was updated successfully, but these errors were encountered: