Add the tiger source code bundle from the book site
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
915660c8a7
commit
33d8bac511
87 changed files with 3252 additions and 0 deletions
10
tiger/testcases/test28.tig
Normal file
10
tiger/testcases/test28.tig
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue