mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2025-01-04 10:45:11 +03:00
99dac56e1e
i.e. if an argument has a polymorphic type, we shouldn't allow a concrete type in its place
11 lines
508 B
Plaintext
11 lines
508 B
Plaintext
Processing as TTImp
|
|
Written TTC
|
|
Yaffle> Bye for now!
|
|
Processing as TTImp
|
|
Vect2.yaff:25:1--26:1:pat 0 {b:27} : Type => pat 0 {a:26} : Type => ($resolved95 {b:27}[1] {a:26}[0] $resolved77 ($resolved86 {a:26}[0]) ($resolved86 {b:27}[1])) is not a valid impossible pattern because it typechecks
|
|
Yaffle> Bye for now!
|
|
Processing as TTImp
|
|
Vect3.yaff:25:1--26:1:Not a valid impossible pattern:
|
|
Vect3.yaff:25:9--25:11:Type mismatch: $resolved76 and ($resolved84 ?Main.{n:21}_[] ?Main.{b:19}_[])
|
|
Yaffle> Bye for now!
|