aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-26 20:54:54 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitfe9971d379766a4f7d4576495caff9ffaa80cfef (patch)
tree5a90d0f96dd5837bb6b50959e0a64df82203e748 /tests
parentc207014f81fe742675c6e869b59d09e916c69fc6 (diff)
Synchronize funccall generate. Uses correct func index now
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index 02a9c0a..f778a14 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -15,7 +15,8 @@ const main = fn {
var num1: i64;
const num2 = 23232;
const num3 = num1 + num2 * 30;
- const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345);
+ //const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345);
+ const num4 = (num1 + num2) * num3 * ((34 + 32) / 2);
// pub cost num34 = 45; // error, only declarations in global scope can be public
//const num4 = 23; // error, variable redeclaration
/*