diff options
author | Burak Emir <emir@epfl.ch> | 2006-03-14 16:45:52 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-03-14 16:45:52 +0000 |
commit | 9765bb08ad70a39b7afa62fc47a283d0b98bf128 (patch) | |
tree | 36a86d8f62126faebc17fb024c43ace755a0047e /src | |
parent | bb158a6c6228f3ad690189ff527c02d82d052500 (diff) | |
download | scala-9765bb08ad70a39b7afa62fc47a283d0b98bf128.tar.gz scala-9765bb08ad70a39b7afa62fc47a283d0b98bf128.tar.bz2 scala-9765bb08ad70a39b7afa62fc47a283d0b98bf128.zip |
changed ThrowMatchError stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/AlgebraicMatchers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/AlgebraicMatchers.scala b/src/compiler/scala/tools/nsc/matching/AlgebraicMatchers.scala index 28dc65ba77..0e39031a9e 100644 --- a/src/compiler/scala/tools/nsc/matching/AlgebraicMatchers.scala +++ b/src/compiler/scala/tools/nsc/matching/AlgebraicMatchers.scala @@ -80,7 +80,7 @@ trait AlgebraicMatchers requires TransMatcher { ), If( super.toTree(root.and), LabelDef(exit, List(result), Ident(result)), - ThrowMatchError( _m.pos, resultType )) + ThrowMatchError( _m.pos, Ident(root.symbol) )) ); } |