[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: |
Tue, 26 Oct 2010 06:38:17 +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 |
Follow-up Comment #4, bug #31355 (project kawa):
"I think an full error is a too much in this case."
Note that it was an error in the "normal" case, even before my fix. But you
may be right.
I agree that taking instance? and similar tests into account when checking
for type errors would be highly desirable - some Scheme type-checkers do this.
I think this makes sense as part of SSA analysis, which is one my wish-list.
For Kawa 1.11 I'm leaning towards adding a --warn-unknown-member option, and
make missing field warning/errors be triggered by that warning.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31355>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/