From 9428fceb0cacf5ff9e19116de658bcffb98efc6f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 9 Mar 2019 00:43:13 +0100 Subject: Add check for duplicate variable names --- tests/main.amal | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/main.amal') diff --git a/tests/main.amal b/tests/main.amal index a7b4576..786724c 100644 --- a/tests/main.amal +++ b/tests/main.amal @@ -10,6 +10,7 @@ const main = fn { const num2 = 23232; const num3 = num1 + num2 * 30; const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345); + const num4 = 23; } const print = fn { -- cgit v1.2.3