Idris2/tests/idris2/import002/expected

25 lines
458 B
Plaintext
Raw Normal View History

1/3: Building Nat (Nat.idr)
2/3: Building Mult (Mult.idr)
3/3: Building Test (Test.idr)
Error: While processing type of thing. Undefined name Nat.
Test.idr:5:9--5:12
2021-02-11 20:24:26 +03:00
1 | module Test
2 |
3 | import Mult
4 |
2020-07-22 22:16:43 +03:00
5 | thing : Nat -> Nat
2021-02-11 20:24:26 +03:00
^^^
Error: No type declaration for Test.thing.
Test.idr:6:1--6:28
2021-02-11 20:24:26 +03:00
2 |
3 | import Mult
4 |
5 | thing : Nat -> Nat
2020-07-22 22:16:43 +03:00
6 | thing x = mult x (plus x x)
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Test> Bye for now!