diff options
author | Martin Odersky <odersky@gmail.com> | 2007-03-23 18:11:12 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-03-23 18:11:12 +0000 |
commit | 98f2f761c7ab896c4ac682f35116b0a88408e45a (patch) | |
tree | 899551f0ed7e03a45c4da3701dffe3ab58c871a6 /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | b7cd34eda4a72102e119a373e3efa54c07d8b489 (diff) | |
download | scala-98f2f761c7ab896c4ac682f35116b0a88408e45a.tar.gz scala-98f2f761c7ab896c4ac682f35116b0a88408e45a.tar.bz2 scala-98f2f761c7ab896c4ac682f35116b0a88408e45a.zip |
fixed bug1014
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index e265d2e9c5..f4e99e0007 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -521,7 +521,7 @@ trait Namers requires Analyzer { thisMethodType( if (tpt.isEmpty) { val pt = resultPt.substSym(tparamSyms, tparams map (.symbol)) - tpt.tpe = deconstIfNotFinal(meth, typer.computeType(rhs, WildcardType/*pt*/)) + tpt.tpe = deconstIfNotFinal(meth, typer.computeType(rhs, pt)) tpt.tpe } else typer.typedType(tpt).tpe) } |