mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Update test suite: - run test suite with both OG compiler and new compiler - run compiler parity test against testsuite/escript
8 lines
No EOL
204 B
Text
8 lines
No EOL
204 B
Text
// Scope08 - a variable with the same name as a function argument
|
|
// cannot be declared at the top level of the function block.
|
|
|
|
function foo(bar)
|
|
var bar; // expect compile error
|
|
endfunction
|
|
|
|
foo(4); |