modern-compiler-ml/tiger/testcases/test28.tig
jmug 33d8bac511 Add the tiger source code bundle from the book site
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2024-12-18 15:18:45 -08:00

10 lines
188 B
Text

/* error : different record types */
let
type rectype1 = {name:string , id:int}
type rectype2 = {name:string , id:int}
var rec1: rectype1 := rectype2 {name="Name", id=0}
in
rec1
end