11 lines
275 B
Text
11 lines
275 B
Text
/* 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
|