module Main
import Data.SortedMap
e : SortedMap Unit Int
e = empty
public export
main : IO ()
main = print e
Expected Behavior
idris --repl aio.ipkg with :exec main should print fromList []
Observed Behavior
:exec main prints
Exception: attempt to reference unbound identifier DataC-45SortedMapC-45Dependent-toList at line 640, char 140 of build/exec/_tmpchez_app/_tmpchez.ss
Curiously idris2 --find-ipkg src/Main.idr with :exec main works fine. The ipkg looks fine to me though.
Steps to Reproduce
Expected Behavior
idris --repl aio.ipkg
with:exec main
should printfromList []
Observed Behavior
:exec main
printsException: attempt to reference unbound identifier DataC-45SortedMapC-45Dependent-toList at line 640, char 140 of build/exec/_tmpchez_app/_tmpchez.ss
Curiously
idris2 --find-ipkg src/Main.idr
with:exec main
works fine. The ipkg looks fine to me though.