diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2006-01-30 10:11:09 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2006-01-30 10:11:09 +0000 |
commit | 60a0f3e591711a407a2f155b0b0341c509707213 (patch) | |
tree | 73b5b3301ea0ce9bc17c860f14555829702c0548 /src | |
parent | 88dbab4afbb7dbd47dcce9d817a4309461c212aa (diff) | |
download | scala-60a0f3e591711a407a2f155b0b0341c509707213.tar.gz scala-60a0f3e591711a407a2f155b0b0341c509707213.tar.bz2 scala-60a0f3e591711a407a2f155b0b0341c509707213.zip |
Fixed expected type for Try blocks.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/GenICode.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala index 0e7c126f0d..553a797f93 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala @@ -467,7 +467,7 @@ abstract class GenICode extends SubComponent { ctx.Try( bodyCtx => { - generatedType = toTypeKind(block.tpe); + generatedType = kind; //toTypeKind(block.tpe); val ctx1 = genLoad(block, bodyCtx, generatedType); genLoad(finalizer, ctx1, UNIT) }, |