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

Bad state after C-c C-s (solve) #204

Open
andreasabel opened this issue Dec 16, 2024 · 0 comments
Open

Bad state after C-c C-s (solve) #204

andreasabel opened this issue Dec 16, 2024 · 0 comments

Comments

@andreasabel
Copy link

Using latest version (0.5.1) of the agda-mode, Agda 2.7.0.1, vscode 1.96.0, and this file:

data Nat : Set where
  zero : Nat
  suc : (n : Nat)  Nat

{-# BUILTIN NATURAL Nat #-}

data Fin : Nat  Set where
  zero : {n : Nat}  Fin (suc n)
  suc  : {n : Nat} (i : Fin n)  Fin (suc n)

three : Fin 5
three = suc {n = {!   !} } (suc (suc zero))

Now press C-c C-s which will put 4 in the hole, but interaction into a bad state.
It does not seem to respond to any command any more.

  • Locating the hole, pressing C-c C-. there does not update the goal buffer.
  • C-c C-l updates the goal buffer with "Loading..." which never disappears.

Only closing the goal buffer gets me out of the bad state: I can then load again with C-c C-l.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant