package {
import flash.display.Sprite;
public class test2 extends Sprite {}
}
class A {
}
class B {
privatevar foo:String = "a";
privatevar bar:String = "b";
}
var a:A = new A();
Haven't added a Flex facet, just opened a .as file that's part of a Java project.
The string literal "a" seems to be treated as a reference to variable a.
Perhaps this is by design (and inherited from the 'classic' JavaScript language plugin)?
Description
package {
import flash.display.Sprite;
public class test2 extends Sprite {}
}
class A {
}
class B {
privatevar foo:String = "a";
privatevar bar:String = "b";
}
var a:A = new A();
Haven't added a Flex facet, just opened a .as file that's part of a Java project.
The string literal "a" seems to be treated as a reference to variable a.
Perhaps this is by design (and inherited from the 'classic' JavaScript language plugin)?