1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/tests/positive
Paul Cadman 3af9cb95ac
Restore correct handling of TypeAny and add positive typecheck tests (#34)
* [ format ] AbstractToMicroJuvix

* [ CI ] fixes

* [ CI ] fixes

* [ CI ] Using GHC 9.0 for Hlint

* [ CI ] Use static-checks for Dev as well

* [test] Add positive test for typechecker

* [test] Improve positive typechecker error output

* [typecheck] Restore correct handling of TypeAny

I mistakenly removed the matchTypes function in
https://github.com/heliaxdev/minijuvix/pull/22. This caused the handling
of TypeAny to break.

Literals have type TypeAny and so should be valid when matching against
any other type. The tests have been updated to reflect this.

* [test] Add positive MicroJuvix typecheck tests

* [ ormolu ] fixes

Co-authored-by: Jonathan Prieto-Cubides <jonathan.cubides@uib.no>
2022-04-05 22:02:03 +02:00
..
Imports [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
MicroJuvix Restore correct handling of TypeAny and add positive typecheck tests (#34) 2022-04-05 22:02:03 +02:00
MiniHaskell Adds many new features (w.i.p v0.1.2) (#28) 2022-04-01 13:00:15 +02:00
QualifiedConstructor v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
QualifiedSymbol v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
QualifiedSymbol2 v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
StdlibList/Data [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
Termination [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
VP [ CI ] New jobs: ormolu and hlint 2022-04-05 19:57:21 +02:00
Axiom.mjuvix v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
Foreign.mjuvix v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
HelloWorld.mjuvix v0.1.1 (#15) 2022-03-25 18:16:34 +01:00
Inductive.mjuvix [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
Literals.mjuvix [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
Operators.mjuvix [ pre-commit ] Add support and hooks 2022-04-04 17:44:08 +02:00
ShadowPublicOpen.mjuvix v0.1.1 (#15) 2022-03-25 18:16:34 +01:00