From 6aa285809c9866cac866ffcad93d073b3ed0397d Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 10 Mar 2010 19:18:43 +0000 Subject: 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. --- src/compiler/scala/tools/nsc/typechecker/Infer.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 + ) } } -- cgit v1.2.3