Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocaml doesn't respect [@@@warning] #7119

vicuna opened this issue Jan 7, 2016 · 1 comment

ocaml doesn't respect [@@@warning] #7119

vicuna opened this issue Jan 7, 2016 · 1 comment


Copy link

@vicuna vicuna commented Jan 7, 2016

Original bug ID: 7119
Reporter: @Drup
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2017-09-24T15:31:44Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @Drup @hcarty

Bug description

This is reproducible both in 4.02.3 and trunk.

In this piece of code:

[@@@warning "-3"]
let x = String.set "a" 0 'a'

"ocamlc" reports no warning.
"ocaml" reports a warning.

Copy link

@vicuna vicuna commented Jan 8, 2016

Comment author: @alainfrisch

Thanks for the report. Fixed by commit b626516 on trunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants