Fix grammar - allow empty set of record fields
[tiger.ml.git] / compiler / testcases / test23.tig
... / ...
CommitLineData
1/* error : type mismatch */
2
3let
4 type rectype = {name:string , id:int}
5 var rec1 := rectype {name="aname", id=0}
6in
7 rec1.name := 3;
8 rec1.id := ""
9end
This page took 0.025323 seconds and 4 git commands to generate.