aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-10-21 16:32:08 +0200
committerMartin Odersky <odersky@gmail.com>2014-10-26 16:24:01 +0100
commitf590cb3564e47f212ba0b8c6d69c2d0f86108de9 (patch)
tree357f5f2448c7859cf5ba0735089f04e98fe29e84 /src/dotty/tools/dotc/core/SymDenotations.scala
parent7167c225841a8261086e42e3e8721a4059a484bb (diff)
downloaddotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.tar.gz
dotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.tar.bz2
dotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.zip
Rename flag Static -> JavaStatic
Static has two meanings: In the Java sense, and in the Scala sense, where it means a member of a package or static module. The change makes it clear that the flag means Static in the Java sense.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index ae37ab87c..9a5be70d1 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -390,7 +390,7 @@ object SymDenotations {
/** Is this denotation static (i.e. with no outer instance)? */
final def isStatic(implicit ctx: Context) =
- (this is Static) || this.exists && owner.isStaticOwner
+ (this is JavaStatic) || this.exists && owner.isStaticOwner
/** Is this a package class or module class that defines static symbols? */
final def isStaticOwner(implicit ctx: Context): Boolean =