summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-08-21 21:49:23 +0000
committerBurak Emir <emir@epfl.ch>2007-08-21 21:49:23 +0000
commite313d9651adc2b7137a1dabbd3b0351619383035 (patch)
treebb43d9b9470dba4bea72b6df00b35739de6be358 /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent1e350595d8ad8a30234750da25a1718235547202 (diff)
downloadscala-e313d9651adc2b7137a1dabbd3b0351619383035.tar.gz
scala-e313d9651adc2b7137a1dabbd3b0351619383035.tar.bz2
scala-e313d9651adc2b7137a1dabbd3b0351619383035.zip
fixed #1281, reverted Sean's lazy generator in ...
fixed #1281, reverted Sean's lazy generator in Main which broke the build
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index c162eacc1d..ed796b9967 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -1661,6 +1661,7 @@ trait Typers { self: Analyzer =>
val typer1 = new Typer(context1)
arg.tpe = typer1.infer.inferTypedPattern(tree.pos, unappFormal, arg.tpe)
//todo: replace arg with arg.asInstanceOf[inferTypedPattern(unappFormal, arg.tpe)] instead.
+ argDummy.setInfo(arg.tpe) // bq: this line fixed #1281. w.r.t. comment ^^^, maybe good enough?
}
val funPrefix = fun.tpe.prefix match {
case tt @ ThisType(sym) =>