aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/StdNames.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-08-22 09:27:34 +0200
committerMartin Odersky <odersky@gmail.com>2013-08-22 09:27:34 +0200
commitcbcdbd6fb8c0bf372a61b4ddd5b6ce181964776d (patch)
tree3586e93b3e71ca8f11b9b7bd7e6a80af1a226dcf /src/dotty/tools/dotc/core/StdNames.scala
parent4d8329667a71242e56907a73760f1212a96d9376 (diff)
downloaddotty-cbcdbd6fb8c0bf372a61b4ddd5b6ce181964776d.tar.gz
dotty-cbcdbd6fb8c0bf372a61b4ddd5b6ce181964776d.tar.bz2
dotty-cbcdbd6fb8c0bf372a61b4ddd5b6ce181964776d.zip
Various bug fixes for typer.
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r--src/dotty/tools/dotc/core/StdNames.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala
index 9ae4729f4..e9fea8148 100644
--- a/src/dotty/tools/dotc/core/StdNames.scala
+++ b/src/dotty/tools/dotc/core/StdNames.scala
@@ -94,7 +94,7 @@ object StdNames {
val DEFAULT_GETTER_INIT: N = encode("<init>")
val DO_WHILE_PREFIX: N = "doWhile$"
val EMPTY: N = ""
- val EMPTY_PACKAGE: N = "<empty>"
+ val EMPTY_PACKAGE: N = Names.EMPTY_PACKAGE.toString
val EVIDENCE_PARAM_PREFIX: N = "evidence$"
val EXCEPTION_RESULT_PREFIX: N = "exceptionResult"
val EXPAND_SEPARATOR: N = "$$"
@@ -212,7 +212,7 @@ object StdNames {
// Compiler-internal
val ANYname: N = "<anyname>"
- val CONSTRUCTOR: N = "<init>"
+ val CONSTRUCTOR: N = Names.CONSTRUCTOR.toString
val DEFAULT_CASE: N = "defaultCase$"
val EQEQ_LOCAL_VAR: N = "eqEqTemp$"
val FAKE_LOCAL_THIS: N = "this$"
@@ -276,8 +276,6 @@ object StdNames {
val ArrayAnnotArg: N = "ArrayAnnotArg"
val Constant: N = "Constant"
val ConstantType: N = "ConstantType"
- val EmptyPackage: N = "EmptyPackage"
- val EmptyPackageClass: N = "EmptyPackageClass"
val ExistentialTypeTree: N = "ExistentialTypeTree"
val Flag : N = "Flag"
val HigherKinded: N = "HigherKinded"