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

Closed
vicuna opened this issue Jan 7, 2016 · 1 comment
Closed

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

vicuna opened this issue Jan 7, 2016 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

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 foo.ml" reports no warning.
"ocaml foo.ml" reports a warning.

@vicuna
Copy link
Author

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants