diff options
author | Paul Phillips <paulp@improving.org> | 2012-08-18 20:07:05 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-08-18 20:08:42 -0700 |
commit | bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa (patch) | |
tree | 3af750e86bbb1039f9cbaae61945ed3fb11cfb8b /src | |
parent | af19824ab993e5a4f9d09fe76793dbc7795432cf (diff) | |
download | scala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.tar.gz scala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.tar.bz2 scala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.zip |
Fix for community build blocker.
As two character bugfixes go, this was a doozy.
I will forego elaborating at length and offer generic
instructions for elucidation:
% git log --grep=tpeHK
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index 7016474a90..b502af4a7f 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -1372,7 +1372,7 @@ trait Infer { ( isLocalBinding(sym) || arg.typeSymbol.isTypeParameterOrSkolem || (sym.name == tpnme.WILDCARD) // avoid spurious warnings on HK types - || check(arg, param.tpe, conforms) + || check(arg, param.tpeHK, conforms) || warn("non-variable type argument " + arg) ) } |