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: 7027 Reporter: vivien Status: closed (set by @xavierleroy on 2017-02-16T14:16:42Z) Resolution: fixed Priority: normal Severity: minor OS: Debian GNU/Linux OS Version: 8.2 Version: 4.02.3 Fixed in version: 4.03.0+dev / +beta1 Category: tools (ocaml{lex,yacc,dep,debug,...}) Monitored by:@gasche@yallop
Note that ocamllex actually succeeds but ocamlc fails with an error :
File "test.ml", line 152, characters 9-55:
Error: This expression has type token M.t
but an expression was expected of type 'a -> 'b M.t
Command exited with code 2.
Additional information
Same issue with ocaml 4.02.1.
The text was updated successfully, but these errors were encountered:
Original bug ID: 7027
Reporter: vivien
Status: closed (set by @xavierleroy on 2017-02-16T14:16:42Z)
Resolution: fixed
Priority: normal
Severity: minor
OS: Debian GNU/Linux
OS Version: 8.2
Version: 4.02.3
Fixed in version: 4.03.0+dev / +beta1
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: @gasche @yallop
Bug description
Ocamllex produces broken code for the example available at http://caml.inria.fr/pub/docs/manual-ocaml/lexyacc.html#ss%3Arefill-handlers.
Steps to reproduce
Note that ocamllex actually succeeds but ocamlc fails with an error :
File "test.ml", line 152, characters 9-55:
Error: This expression has type token M.t
but an expression was expected of type 'a -> 'b M.t
Command exited with code 2.
Additional information
Same issue with ocaml 4.02.1.
The text was updated successfully, but these errors were encountered: