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

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

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

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jan 8, 2016

Comment author: @alainfrisch

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

@vicuna vicuna closed this Sep 24, 2017

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.