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: help creating instance of nested class


Luis Casillas wrote:
Sorry, I got that wrong. Let me try again:

  (define me (<john.MyStruct>:new))
  (define you (<john.MyStruct$MyMember>:new me 1 2 3))

What I'd like to have work is:


(define me (john.MyStruct 10))

That works, assuming the MyStruct constructor is public.

(define you (me:MyMember 1 2 3))

But Kawa doesn't find the "MyMember" member.
This should be fixable my using the Class.getDeclareClasses method.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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