Skip to content
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

Case splitting fails in parameterized module #3919

Closed
andreasabel opened this issue Jul 15, 2019 · 1 comment
Closed

Case splitting fails in parameterized module #3919

andreasabel opened this issue Jul 15, 2019 · 1 comment
Assignees
Labels
parameters Module parameters regression in 2.6.0 Regression that first appeared in Agda 2.6.0 type: bug Issues and pull requests about actual bugs ux: case splitting Issues relating to the case split ("C-c C-c") command ux: interaction Issues to do with interactive development (holes, case splitting, etc)
Milestone

Comments

@andreasabel
Copy link
Member

open import Agda.Builtin.Bool
open import Agda.Builtin.Equality

module _ (A : Set) where

test : {a b : Bool}  a ≡ b
test = {!b!}  -- Splitting on a works, splitting on b fails

Attempt to split on b gives Cannot split on module parameter b.

@andreasabel andreasabel added type: bug Issues and pull requests about actual bugs ux: case splitting Issues relating to the case split ("C-c C-c") command ux: interaction Issues to do with interactive development (holes, case splitting, etc) labels Jul 15, 2019
@andreasabel andreasabel added this to the 2.6.1 milestone Jul 15, 2019
@andreasabel andreasabel self-assigned this Jul 15, 2019
@andreasabel andreasabel added the regression in 2.6.0 Regression that first appeared in Agda 2.6.0 label Jul 15, 2019
@andreasabel
Copy link
Member Author

Twin issue: #3095.

@andreasabel andreasabel added the parameters Module parameters label Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parameters Module parameters regression in 2.6.0 Regression that first appeared in Agda 2.6.0 type: bug Issues and pull requests about actual bugs ux: case splitting Issues relating to the case split ("C-c C-c") command ux: interaction Issues to do with interactive development (holes, case splitting, etc)
Projects
None yet
Development

No branches or pull requests

1 participant