This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
location on define-constant
- From: Chuah Teong Leong <teongleong at gmail dot com>
- To: kawa at sourceware dot org
- Date: Mon, 6 Aug 2012 14:36:36 +0800
- Subject: 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