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] |
According to Kawa's documentation, (despite it may not be very clear here to newbie programmers) define-alias is for aliasing Java Classes or Java Packages (aka "locations") NOT numerical constants.
However, using define-constant may be preferable as a matter of style. That also seems to avoid the VerifyError you mentioned when using define. (Though a VerifyError is of course definitely a compiler bug.) -- --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] |