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
Original bug ID: 4937 Reporter: pveber Assigned to:@xclerc Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z) Resolution: fixed Priority: normal Severity: major Version: 3.11.1 Fixed in version: 3.12.1+dev Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Related to:#4884
Bug description
The following program is incorrectly preprocessed by camlp4 :
~ 12:59:36 $ cat rien.mli
type option = int
val f : ?l:bool -> unit
~ 12:56:56 $ ocamlc -pp camlp4o -c rien.mli
File "rien.mli", line 2, characters 8-23:
Error: The type constructor option expects 0 argument(s),
but is here applied to 1 argument(s)
Sorry I couldn't guess the source of the problem !
ph.
The text was updated successfully, but these errors were encountered:
Yes the problem appears to be similar to issue 4884 (apologies for missing that one), but I should stress that in my case camlp4 is necessary for the problem to appear :
ocamlc -c rien.mli
works just fine. Anyway thanks for this lightning-fast reaction !
ph.
Original bug ID: 4937
Reporter: pveber
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.11.1
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #4884
Bug description
The following program is incorrectly preprocessed by camlp4 :
~ 12:59:36 $ cat rien.mli
type option = int
val f : ?l:bool -> unit
~ 12:56:56 $ ocamlc -pp camlp4o -c rien.mli
File "rien.mli", line 2, characters 8-23:
Error: The type constructor option expects 0 argument(s),
but is here applied to 1 argument(s)
Sorry I couldn't guess the source of the problem !
ph.
The text was updated successfully, but these errors were encountered: