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 doesn't work with multiple lines definitions #1146

Open
GoogleCodeExporter opened this issue Aug 8, 2015 · 2 comments
Open
Labels
syntax Bike-shedding of the surface syntax type: bug Issues and pull requests about actual bugs ux: case splitting Issues relating to the case split ("C-c C-c") command ux: emacs Issues relating to the Emacs agda2-mode ux: interaction Issues to do with interactive development (holes, case splitting, etc)
Milestone

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Aug 8, 2015

The following code

module Bug where

data Foo : Set where
  a : Foo
  b : Foo

bar : Foo  Set
bar
  X = {!!} 

gives the following when we ask for a case split on X :

bar : Foo  Set
bar
  bar a = ?
  bar b = ?

This is strongly related to issue #575
(http://code.google.com/p/agda/issues/detail?id=575)

Original issue reported on code.google.com by fafounet@gmail.com on 23 May 2014 at 12:42

@GoogleCodeExporter
Copy link
Author

Original comment by andres.s...@gmail.com on 15 Jun 2014 at 3:38

  • Added labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Aug 8, 2015

The problem here is that a fix would require more elisp hacking than anyone on
the team is willing to endure. Patches are welcome.

Original comment by ulf.nor...@gmail.com on 20 Aug 2014 at 7:10

  • Added labels: Priority-Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syntax Bike-shedding of the surface syntax type: bug Issues and pull requests about actual bugs ux: case splitting Issues relating to the case split ("C-c C-c") command ux: emacs Issues relating to the Emacs agda2-mode ux: interaction Issues to do with interactive development (holes, case splitting, etc)
Projects
None yet
Development

No branches or pull requests

3 participants