Compiler error: success on binary + with single value
Posted: Tue Dec 27, 2011 8:14 pm
This successfully compiles (and shouldnt):
With listfile:
With runecl output:
Code: Select all
program p()
f(1,2+,3);
endprogram
function f(a, b, c)
endfunction
Code: Select all
test.src, Line 130
program p()
f(1,2+,3);
0: 3L
1: 3L
2: makelocal
3: jmp userfunc @6
4: #
5: progend
test.src, Line 132
function f(a, b, c)
6: pop param 'c'
7: pop param 'b'
8: pop param 'a'
9: 0L
10: returnCode: Select all
Fatal error: Value Stack Empty!
test.ecl, PC=9