|
From: | Per Bothner |
Subject: | Re: [Kawa-commonlisp-dev] Java representation of define-class slots |
Date: | Sat, 22 Jun 2013 13:37:49 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 06/22/2013 01:09 PM, John Cowan wrote:
#|kawa:1|# (define-class foo () (x1) (x2)) #|kawa:2|# (define-class bar () (y1) (y2)) #|kawa:3|# (define-class foobar (foo bar) (z1) (z2)) /dev/stdin:3:22: invalid super type /dev/stdin:3:27: invalid super type #|kawa:4|# Replacing the empty superclass list with (<object>) doesn't help. What's that about?
This bug (which I haven't dug into) unless happens with line-at-a-time evaluation. If you wrap all 3 define-classes in a begin, or put them in a file (and evaluate without the -f flag) then it works. -- --Per Bothner address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |