aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Definitions.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-07-20 10:36:53 +0200
committerMartin Odersky <odersky@gmail.com>2015-09-18 18:10:39 +0200
commit2634498cede2525b07c1e40fbad0f5ae0cf96fda (patch)
treef4f24517a670557bc9a85433a72bffafc167680c /src/dotty/tools/dotc/core/Definitions.scala
parentcaae19ba37b7b05b2fd2e1edbad62ee9bf46c5e4 (diff)
downloaddotty-2634498cede2525b07c1e40fbad0f5ae0cf96fda.tar.gz
dotty-2634498cede2525b07c1e40fbad0f5ae0cf96fda.tar.bz2
dotty-2634498cede2525b07c1e40fbad0f5ae0cf96fda.zip
Rename Apply -> hkApply
Want to have a unique name for Apply, so that tests for higher-kinded types become cheaper.
Diffstat (limited to 'src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r--src/dotty/tools/dotc/core/Definitions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Definitions.scala b/src/dotty/tools/dotc/core/Definitions.scala
index fcd9ef224..03be776a0 100644
--- a/src/dotty/tools/dotc/core/Definitions.scala
+++ b/src/dotty/tools/dotc/core/Definitions.scala
@@ -528,7 +528,7 @@ class Definitions {
val paramDecls = newScope
for (i <- 0 until vcs.length)
newTypeParam(cls, tpnme.lambdaArgName(i), varianceFlags(vcs(i)), paramDecls)
- newTypeField(cls, tpnme.Apply, Covariant, paramDecls)
+ newTypeField(cls, tpnme.hkApply, Covariant, paramDecls)
val parentTraitRefs =
for (i <- 0 until vcs.length if vcs(i) != 0)
yield lambdaTrait(vcs.updated(i, 0)).typeRef