diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-13 14:58:26 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-17 18:34:27 +0100 |
commit | 6eb1a72bce041d4fd8519713031894dac3192025 (patch) | |
tree | 61909b6fcab49b310b9d4f3f82e66fe82f772798 /compiler/src/dotty/tools/dotc/core/StdNames.scala | |
parent | 5e2f7d18d711814cecce62a4bd7315a26a5efb87 (diff) | |
download | dotty-6eb1a72bce041d4fd8519713031894dac3192025.tar.gz dotty-6eb1a72bce041d4fd8519713031894dac3192025.tar.bz2 dotty-6eb1a72bce041d4fd8519713031894dac3192025.zip |
New ShortcutImplicits phase
Optimizes implicit closures by avoiding closure
creation where possible.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/StdNames.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/StdNames.scala b/compiler/src/dotty/tools/dotc/core/StdNames.scala index adcb15242..716959648 100644 --- a/compiler/src/dotty/tools/dotc/core/StdNames.scala +++ b/compiler/src/dotty/tools/dotc/core/StdNames.scala @@ -129,6 +129,7 @@ object StdNames { val COMPANION_MODULE_METHOD: N = "companion$module" val COMPANION_CLASS_METHOD: N = "companion$class" val TRAIT_SETTER_SEPARATOR: N = "$_setter_$" + val DIRECT_SUFFIX: N = "$direct" // value types (and AnyRef) are all used as terms as well // as (at least) arguments to the @specialize annotation. |