Fix give expressions

This commit is contained in:
Ginger Bill committed 2016-12-30 22:52:43 +00:00
1 parent 6748f305db
commit 0c6775ca14
7 files changed
+189 -135

No files matched your search

+4 -5
View File
@@ -12,11 +12,10 @@ import {
}
proc main() {
var cond = true;
var msg = if cond {
give "hello";
var x = if false {
give 123;
} else {
give "goodbye";
give 321;
};
fmt.println(msg);
fmt.println(x);
}