aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/NameOps.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-09-05 11:51:14 +0200
committerMartin Odersky <odersky@gmail.com>2016-10-02 16:11:21 +0200
commit1d932642eaed2ec9829be951f3272d32b4393a39 (patch)
tree6e7263cc14896b604d0522f01c73644f6d54ea54 /src/dotty/tools/dotc/core/NameOps.scala
parent0bd955e7780c95d41a0b6c4b7ca221f00e3cfd92 (diff)
downloaddotty-1d932642eaed2ec9829be951f3272d32b4393a39.tar.gz
dotty-1d932642eaed2ec9829be951f3272d32b4393a39.tar.bz2
dotty-1d932642eaed2ec9829be951f3272d32b4393a39.zip
Handle outer this in Inliner
Also, do some refactorings and fix some bugs in Inliner.
Diffstat (limited to 'src/dotty/tools/dotc/core/NameOps.scala')
-rw-r--r--src/dotty/tools/dotc/core/NameOps.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala
index ea255e5b3..ddb0421bb 100644
--- a/src/dotty/tools/dotc/core/NameOps.scala
+++ b/src/dotty/tools/dotc/core/NameOps.scala
@@ -84,6 +84,7 @@ object NameOps {
name.stripAnonNumberSuffix endsWith MODULE_VAR_SUFFIX
def isSelectorName = name.startsWith(" ") && name.tail.forall(_.isDigit)
def isLazyLocal = name.endsWith(nme.LAZY_LOCAL)
+ def isOuterSelect = name.endsWith(nme.OUTER_SELECT)
/** Is name a variable name? */
def isVariableName: Boolean = name.length > 0 && {