This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wildcards in parameterized types?


On 10/06/2011 11:59 AM, Per Bothner wrote:
I think that's only part of it. The first thing IMO to "fix"
is the type of com.example.SomeClass, so that it is (in Kawa syntax)
java.lang.Class[com.example.SomeClass] so the type matches the
type of the Java expression com.example.SomeClass.class.

Attached is a patch which does this. It seems to fix the warning, in my very preliminary testing. Could you try it out and see how it works. -- --Per Bothner per@bothner.com http://per.bothner.com/

Attachment: class-lit-type.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]