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);