about summary refs log tree commit diff
path: root/examples/6.5.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-02-11 00:48:21 +0100
committerBaitinq <[email protected]>2025-02-11 00:48:21 +0100
commit2e3adee5136ca5c2da2228ce8685010fb0e40451 (patch)
tree5cdb307792e0cf63b5a77367d51f06ebdc4d7871 /examples/6.5.src
parentCodegen: Fix generating binop expressions (diff)
downloadpry-lang-2e3adee5136ca5c2da2228ce8685010fb0e40451.tar.gz
pry-lang-2e3adee5136ca5c2da2228ce8685010fb0e40451.tar.bz2
pry-lang-2e3adee5136ca5c2da2228ce8685010fb0e40451.zip
Misc: Add TODOs
Diffstat (limited to 'examples/6.5.src')
-rw-r--r--examples/6.5.src9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/6.5.src b/examples/6.5.src
index 9b8ee89..ff3e40f 100644
--- a/examples/6.5.src
+++ b/examples/6.5.src
@@ -1,8 +1,7 @@
 let main = () => {
-	let x = 1;
-	if x == 1 {
-		x = 2 + 1;
-		print(x);
+	let x = !(1 == 1);
+	if !x {
+		printb(x);
 	};
-	return x;
+	return 0;
 };