Idris2/tests/idris2/warning002/Main.idr

20 lines
317 B
Idris
Raw Normal View History

2021-11-17 13:41:03 +03:00
module Main
import Foo
testConstValue1 : String
testConstValue1 = dep1
testConstValue2 : String
testConstValue2 = dep2
testFunctionPass : String -> String
testFunctionPass = dep3
testErasedFunction : List Int -> Foo.foo Int
testErasedFunction xs = xs
0 testInErasedContext : Type
testInErasedContext = foo Int