aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/StdNames.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-22 19:18:20 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commitbbc84eabcd244179299ad435b6e9d7473e5ff892 (patch)
treebda0f49b9cff4847fa174a3d52f9eb7b5806cdcc /compiler/src/dotty/tools/dotc/core/StdNames.scala
parent19bc1ff09fa73e13be7e3464b8440c04b657aa82 (diff)
downloaddotty-bbc84eabcd244179299ad435b6e9d7473e5ff892.tar.gz
dotty-bbc84eabcd244179299ad435b6e9d7473e5ff892.tar.bz2
dotty-bbc84eabcd244179299ad435b6e9d7473e5ff892.zip
Implement startsWith/encode/decode for derived names.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/StdNames.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/StdNames.scala b/compiler/src/dotty/tools/dotc/core/StdNames.scala
index e7928fd09..56f8ca189 100644
--- a/compiler/src/dotty/tools/dotc/core/StdNames.scala
+++ b/compiler/src/dotty/tools/dotc/core/StdNames.scala
@@ -92,7 +92,7 @@ object StdNames {
val BITMAP_CHECKINIT: N = BITMAP_PREFIX + "init$" // initialization bitmap for checkinit values
val BITMAP_CHECKINIT_TRANSIENT: N = BITMAP_PREFIX + "inittrans$" // initialization bitmap for transient checkinit values
val DEFAULT_GETTER: N = "$default$"
- val DEFAULT_GETTER_INIT: N = NameTransformer.encode("<init>")
+ val DEFAULT_GETTER_INIT: N = "$lessinit$greater"
val DO_WHILE_PREFIX: N = "doWhile$"
val EMPTY: N = ""
val EMPTY_PACKAGE: N = Names.EMPTY_PACKAGE.toString