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
We have problem with polymorphism constraints:
let[@landmark] f : type t. t -> t = fun x -> x`
will trigger a clean but disapointing error message:
ppx_landmark: this landmark annotation requires a name argument
whereas exlicititly providing the name
let[@landmark "f"] f : type t. t -> t = fun x -> x
generates an unlocated type error after the ppx:
File "none", line 1: Error: This definition has type 't -> 't which is less general than 't0. 't0 -> 't0
The text was updated successfully, but these errors were encountered:
Non-regression test for issue #5
b68e840
Retrieve name of let-bindings under constraints
d8e2966
Related to issue #5.
Arity go throught type constraints
a8ae727
No branches or pull requests
We have problem with polymorphism constraints:
will trigger a clean but disapointing error message:
whereas exlicititly providing the name
generates an unlocated type error after the ppx:
The text was updated successfully, but these errors were encountered: