Trying to benefit from exception transparency

Florian Weimer fweimer at bfk.de
Tue Aug 10 03:51:29 PDT 2010


* Maurizio Cimadamore:

> The NPE is obviously a bug; the target type is required in this case
> as you are accessing a member of 'this' (whose type is the very type
> that needs to be inferred).

Then there's another bug.  I've got code which accesses a member of
"this" without specifying the target type (but with Exception inferred
as the exception).

I also don't see why specifying the target type should be necessary in
this case.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


More information about the lambda-dev mailing list