summaryrefslogtreecommitdiff
path: root/test/files/run/t7319.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7499 Additional test case for SI-7319Jason Zaugg2013-05-211-0/+1
| | | | From a duplicate ticket.
* SI-7319 Clear error buffer during Typer reset.Jason Zaugg2013-04-151-0/+13
Contexts share error/warning buffers with their children, and this also applies ot the shared `startContext`. That context flushes the buffers in `startContext` in `resetContexts`. It also removes `typerReportAnyContextErrors`, which appears to be an elaborate no-op. It is only ever passed a context `c` which is a direct child of `this.context`. So taking a buffered error out of `c` and reissuing it into `this.context` merely re-inserts into into the same error buffer. Consrast this with `silent`, which uses a child context with a fresh error buffer. SI-7319 Flush error buffer in typerReportAnyContextErrors. After this change, we no longer rely on the backstop in resetContexts introduced in the previous commit.