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

Bug: removing import doesn't lead to error #293

Open
marat-rkh opened this issue Aug 25, 2021 · 0 comments
Open

Bug: removing import doesn't lead to error #293

marat-rkh opened this issue Aug 25, 2021 · 0 comments

Comments

@marat-rkh
Copy link
Member

  1. Have the following code:
\import Algebra.Monoid
\import Arith.Nat

\func lemma (n : Nat) : 0 + n = n => zro-left
  1. Remove the second import.

Expected: Arend shows "Cannot infer instance" error for zro-left.

Actual: no errors are shown. Re-running type checking via gutter icon doesn't fix the issue. The only way to fix it is to close the project and open it again.

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

No branches or pull requests

2 participants