summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2014-11-29 03:44:05 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2015-03-26 03:13:21 +0100
commite5bfc1c097e8dea9e0643e4a43743196209e9ba8 (patch)
tree7bf873964861d9976f57a776bfc938572cad34f6 /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent4a3e9372363194560bbe0c04aec2108953ea89dd (diff)
downloadscala-e5bfc1c097e8dea9e0643e4a43743196209e9ba8.tar.gz
scala-e5bfc1c097e8dea9e0643e4a43743196209e9ba8.tar.bz2
scala-e5bfc1c097e8dea9e0643e4a43743196209e9ba8.zip
Deprecations: Use of isPackage, hasSymbol, getter, setter...
... replaced by hasPackageFlag, hasSymbolIn, getterIn, setterIn.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index d2931ff9e1..dfc0a433a9 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -718,7 +718,7 @@ abstract class RefChecks extends InfoTransform with scala.reflect.internal.trans
// Check the remainder for invalid absoverride.
for (member <- rest ; if (member.isAbstractOverride && member.isIncompleteIn(clazz))) {
- val other = member.superSymbol(clazz)
+ val other = member.superSymbolIn(clazz)
val explanation =
if (other != NoSymbol) " and overrides incomplete superclass member " + infoString(other)
else ", but no concrete implementation could be found in a base class"