repositories
/
cc1516.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8726ca
)
mend
author
pimjager
<pim@pimjager.nl>
Fri, 20 May 2016 11:10:00 +0000
(13:10 +0200)
committer
pimjager
<pim@pimjager.nl>
Fri, 20 May 2016 11:10:00 +0000
(13:10 +0200)
examples/codeGen.spl
patch
|
blob
|
history
diff --git
a/examples/codeGen.spl
b/examples/codeGen.spl
index
05773b3
..
59e6b3c
100644
(file)
--- a/
examples/codeGen.spl
+++ b/
examples/codeGen.spl
@@
-35,7
+35,7
@@
main() {
[Int] x1 = 8 : 2 : [];
(Bool, Int) z = (True, 2);
var y = z.fst;
- var x = (True, 5);
- x.snd = 8;
+ var x = (True, 5)
: (False,0) : []
;
+ x.
hd.
snd = 8;
return;
}