about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-02-12 23:50:50 +0100
committerBaitinq <[email protected]>2025-02-13 00:09:32 +0100
commit8e78b9868146d688593472369c6050cdcecf2a69 (patch)
tree7b148256a634f662215cbd26105b32d63876997a /examples
parentMisc: Cleanup comments (diff)
downloadpry-lang-8e78b9868146d688593472369c6050cdcecf2a69.tar.gz
pry-lang-8e78b9868146d688593472369c6050cdcecf2a69.tar.bz2
pry-lang-8e78b9868146d688593472369c6050cdcecf2a69.zip
Codegen: Cleanup
Diffstat (limited to 'examples')
-rw-r--r--examples/2.src8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/2.src b/examples/2.src
index 561d626..a25bea5 100644
--- a/examples/2.src
+++ b/examples/2.src
@@ -1,9 +1,11 @@
 let main = () => {
 	let test = 1922;
 
-	test = 7;
+	let uwu = test;
 
-	print(test);
+	print(uwu); /* <- This is what triggers the problem */
 
-	return test;
+	return 0;
 };
+
+/* TODO */