about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-19 23:40:05 +0100
committerBaitinq <[email protected]>2025-01-19 23:40:05 +0100
commit32b390720a9e0ec2ced0f1be88b5065a59835ffa (patch)
tree3d15851970de503613be095b25b7b4d2753b06fa /examples
parentBug: Fix bug with accept_parse (diff)
downloadpry-lang-32b390720a9e0ec2ced0f1be88b5065a59835ffa.tar.gz
pry-lang-32b390720a9e0ec2ced0f1be88b5065a59835ffa.tar.bz2
pry-lang-32b390720a9e0ec2ced0f1be88b5065a59835ffa.zip
Start working on proper operator precedence
Diffstat (limited to 'examples')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index b96cba8..3bb1b91 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,7 +1,7 @@
 let main = () => {
 	let i = 4;
 	
-	if i + 1 == 5 {
+	if i + 1 == 5 - (1 + 1) {
 		print(i);
 		return i;
 	};