diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-02 18:04:05 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-02 18:04:05 +0100 |
commit | 14528228331bdb588278002208c46447e164870c (patch) | |
tree | 62e8ccdc7475c597af2f86628415ec29b90b4a2d /src/dotty/tools/dotc/reporting/Reporter.scala | |
parent | bddeaecb8f69032c5117e926ef67afc0deedd0dd (diff) | |
download | dotty-14528228331bdb588278002208c46447e164870c.tar.gz dotty-14528228331bdb588278002208c46447e164870c.tar.bz2 dotty-14528228331bdb588278002208c46447e164870c.zip |
Fixes to type applications and unapply.
Diffstat (limited to 'src/dotty/tools/dotc/reporting/Reporter.scala')
-rw-r--r-- | src/dotty/tools/dotc/reporting/Reporter.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/reporting/Reporter.scala b/src/dotty/tools/dotc/reporting/Reporter.scala index 960fddff7..72b9247c5 100644 --- a/src/dotty/tools/dotc/reporting/Reporter.scala +++ b/src/dotty/tools/dotc/reporting/Reporter.scala @@ -164,6 +164,8 @@ trait Reporting { this: Context => throw ex } } + + def errorsReported: Boolean = outersIterator exists (_.reporter.hasErrors) } /** |