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
Please improve error reporting. For instance,
coh comp (x : *) (y : *) (f : x -> y) (z : *) (g : y -> z) : x -> z. let test (x : *) (y : *) (f : x -> y) = comp f f.
results in
=^.^= let comp = x -> z =I.I= defined. Fatal error: exception Common.NotEqual("x", "y")
I would expect the line and character number of the error and the fact that the second f is expected to be of type y -> ... but is of type x -> y.
f
y -> ...
x -> y
The text was updated successfully, but these errors were encountered:
Another one:
coh comp (x : *) (y : *) (f : x -> y) (z : *) (g : y -> z) : x -> z. coh test (x : *) (x : *) (f : x -> y) : comp f f -> f.
gives
=^.^= let comp = x -> z =I.I= defined. =^.^= let test = (comp f f) -> f Fatal error: exception Common.DoubleDef("x")
Sorry, something went wrong.
No branches or pull requests
Please improve error reporting. For instance,
results in
I would expect the line and character number of the error and the fact that the second
f
is expected to be of typey -> ...
but is of typex -> y
.The text was updated successfully, but these errors were encountered: