
Код:
public class NewClass {
private var v:Vector.<Sprite> = new Vector.<Sprite>();
public function NewClass() {
test(v);
}
private function test(value:Vector.<DisplayObject>):void {
}
}
Ошибка:
Error: Implicit coercion of a value of type __AS3__.vec:Vector.<flash.display:Sprite> to an unrelated type __AS3__.vec:Vector.<flash.display

isplayObject>.
Лажа ведь? Почему?!