diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-21 14:47:59 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:10 +0200 |
commit | f827882850754ba7862a1ff1615d78b350cf56cb (patch) | |
tree | 6ede26bbf347e52d92458396d22548cc01b7ca98 /compiler/src/dotty/tools/dotc/core/NameOps.scala | |
parent | efb5fa4fb946db7a2543ac60b613117828a92990 (diff) | |
download | dotty-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.scala | 1 |
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) |