Код AS3:
package {
public class A {
static private const B:_B = new _B();
public function A() {
}
}
}
class _B {
function _B() {
}
}
Ругается на
Код AS3:
static private const B:_B = new _B();
Цитата:
[Fault] exception, information=TypeError: Error #1007: Instantiation attempted on a non-constructor.
|
Баг?