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
Not a splittable variable #2181
Comments
In the debug output I get
Thus, the with-variable preceeds the module parameters. The calculation which variables are interactively splittable (because not module parameters) should be more complicated now, as the module parameters can be shuffled arbitrarily into the argument vector by the with-abstraction. |
@UlfNorell: where does a function store which of its arguments are module parameters? |
Hm, that didn't quite do it: module _ (n : Nat) where
foo : (m : Nat) → n ≡ m → Nat
foo m refl = {!m!} -- not a splittable var: m In this case the value of the module parameter is |
Actually, that's not the problem. The problem is that the |
Fixing this would require a bit of work. I'll close this issue and add a fresh one for this feature. |
reports
The reported type looks also fishy. De Bruijn mess with module parameters?
Works fine with agda-2.5.1.1.
The text was updated successfully, but these errors were encountered: