aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/StdNames.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-06-29 09:50:27 +0200
committerMartin Odersky <odersky@gmail.com>2016-07-11 13:35:06 +0200
commit6bd7ba9ea4484ee2065dd16077cba6c26b2050d9 (patch)
tree7b13e292f072fed02e0ba9a8a431eef92f71cf57 /src/dotty/tools/dotc/core/StdNames.scala
parenta23c1a476296a25566d7aa08de676a1217b243cb (diff)
downloaddotty-6bd7ba9ea4484ee2065dd16077cba6c26b2050d9.tar.gz
dotty-6bd7ba9ea4484ee2065dd16077cba6c26b2050d9.tar.bz2
dotty-6bd7ba9ea4484ee2065dd16077cba6c26b2050d9.zip
Remove refinement encoding of hk types
Remove the code that implemented the encoding of hk types using refinements. Drop the notion that RefinedTypes can be type parameters. This is no longer true under the new representation. Also, refactoring MemberBinding -> TypeParamInfo
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r--src/dotty/tools/dotc/core/StdNames.scala6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala
index 0adf80d8f..778d13cab 100644
--- a/src/dotty/tools/dotc/core/StdNames.scala
+++ b/src/dotty/tools/dotc/core/StdNames.scala
@@ -529,10 +529,6 @@ object StdNames {
val synthSwitch: N = "$synthSwitch"
- val hkArgPrefixOLD: N = "$hk"
- val hkArgPrefixHeadOLD: Char = hkArgPrefixOLD.head
- val hkArgPrefixLengthOLD: Int = hkArgPrefixOLD.length
-
// unencoded operators
object raw {
final val AMP : N = "&"
@@ -746,8 +742,6 @@ object StdNames {
def syntheticLambdaParamNames(num: Int): List[TypeName] =
(0 until num).map(syntheticLambdaParamName)(breakOut)
- def hkArgOLD(n: Int): TypeName = hkArgPrefixOLD ++ n.toString
-
final val Conforms = encode("<:<")
}