aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-12 18:38:27 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-12 18:38:27 +0100
commit83bad13e9e1bebd474768edf1a30e0682013149b (patch)
tree021564b818ed2257aac8492778a497fb1525fe3f /code
parente6a206a430ab034d2a1b3b60577639b75e90cbbe (diff)
Update default field value syntax; Use more declaration groupings
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/demo.odin b/code/demo.odin
index ced72b300..e72beb77f 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -14,9 +14,6 @@ import (
"utf16.odin";
)
-
proc main() {
- proc(s: string){
- fmt.println(s, "world!");
- }("Hellope");
+ fmt.println("Hellope!");
}