diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-17 14:58:27 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-06 13:15:28 +0200 |
commit | 700e7ac6658a1d699502c94141091012d18519c4 (patch) | |
tree | 9090f17234a618e5279c1b935072d2b2a9c05fe0 /compiler/src/dotty/tools/dotc/core/TypeApplications.scala | |
parent | ec4282dd99814ceb5304c4e1bb57aa607edff8db (diff) | |
download | dotty-700e7ac6658a1d699502c94141091012d18519c4.tar.gz dotty-700e7ac6658a1d699502c94141091012d18519c4.tar.bz2 dotty-700e7ac6658a1d699502c94141091012d18519c4.zip |
replace derived{Method,Poly}Type with derivedLambdaType
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/TypeApplications.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/TypeApplications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/TypeApplications.scala b/compiler/src/dotty/tools/dotc/core/TypeApplications.scala index 77767a38c..3a63c16db 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeApplications.scala @@ -429,7 +429,7 @@ class TypeApplications(val self: Type) extends AnyVal { // In this case we should always dealias since we cannot handle // higher-kinded applications to wildcard arguments. dealiased - .derivedPolyType(resType = tycon.safeDealias.appliedTo(args1)) + .derivedLambdaType(resType = tycon.safeDealias.appliedTo(args1)) .appliedTo(args) case _ => val reducer = new Reducer(dealiased, args) |