diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2014-11-29 03:44:05 +0100 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2015-03-26 03:13:21 +0100 |
commit | e5bfc1c097e8dea9e0643e4a43743196209e9ba8 (patch) | |
tree | 7bf873964861d9976f57a776bfc938572cad34f6 /src/compiler/scala/tools/nsc/ast | |
parent | 4a3e9372363194560bbe0c04aec2108953ea89dd (diff) | |
download | scala-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/ast')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/Trees.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/Trees.scala b/src/compiler/scala/tools/nsc/ast/Trees.scala index 3a502bdb7a..934257092f 100644 --- a/src/compiler/scala/tools/nsc/ast/Trees.scala +++ b/src/compiler/scala/tools/nsc/ast/Trees.scala @@ -308,7 +308,7 @@ trait Trees extends scala.reflect.internal.Trees { self: Global => // Erasing locally-defined symbols is useful to prevent tree corruption, but erasing external bindings is not, // therefore we want to retain those bindings, especially given that restoring them can be impossible // if we move these trees into lexical contexts different from their original locations. - if (dupl.hasSymbol) { + if (dupl.hasSymbolField) { val sym = dupl.symbol val vetoScope = !brutally && !(locals contains sym) && !(locals contains sym.deSkolemize) val vetoThis = dupl.isInstanceOf[This] && sym.isPackageClass |