Closed berewt closed 4 years ago
Dependencies are ignored when you use --find-ipkg.
--find-ipkg
test.ipkg:
test.ipkg
package test depends = contrib modules = Foo
Foo.idr:
Foo.idr
module Foo import Data.List.TailRec
$ idris2 --find-ipkg --check Foo.idr
It typechecks.
idris2 --find-ipkg --check Foo.idr (toplevel):1:1--1:1:Data.List.TailRec not found
it may be enough to load the package in the findIpkg method of Package.idr. I've tried it locally and it works. I'm going to PR the change.
findIpkg
Package.idr
Closing since @berewt's recent PR fixes this.
Dependencies are ignored when you use
--find-ipkg
.Steps to Reproduce
test.ipkg
:Foo.idr
:Expected Behavior
It typechecks.
Observed Behavior
Comments
it may be enough to load the package in the
findIpkg
method ofPackage.idr
. I've tried it locally and it works. I'm going to PR the change.