aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/NameOps.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-21 14:47:59 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commitf827882850754ba7862a1ff1615d78b350cf56cb (patch)
tree6ede26bbf347e52d92458396d22548cc01b7ca98 /compiler/src/dotty/tools/dotc/core/NameOps.scala
parentefb5fa4fb946db7a2543ac60b613117828a92990 (diff)
downloaddotty-f827882850754ba7862a1ff1615d78b350cf56cb.tar.gz
dotty-f827882850754ba7862a1ff1615d78b350cf56cb.tar.bz2
dotty-f827882850754ba7862a1ff1615d78b350cf56cb.zip
Add derived name machinery
Add machinery to define and hash cons derived names.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/NameOps.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/NameOps.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/NameOps.scala b/compiler/src/dotty/tools/dotc/core/NameOps.scala
index 240ad359b..a6e5fefc7 100644
--- a/compiler/src/dotty/tools/dotc/core/NameOps.scala
+++ b/compiler/src/dotty/tools/dotc/core/NameOps.scala
@@ -65,7 +65,6 @@ object NameOps {
def isConstructorName = name == CONSTRUCTOR || name == TRAIT_CONSTRUCTOR
def isStaticConstructorName = name == STATIC_CONSTRUCTOR
- def isExceptionResultName = name startsWith EXCEPTION_RESULT_PREFIX
def isImplClassName = name endsWith IMPL_CLASS_SUFFIX
def isLocalDummyName = name startsWith LOCALDUMMY_PREFIX
def isLoopHeaderLabel = (name startsWith WHILE_PREFIX) || (name startsWith DO_WHILE_PREFIX)