diff options
author | Martin Odersky <odersky@gmail.com> | 2006-04-25 15:01:36 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-04-25 15:01:36 +0000 |
commit | 84d3c4385eba7afecdb89a52d4162adc09d9c4e3 (patch) | |
tree | 5dd93db1cf26dfed638ecba33ef97aca9ba616fa | |
parent | 88cd71a283f25b20414b1a22b9fded83692ffc14 (diff) | |
download | scala-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.scala | 2 |
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 => |