diff options
author | Paul Phillips <paulp@improving.org> | 2010-03-10 19:18:43 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-03-10 19:18:43 +0000 |
commit | 6aa285809c9866cac866ffcad93d073b3ed0397d (patch) | |
tree | 75804cceb17ded97244926066143cf204a3407fb | |
parent | 23d5dfc76b33fcd75d18d27c221c0ede9574e13d (diff) | |
download | scala-6aa285809c9866cac866ffcad93d073b3ed0397d.tar.gz scala-6aa285809c9866cac866ffcad93d073b3ed0397d.tar.bz2 scala-6aa285809c9866cac866ffcad93d073b3ed0397d.zip |
Small syntactic adjustment so that last patch f...
Small syntactic adjustment so that last patch from adriaan will build.
(Big thumsb up to the aesthetics though.) No review.
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index 1e9f086355..1e498d406b 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -653,10 +653,11 @@ trait Infer { // used `tparam.tpeHK` as dummy before } else { okParams += tparam - okArgs += + okArgs += ( if (targ.typeSymbol == RepeatedParamClass) targ.baseType(SeqClass) else if (targ.typeSymbol == JavaRepeatedParamClass) targ.baseType(ArrayClass) else targ.widen + ) } } |