Open GoogleCodeExporter opened 9 years ago
Hi Kannan,
thanks for this report!
This is an unfortunate limitation of our current flow framework. See the last
comment in Issue 266:
https://code.google.com/p/checker-framework/issues/detail?id=266
The work-around suggested there is to introduce a final local variable.
Would such a work-around be impractical?
We should definitely add a note to the manual/faq about this.
Original comment by wdi...@gmail.com
on 18 Dec 2013 at 2:17
The local variable workaround is good enough for my case.
Documenting this limitation would be nice, but it seems hard for a user like me
to find the relevant docs. Is it feasible to notice when the extra information
is being thrown away and mention this fact in the error message? Maybe
something like "some type information was lost, see https://blah/blah for more
information".
Original comment by kan...@cakoose.com
on 18 Dec 2013 at 2:34
Original issue reported on code.google.com by
kan...@cakoose.com
on 18 Dec 2013 at 1:39