about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-29 23:55:19 +0100
committerBaitinq <[email protected]>2025-01-29 23:55:19 +0100
commitc488d1a21c925ff60ddc5706f2c0991259a75cc8 (patch)
treef6d8d56644c30029505b44bd7ca8dec02a63f0df /examples
parentCodegen: Support variable reassignment (diff)
downloadpry-lang-c488d1a21c925ff60ddc5706f2c0991259a75cc8.tar.gz
pry-lang-c488d1a21c925ff60ddc5706f2c0991259a75cc8.tar.bz2
pry-lang-c488d1a21c925ff60ddc5706f2c0991259a75cc8.zip
Codegen: Support identifiers in return expressions
Diffstat (limited to 'examples')
-rw-r--r--examples/2.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/2.src b/examples/2.src
index 561d626..96b0596 100644
--- a/examples/2.src
+++ b/examples/2.src
@@ -3,7 +3,7 @@ let main = () => {
 
 	test = 7;
 
-	print(test);
+	printf(test);
 
 	return test;
 };