diff options
author | Martin Odersky <odersky@gmail.com> | 2016-10-06 16:55:06 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-10-12 03:36:57 +0200 |
commit | d64bab55aeaf9c182e0150e9a37cca3ed6ad635e (patch) | |
tree | 798a38b99f1855a9eaa9bb4361b3f7cd1a9edf1a /src | |
parent | a9be90cc3a510afb801c5e288ef54b83302ee064 (diff) | |
download | dotty-d64bab55aeaf9c182e0150e9a37cca3ed6ad635e.tar.gz dotty-d64bab55aeaf9c182e0150e9a37cca3ed6ad635e.tar.bz2 dotty-d64bab55aeaf9c182e0150e9a37cca3ed6ad635e.zip |
Fix rebase problem
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/typer/Inliner.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Inliner.scala b/src/dotty/tools/dotc/typer/Inliner.scala index 55008c0c5..d1c160a23 100644 --- a/src/dotty/tools/dotc/typer/Inliner.scala +++ b/src/dotty/tools/dotc/typer/Inliner.scala @@ -108,7 +108,7 @@ object Inliner { // Add qualifier type as leading method argument to argument `tp` def addQualType(tp: Type): Type = tp match { - case tp: PolyType => tp.derivedPolyType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType)) + case tp: PolyType => tp.derivedGenericType(tp.paramNames, tp.paramBounds, addQualType(tp.resultType)) case tp: ExprType => addQualType(tp.resultType) case tp => MethodType(qualType :: Nil, tp) } |