[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #31355] warn-access-unknown-field
From: |
Per Bothner |
Subject: |
[Bug-kawa] [bug #31355] warn-access-unknown-field |
Date: |
Thu, 21 Oct 2010 06:13:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7 |
Update of bug #31355 (project kawa):
Status: None => Fixed
Assigned to: None => bothner
_______________________________________________________
Follow-up Comment #2:
The problem was that <list> is a special kind of type - a LangObjType rather
than a regular ClassType, and the code didn't handle LangObjType as it should.
I checked in a fix for this.
We now get:
/tmp/sl.scm:2:3: no slot `car' in list
Which catches an error - the specification should be <pair>, not <list>.
It would probably make sense to have this be controlled by an option, perhaps
--warn-unknown-member. Probably the default should be on. Should it be an
error by default? This shoudl be re-considered, next release.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31355>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/