Added test of multiple instanciations of same polymorphic function

This commit is contained in:
Rakarake 2023-03-10 17:20:23 +01:00
parent 224a165715
commit 96c4a2bddf
4 changed files with 64 additions and 16 deletions

View file

@ -17,7 +17,8 @@ ELet. Exp ::= "let" Ident "=" Exp "in" Exp ;
EAbs. Exp ::= "\\" Ident "." Exp ;
ECase. Exp ::= "case" Exp "of" "{" [Inj] "}";
LInt. Literal ::= Integer ;
LInt. Literal ::= Integer ;
LBool. Literal ::= "Ture" ;
Inj. Inj ::= Init "=>" Exp ;
terminator Inj ";" ;