-
Notifications
You must be signed in to change notification settings - Fork 52
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
[derive.param1.trivial] Unsupported type #407
Comments
certainly a bug :-/ |
|
It looks like some symbolic |
Right, the odd thing is that the other examples do work, so in that case it does the right substitution |
See the PR I just opened. IMO the fact we use derive makes a failure go trough. Did you derive |
Or said otherwise, please help me reproduce the bug exactly |
OK, sorry for the noise, I managed to reproduce it. |
Yes, I call |
I did put the terms in the PR as comments. |
Inductive toto := | Toto : forall n, unit -> is_zero n = true-> toto.
and
Inductive toto := | Toto : forall n, is_zero n = true-> unit -> toto.
are supported by
#[only(param1_trivial)] derive toto.
whileInductive toto := | Toto : unit -> forall n, is_zero n = true -> toto.
is not.
The text was updated successfully, but these errors were encountered: