diff options
author | soc <simon@ochsenreither.de> | 2016-04-04 22:07:55 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-04-04 22:07:55 +0200 |
commit | d8aa2cdfb83de35cc0e427f26530195ccff46d51 (patch) | |
tree | b5eef2fc5066961b4cfa9b672c8e2212d38e7d50 /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 3c466670d2526f4a1ff77e005fbc5b32cc31f52f (diff) | |
download | scala-d8aa2cdfb83de35cc0e427f26530195ccff46d51.tar.gz scala-d8aa2cdfb83de35cc0e427f26530195ccff46d51.tar.bz2 scala-d8aa2cdfb83de35cc0e427f26530195ccff46d51.zip |
General cleanups and less warnings during a Scala build
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index fdf7058ab1..8f5c4b9f6d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -2882,7 +2882,7 @@ trait Typers extends Adaptations with Tags with TypersTracking with PatternTyper val paramsMissingType = mutable.ArrayBuffer.empty[ValDef] //.sizeHint(numVparams) probably useless, since initial size is 16 and max fun arity is 22 // first, try to define param types from expected function's arg types if needed foreach2(vparams, argpts) { (vparam, argpt) => - if (vparam.tpt isEmpty) { + if (vparam.tpt.isEmpty) { if (isFullyDefined(argpt)) vparam.tpt setType argpt else paramsMissingType += vparam |