diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-07-17 12:47:40 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-07-18 15:49:19 +0200 |
commit | 9707e1df533dd678531c653f5ddedda59df5ce9c (patch) | |
tree | 2922906b102f0d386f26d9310223b14d1a2c7a40 /src/compiler/scala/tools/nsc/typechecker/Infer.scala | |
parent | 258d95c7b1528a84514a6a609a356be840322e9b (diff) | |
download | scala-9707e1df533dd678531c653f5ddedda59df5ce9c.tar.gz scala-9707e1df533dd678531c653f5ddedda59df5ce9c.tar.bz2 scala-9707e1df533dd678531c653f5ddedda59df5ce9c.zip |
s/reportBuffer/reporter
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Infer.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index 69ac9ea61e..535aaffbbf 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -779,7 +779,7 @@ trait Infer extends Checkable { def applicableExpectingPt(pt: Type): Boolean = { val silent = context.makeSilent(reportAmbiguousErrors = false) val result = newTyper(silent).infer.isApplicable(undetparams, ftpe, argtpes0, pt) - if (silent.reportBuffer.hasErrors && !pt.isWildcard) + if (silent.reporter.hasErrors && !pt.isWildcard) applicableExpectingPt(WildcardType) // second try else result |