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

Warning about non-fully qualified indentifier under a locally opened module #184

Open
vprevosto opened this issue May 16, 2018 · 0 comments

Comments

@vprevosto
Copy link

In the following code:

module M = struct let x = 1 end

let y = M.(x)

ocp-lint will complain that x is not fully qualified:

File "lint_qual.ml", line 3, characters 11-12:
  Warning 1: plugin_typedtree/fully_qualified_identifiers/not-qualified-enough SEVERITY 2
  external identifier "x" is not fully qualified
    (should be "M.x")

I'd argue that either no warning should be emitted at all, or that at least it should be possible to disable the emission of the warning in that case, without deactivating the whole category.

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

No branches or pull requests

1 participant