Skip to content

Commit

Permalink
Array::isValidMultiname: handle NAME_OBJECT
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre committed Oct 26, 2011
1 parent 43eaee2 commit 3c60d22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scripting/toplevel/Array.cpp
Expand Up @@ -822,6 +822,9 @@ bool Array::isValidMultiname(const multiname& name, unsigned int& index)
//TODO: check that this is really an integer
index=name.name_d;
break;
case multiname::NAME_OBJECT:
//TODO: should be use toPrimitive here?
return false;
default:
throw UnsupportedException("Array::isValidMultiname not completely implemented");
}
Expand Down

0 comments on commit 3c60d22

Please sign in to comment.