为什么这会在 Flash Builder 中产生错误?:
package {
public class Foo {
override public function toString():String {
return "Foo";
}
}
}
选项卡完成表明这可用于覆盖...
错误信息:
Multiple markers at this line:
-public
-1020: Method marked override must override another method.
-overridesObject.toString