raz
/
conform
/
err
/ StmtNotCase.raz
about
files
log
releases
feed
15 lines · 202 B ·
raw
·
history
· last change
1d7484fe
1
module
StmtNotCase;
2
type
S =
variant
3
circle(r:
F64
);
4
rect(w, h:
F64
);
5
dot;
6
end
;
7
proc
main*;
8
var
s: S;
9
begin
10
match
s
of
11
| square: s := dot;
12
|
else
:
13
end
;
14
end
;
15
end
StmtNotCase.