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

Incorrect completion and navigation with type based disambiguation #563

Open
hackwaly opened this issue Aug 16, 2016 · 1 comment
Open
Labels

Comments

@hackwaly
Copy link

type a = {
  x: int;
}

type b = {
  x: float;
}

let f (t: a) = 
  t.x (* Here `x` *)

Type (merlin command) at x result int which is correct.
Complete or locate at x shows x belongs b and type of x is float.

@hackwaly
Copy link
Author

Another issue here: Locate at x result a location of type a, not the x field. Is this a feature or a bug?
ref: hackwaly/vscode-ocaml#50

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

3 participants