diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-07-18 15:52:31 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-07-18 15:52:31 +0200 |
commit | fd9a7e3816fa60c1643349cfdfe889401bc3a111 (patch) | |
tree | 02b0e4d21a3f50e8e514d42732a49bac2607aa94 /src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | |
parent | e4287f8d6c4ab4aa6384d83b9bd47abd677402b0 (diff) | |
parent | d7c29af13c0a016365bd2c7d11f6690f8ee6ab2d (diff) | |
download | scala-fd9a7e3816fa60c1643349cfdfe889401bc3a111.tar.gz scala-fd9a7e3816fa60c1643349cfdfe889401bc3a111.tar.bz2 scala-fd9a7e3816fa60c1643349cfdfe889401bc3a111.zip |
Merge pull request #3877 from retronym/merge/2.11.x-to-2.12.x-20140714
Merge 2.11.x to 2.12.x
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala index 51dd858719..e47fdac938 100644 --- a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala +++ b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala @@ -483,7 +483,7 @@ abstract class ExplicitOuter extends InfoTransform // since we can't fix SI-4440 properly (we must drop the outer accessors of final classes when there's no immediate reference to them in sight) // at least don't crash... this duplicates maybeOmittable from constructors (acc.owner.isEffectivelyFinal && !acc.isOverridingSymbol)) { - unit.uncheckedWarning(tree.pos, "The outer reference in this type test cannot be checked at run time.") + currentRun.reporting.uncheckedWarning(tree.pos, "The outer reference in this type test cannot be checked at run time.") transform(TRUE) // urgh... drop condition if there's no accessor (or if it may disappear after constructors) } else { // println("(base, acc)= "+(base, acc)) |