summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-04-25 15:01:36 +0000
committerMartin Odersky <odersky@gmail.com>2006-04-25 15:01:36 +0000
commit84d3c4385eba7afecdb89a52d4162adc09d9c4e3 (patch)
tree5dd93db1cf26dfed638ecba33ef97aca9ba616fa
parent88cd71a283f25b20414b1a22b9fded83692ffc14 (diff)
downloadscala-84d3c4385eba7afecdb89a52d4162adc09d9c4e3.tar.gz
scala-84d3c4385eba7afecdb89a52d4162adc09d9c4e3.tar.bz2
scala-84d3c4385eba7afecdb89a52d4162adc09d9c4e3.zip
possible fix of presentation compiler crashes
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala
index 306dad37c6..39db65428c 100644
--- a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala
@@ -79,7 +79,7 @@ trait SyntheticMethods requires Analyzer {
}
def forwardingMethod(name: Name): Tree = {
- val target = getMember(ScalaRunTimeModule, "_" + name);
+ val target = getMember(ScalaRunTimeModule, "_" + name).initialize;
val method = syntheticMethod(
name, 0, MethodType(target.tpe.paramTypes.tail, target.tpe.resultType));
typed(DefDef(method, vparamss =>