From fe9971d379766a4f7d4576495caff9ffaa80cfef Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 26 Mar 2019 20:54:54 +0100 Subject: Synchronize funccall generate. Uses correct func index now --- tests/main.amal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/main.amal') 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 /* -- cgit v1.2.3