This website requires JavaScript.
Explore
Help
Sign In
anoma
/
juvix
Watch
1
Star
1
Fork
0
You've already forked juvix
mirror of
https://github.com/anoma/juvix.git
synced
2025-01-06 06:53:33 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
32059965a9
juvix
/
tests
/
positive
/
MicroJuvix
/
LiteralString.juvix
13 lines
115 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 23:02:03 +03:00
module LiteralString;
[test] Add test for multiple type errors Add test for literals
2022-04-04 13:21:15 +03:00
inductive A {
a : A;
};
inductive B {
b : B;
};
f : A;
f ≔ "a";
end;
Reference in New Issue
Copy Permalink