From 554ac428ede1c7a337b507a2e8b29c1671c7d2ee Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 6 Dec 2013 14:39:02 +0100 Subject: Dropping TRAIT_CONSTRUCTOR name. Trait constructors are now also called . When expanding traits we might want to use IMPLCLASS_CONSTRUCTOR. --- src/dotty/tools/dotc/core/StdNames.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/core/StdNames.scala') diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index e10758810..50e5b518b 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -218,7 +218,7 @@ object StdNames { val DEFAULT_CASE: N = "defaultCase$" val EQEQ_LOCAL_VAR: N = "eqEqTemp$" val FAKE_LOCAL_THIS: N = "this$" - val INITIALIZER: N = CONSTRUCTOR // Is this buying us something? + val IMPLCLASS_CONSTRUCTOR: N = "$init$" val LAZY_LOCAL: N = "$lzy" val LAZY_SLOW_SUFFIX: N = "$lzycompute" val LOCAL_SUFFIX: N = " " @@ -233,7 +233,6 @@ object StdNames { val REIFY_FREE_THIS_SUFFIX: N = "$this" val REIFY_FREE_VALUE_SUFFIX: N = "$value" val REIFY_SYMDEF_PREFIX: N = "symdef$" - val TRAIT_CONSTRUCTOR: N = "$init$" val MODULE_INSTANCE_FIELD: N = NameTransformer.MODULE_INSTANCE_NAME // "MODULE$" val OUTER: N = "$outer" val OUTER_LOCAL: N = "$outer " -- cgit v1.2.3