fix bug causing parser to miss new lines after let.

This commit is contained in:
2025-06-05 23:18:25 +01:00
parent 000845ab25
commit d941b88b70
4 changed files with 36 additions and 10 deletions

30
test.ar
View File

@@ -1,6 +1,26 @@
x = do
do
test
test
let a,
b = 1,
c,
d = 42,
temp_result,
compute_area(radius) = 3.1415,
identity(x) = x,
f(x),
g(y, z),
result,
z = 0,
extremely_long_variable_name_to_test_limits,
cache_value = compute_area(5),
placeholder_fn_with_no_body(arg1, arg2, arg3),
total = identity(100),
deeply_nested_args_function(arg1, arg2, arg3, arg4, arg5),
sum = a,
another,
another_function(),
just_null_here
term.log("hello world")
if (x) term.log("hello world")