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]

location on define-constant


I just discovered that it is impossible to get a location on a
variable defined using define-constant.
Is there another way to pass a reference of such a variable then?

(define-constant myint 12)
(define myint-loc
  (location myint))

java.lang.ClassCaseException: gnu.math.IntNum cannot be cast to
gnu.mapping.Location


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