Re: [Ikvm-developers] Type mapping & interface inheritance question
Brought to you by:
jfrijters
|
From: David J. <ju...@or...> - 2004-09-12 17:31:42
|
Jeroen Frijters wrote: >Hi David, > >Thanks for the repro. > >It's an mcs bug. It doesn't handle interfaces that indirectly extend >other interfaces. I've attached a repro that doesn't involve ikvm. The >commented out line in bug.il shows the difference between the mcs >generated IB interface and the ikvm generated one. mcs lists all >implemented interfaces explicitly (and depends on this when compiling >against other code), but ikvm doesn't do this (and this is perfectly >legal). > > > Jeroen, OK. I'd figured out that mcs was listing all the interfaces - as I can work around the problem by explicitly listing the extras in the C# decl. I had a quick scan of the Ecma335 spec., and it seemed to be pretty unclear on the issue. However, I though that the way mcs does it was a reasonable interpretation of the spec., but I'm no expert (and as I said its not very clear anyway). So, if you or someone hasn't already, I'll file an mcs bug report and see what comes of it. Thanks, -David. |