Added test of multiple instanciations of same polymorphic function
This commit is contained in:
parent
224a165715
commit
96c4a2bddf
4 changed files with 64 additions and 16 deletions
|
|
@ -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 ";" ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue