You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
compiler_proj2/examples/valid_loop.scala

8 lines
80 B

1 year ago
var x = 2;
var y = 0;
while (y < 3) {
val dummy = x = x * x;
y = y + 1
};
x