aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Applications.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-17 14:58:27 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:28 +0200
commit700e7ac6658a1d699502c94141091012d18519c4 (patch)
tree9090f17234a618e5279c1b935072d2b2a9c05fe0 /compiler/src/dotty/tools/dotc/typer/Applications.scala
parentec4282dd99814ceb5304c4e1bb57aa607edff8db (diff)
downloaddotty-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/typer/Applications.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Applications.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Applications.scala b/compiler/src/dotty/tools/dotc/typer/Applications.scala
index ceaf3471a..236bc051e 100644
--- a/compiler/src/dotty/tools/dotc/typer/Applications.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -1125,7 +1125,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
case mt: ImplicitMethodType =>
resultTypeApprox(mt)
case pt: PolyType =>
- pt.derivedPolyType(pt.paramNames, pt.paramInfos, stripImplicit(pt.resultType))
+ pt.derivedLambdaType(pt.paramNames, pt.paramInfos, stripImplicit(pt.resultType))
case _ =>
tp
}