Code review request (original) (raw)

Original issue created by eaftan@google.com on 2012-10-01 at 10:34 PM


I fixed a bug with the compiler in the case that we are trying to scan a compilation unit that hasn't had all of its classes attributed yet.

Previously I had assumed that flow() would be called once on each class; that turns out not to be the case. We now track which classes error-prone has seen, and we only scan a compilation unit when we've seen all of its contained classes.