diff options
author | Martin Odersky <odersky@gmail.com> | 2009-10-13 15:39:22 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-10-13 15:39:22 +0000 |
commit | 820e0bd94001e2732b119d217a12844e4720d165 (patch) | |
tree | 0307e5751c9b3e2decb605ed7145429887df73d1 /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 04d037f2e1addcd36f0d990c4f1d37106317959e (diff) | |
download | scala-820e0bd94001e2732b119d217a12844e4720d165.tar.gz scala-820e0bd94001e2732b119d217a12844e4720d165.tar.bz2 scala-820e0bd94001e2732b119d217a12844e4720d165.zip |
Fixed #2422 abd #2461
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 7c09df68d3..ebcd18082d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -3946,7 +3946,7 @@ trait Typers { self: Analyzer => } def getManifestTree(pos: Position, tp: Type, full: Boolean): Tree = { - val manifestOpt = findManifest(tp, false) + val manifestOpt = findManifest(tp, full) if (manifestOpt.tree.isEmpty) { error(pos, "cannot find "+(if (full) "" else "class ")+"manifest for element type "+tp) Literal(Constant(null)) |