scala/scala — pull request #1125 by hubertp (2012-08-12 15:24:21+00:00)
Title: Fixes SI-6214.

addSynthetics was calling typedStat that caused flushing error buffer. Typically that would result in errors being re-added but addSynthetics was the last thing to run in typedStats.
Instead of adding yet another check I used this as an opportunity to cleanup the once necessary workaround for typing stats. Since we are now chaining buffers of contexts manual handling is no longer necessary.

Review by @odersky (I recall that you were planning to cleanup that part at some point).