Closed
Description
class Test {
public static function main () {
var x = [1,2,3];
var r = x.map(function (x) return x+1); // here we use x again in different scope
r.| // completion positon
}
}
the compiler provides only Dynamic
for completion at this position. If the function parameter name x
is renamed to an unused variable like y
everything works as expected.
Activity