We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
construct
For a given code:
type my_type = A | B | C | D let x = (_ : my_type)
running construct on a hole:
ocamlmerlin single construct -position 3:9
returns results in reversed order:
[...] "value":[{"start":{"line":3,"col":9},"end":{"line":3,"col":10}},["D","C","B","A"]] [...]
I think it would be a better UX, to have type constructors ordered the same as in declaration.
The text was updated successfully, but these errors were encountered:
Do you want to have a go at it ? We should also add a test for it that is not in alphabetical order.
Sorry, something went wrong.
@voodoos , sure! I have modified order in already existing tests and added a new explicit one. :)
Should this issue be closed, now that #1603 has been merged?
No branches or pull requests
For a given code:
running construct on a hole:
returns results in reversed order:
I think it would be a better UX, to have type constructors ordered the same as in declaration.
The text was updated successfully, but these errors were encountered: