From 30b67fec542e0d6a921b5bf51c9cd3033a440b84 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Mon, 24 Nov 2025 23:55:33 -0700 Subject: [PATCH] compiler now on par with where it was in the v1 version --- libs/compiler/test_files/math.slang | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/compiler/test_files/math.slang b/libs/compiler/test_files/math.slang index 2fa5adc..1d9adb2 100644 --- a/libs/compiler/test_files/math.slang +++ b/libs/compiler/test_files/math.slang @@ -1,7 +1,7 @@ fn addTemperatures(temp1, temp2) { - let toReturn = temp1 + temp2; + return temp1 + temp2; }; -addTemperatures(15c, 120c); -addTemperatures(1500f, 20c); +let newTemp1 = addTemperatures(15c, 120c); +let newTemp2 = addTemperatures(50c, 20c);