Fix give expressions

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

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);
}