heptagon/test/good/flatten.ept
Léonard Gérard 8f4411e145 Recursives Qualnames.
In order to have a correct handling of inner classes in Java, and to prepare for modules inside modules.
2011-02-07 14:24:17 +01:00

18 lines
239 B
Plaintext

node f(x,y : int; b : bool) returns (z : int)
var t : int;
let
do
var t2,t22 : int; in
t2 = if b then 0 else t22;
do
var t3 : int; in
t3 = y + t;
t22 = t3;
done;
t = x + t2;
done;
z = t;
tel