You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know there are a lot of "no such variable" errors on the issue tracker already, but the first few I looked at seemed unrelated to what I am experiencing. Here is a very minimized version of the problem I encouter:
Steps to Reproduce
In Foo.idr
module Foo
import Data.List
public export
dataFoo:Nat->TypewhereZero: Elem n [ 0 ] -> Foo n
a: Foo 0 ->Bool
a foo =case foo ofZero e =>True
Definition a is happily accepted. Now in file Bar.idr:
module Bar
import Data.List
import Foo
b: Foo 0 ->Bool
b foo =case foo ofZero e =>True
yields the following error:
Bar.idr:10:3-8:
|10|Zero e =>True|~~~~~~When checking left hand side ofBar.case block in b at Bar.idr:9:14-16:
No such variable Data.List.Elem
This error message seems really fishy to me.
The text was updated successfully, but these errors were encountered:
I know there are a lot of "no such variable" errors on the issue tracker already, but the first few I looked at seemed unrelated to what I am experiencing. Here is a very minimized version of the problem I encouter:
Steps to Reproduce
In
Foo.idr
Definition
a
is happily accepted. Now in fileBar.idr
:yields the following error:
This error message seems really fishy to me.
The text was updated successfully, but these errors were encountered: