prc scope as an argument since 1.5.0?
janbroos opened this issue · comments
Jan Broos commented
Since CFLint 1.5.0 in comparison with 1.4.1 all the prc arguments (coldbox framework) now give a arg_var_conflict error.
Should the function:
/**
* Default Action
*/
function index( event, rc, prc ){
prc.message = "Hello From ColdBox";
event.setView( "main/index");
}
actually be build as:
/**
* Default Action
*/
function index( event, rc, prc ){
arguments.prc.message = "Hello From ColdBox";
event.setView( "main/index");
}
?