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
11
tiger/testcases/test47.tig
Normal file
11
tiger/testcases/test47.tig
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* This is legal. The second type "a" simply hides the first one.
|
||||
Because of the intervening variable declaration, the two "a" types
|
||||
are not in the same batch of mutually recursive types.
|
||||
See also test38 */
|
||||
let
|
||||
type a = int
|
||||
var b := 4
|
||||
type a = string
|
||||
in
|
||||
0
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue