diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-10-08 22:09:01 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-10-09 09:41:34 +0200 |
commit | 7e4a97e532a9adcd0a6d014d948702aebec3541f (patch) | |
tree | 0aa8d4b58c2b3dc97c7cfb3a9aae2f3c16eea732 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala | |
parent | d0af55ce1ffb9d77e6a604edb41cda2b955e9f02 (diff) | |
download | scala-7e4a97e532a9adcd0a6d014d948702aebec3541f.tar.gz scala-7e4a97e532a9adcd0a6d014d948702aebec3541f.tar.bz2 scala-7e4a97e532a9adcd0a6d014d948702aebec3541f.zip |
SI-7895 Issue all buffered errors after silent mode.
Rather than just the first.
For example, `foo(wizzle, wuzzle, woggle)` should report all three
not-found symbols.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Contexts.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala index abc5363423..5e5619d034 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala @@ -329,6 +329,7 @@ trait Contexts { self: Analyzer => /** The first error, if any, in the report buffer */ def firstError: Option[AbsTypeError] = reportBuffer.firstError + def errors: Seq[AbsTypeError] = reportBuffer.errors /** Does the report buffer contain any errors? */ def hasErrors = reportBuffer.hasErrors |