about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-22 00:30:28 +0100
committerBaitinq <[email protected]>2025-01-22 00:30:59 +0100
commit774498ff4db405eadd8ce295eb699586ed217f6d (patch)
tree106c0926321316cac67d57ea94df8444fd0b3f8f /examples
parentFeature: Add support for division and multiplication (diff)
downloadpry-lang-774498ff4db405eadd8ce295eb699586ed217f6d.tar.gz
pry-lang-774498ff4db405eadd8ce295eb699586ed217f6d.tar.bz2
pry-lang-774498ff4db405eadd8ce295eb699586ed217f6d.zip
Feature: Add support for negation
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 9bb3c73..9846af5 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,7 +1,7 @@
 let main = () => {
 	let i = 4;
 	
-	if (1 - 1 * 2) == 5 - (10 / 2) - 1 {
+	if (1 - -1 * 2) == 5 - (10 / 2) + 3 {
 		print(i);
 		return i;
 	};