yishayw opened a new issue #176:
URL: https://github.com/apache/royale-compiler/issues/176
If you look at ListCollectionView.js you'll see
```
mx.collections.ListCollectionView.prototype.get__length = function() {
if (this.localIndex) {
return (this.localIndex.length) >> 0;
} else if (this.list) {
return this.list.length;
} else {
return 0;
}
};
```
As an output of
```
public function get length():int
{
if (localIndex)
{
return localIndex.length;
}
else if (list)
{
return list.length;
}
else
{
return 0;
}
}
```
The added >> 0 skews the real length (e.g. giving -2 instead of 0)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]