Fix give expressions
This commit is contained in:
1 parent
6748f305db
commit
0c6775ca14
7 files changed
+189
-135
No files matched your search
+4
-5
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user