diff options
author | Martin Odersky <odersky@gmail.com> | 2016-10-05 16:09:17 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-10-12 03:36:57 +0200 |
commit | bafc0a397e28c6e46619f413c9a5648026eac303 (patch) | |
tree | 51207f7e43beb19ced1260bce99b85977b155709 /src/dotty/tools/dotc/core/TypeApplications.scala | |
parent | 8897b46fd41437c8ff1a91fad4a58ed452c3c35c (diff) | |
download | dotty-bafc0a397e28c6e46619f413c9a5648026eac303.tar.gz dotty-bafc0a397e28c6e46619f413c9a5648026eac303.tar.bz2 dotty-bafc0a397e28c6e46619f413c9a5648026eac303.zip |
Harmonize PolyType and TypeLambda
Let them inherit the same traits and push as much
functionality as possibly into the common superclass
GenericType.
Diffstat (limited to 'src/dotty/tools/dotc/core/TypeApplications.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/TypeApplications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TypeApplications.scala b/src/dotty/tools/dotc/core/TypeApplications.scala index f32a591a6..8a4b47efb 100644 --- a/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/src/dotty/tools/dotc/core/TypeApplications.scala @@ -485,7 +485,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 - .derivedTypeLambda(resType = tycon.safeDealias.appliedTo(args1)) + .derivedGenericType(resType = tycon.safeDealias.appliedTo(args1)) .appliedTo(args) case _ => val reducer = new Reducer(dealiased, args) |