blob: 9a52d8de39f251181bb66ea6953bdc51c3f3d6a5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* 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
|