|
@@ -123,8 +123,11 @@ class Boot {
|
|
|
|
|
|
private static function __instanceof(o,cl) {
|
|
private static function __instanceof(o,cl) {
|
|
untyped {
|
|
untyped {
|
|
- if( __instanceof__(o,cl) )
|
|
|
|
|
|
+ if( __instanceof__(o,cl) ) {
|
|
|
|
+ if( cl == Array )
|
|
|
|
+ return ( o.__enum__ == null );
|
|
return true;
|
|
return true;
|
|
|
|
+ }
|
|
#if flash6
|
|
#if flash6
|
|
if( __interfLoop(o.__class__,cl) )
|
|
if( __interfLoop(o.__class__,cl) )
|
|
return true;
|
|
return true;
|