|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004711||OCaml||-for Camlp4 use https://github.com/ocaml/camlp4/issues||public||2009-02-05 16:12||2015-12-11 19:07|
|Assigned To||ertai|| |
|Status||closed||Resolution||no change required|| |
|Product Version||3.11.0|| |
|Target Version||Fixed in Version|| |
|Summary||0004711: Camlp4 parser fails on valid syntax|
|Description||The following preprocessor invocation will fail:|
camlp4o -printer o -str "let f ?x:_ () = ()"
Note that the previous version of camlp4o silently dropped "?x:" and only left the underscore. It seems this bug has not been correctly resolved.
Users who run into this problem should rewrite their functions to not use just the underscore. Writing e.g. "?x:_x" instead will also suppress warnings concerning unused variables, but will surprisingly work.
|Tags||No tags attached.|