Ok, reduced to bare bones and it's still there:

package {
   public interface ITest extends IList, ICollectionView {
       function get blah():int;
   }
}

in bare WindowedApplication
// tied to initialization event

private function init():void {
  // obvious runtime error, but exposes the compiler issue
  var x:ITestMe;
  var y:int = x.length;
}

--- In [email protected], "jimmy5804" <jimmy5...@...> wrote:
>
> Yeah, I know. First thing I did was to check out the
> ListCollectionView code, but didn't see anything obviously special. I
> made a test interface stripped down to basics that was just IList,
> ICollectionView and one other random property and I still get the
> error. I'm not really sure what's up. I'll keep at it and post if I
> figure it out.
> 
> --- In [email protected], Alex Harui <aharui@> wrote:
> >
> > Our code (ListCollectionView.as) gets away with this.  Comment out
> various sections of code to see if you can isolate the problem.  Maybe
> you have a private length as well?
> > 
> > From: [email protected] [mailto:[email protected]]
> On Behalf Of jimmy5804
> > Sent: Tuesday, December 16, 2008 8:25 AM
> > To: [email protected]
> > Subject: [flexcoders] Overlapping interfaces
> > 
> > 
> > I have a custom class that wants to expose IList and ICollectionView.
> > Both interfaces define the length parameter and I get an "ambiguous
> > renference to length" error when I try to access length. I believe
> > this is essentially a namespace issue, but I don't know how to solve
> > it. Suggestions?
> >
>


Reply via email to