aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/TypeComparer.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-11-21 19:00:19 +0100
committerGitHub <noreply@github.com>2016-11-21 19:00:19 +0100
commit5b409515613173970d44a21978b04432cd01b73d (patch)
tree580409cc8e02bc2cfba3d5b94f62daa492ff2e49 /src/dotty/tools/dotc/core/TypeComparer.scala
parent601a286b1c1eb7f0bbea64609a7d07ed40f02118 (diff)
parenta2b1e601142e66255c252bf0584d2fc5ceb46b07 (diff)
downloaddotty-5b409515613173970d44a21978b04432cd01b73d.tar.gz
dotty-5b409515613173970d44a21978b04432cd01b73d.tar.bz2
dotty-5b409515613173970d44a21978b04432cd01b73d.zip
Merge pull request #1634 from dotty-staging/change-tasty-pos-ctd
Towards correct positions in TASTY types
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeComparer.scala')
-rw-r--r--src/dotty/tools/dotc/core/TypeComparer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TypeComparer.scala b/src/dotty/tools/dotc/core/TypeComparer.scala
index 0e1d373a8..f78820fff 100644
--- a/src/dotty/tools/dotc/core/TypeComparer.scala
+++ b/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -1267,7 +1267,7 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
original(tp1.appliedTo(tp1.typeParams.map(_.paramBoundsAsSeenFrom(tp1))), tp2)
else
PolyType(
- paramNames = tpnme.syntheticLambdaParamNames(tparams1.length),
+ paramNames = tpnme.syntheticTypeParamNames(tparams1.length),
variances = (tparams1, tparams2).zipped.map((tparam1, tparam2) =>
(tparam1.paramVariance + tparam2.paramVariance) / 2))(
paramBoundsExp = tl => (tparams1, tparams2).zipped.map((tparam1, tparam2) =>