summaryrefslogtreecommitdiff
path: root/examples/helloWorld.nya
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 16:54:54 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 16:54:54 -0500
commitc658b86a0770ba99c51bdf4e2df9544363468253 (patch)
treec7dc0b3f340f818b364b322200d9cc9d92460fd2 /examples/helloWorld.nya
parent2c44d648157a6dbfd847e939016316032c6742a4 (diff)
downloadcalico-c658b86a0770ba99c51bdf4e2df9544363468253.tar.gz
Updated to zig 0.15.1 -- BREAKING
Diffstat (limited to 'examples/helloWorld.nya')
-rw-r--r--examples/helloWorld.nya5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/helloWorld.nya b/examples/helloWorld.nya
index 625860c..b8048db 100644
--- a/examples/helloWorld.nya
+++ b/examples/helloWorld.nya
@@ -1,8 +1,5 @@
import fn puts(str: [u8]) -> i32;
fn main() -> i32 {
- varbl: i32 pog = puts("Hello World!");
- pog = 8;
- const value = pog;
- return value;
+ return puts("Hello World!\n");
}