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: 4711 Reporter:@mmottl Assigned to: ertai Status: closed (set by @xavierleroy on 2015-12-11T18:07:17Z) Resolution: not a bug Priority: normal Severity: minor Version: 3.11.0 Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug 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.
The text was updated successfully, but these errors were encountered:
Original bug ID: 4711
Reporter: @mmottl
Assigned to: ertai
Status: closed (set by @xavierleroy on 2015-12-11T18:07:17Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 3.11.0
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug 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.
The text was updated successfully, but these errors were encountered: