Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The "self" var is defined but not used within localFunction to reference class var "bar".
///// ACTIONSCRIPT /////
package {
public class foo {
internal var bar:String = "baz";
public function foo() {
function localFunction(i:int) {
if (i==0)
}
localFunction(0);
}
}
}
///// JAVASCRIPT /////
foo = function() {
var self = this;
function localFunction {
if (i == 0)
};
localFunction(0);
};