diff options
author | Burak Emir <emir@epfl.ch> | 2007-09-04 17:55:46 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-09-04 17:55:46 +0000 |
commit | 4d9354ae14d581fb548d1e926fbf3adb7d3bf615 (patch) | |
tree | e49c4951509819268d7460d814a5641f93ce6168 /src | |
parent | 92629629ab76311540303f6644f5f336a6fe81d3 (diff) | |
download | scala-4d9354ae14d581fb548d1e926fbf3adb7d3bf615.tar.gz scala-4d9354ae14d581fb548d1e926fbf3adb7d3bf615.tar.bz2 scala-4d9354ae14d581fb548d1e926fbf3adb7d3bf615.zip |
fixed #11
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreeInfo.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeInfo.scala b/src/compiler/scala/tools/nsc/ast/TreeInfo.scala index b1347d6be7..25941d3081 100644 --- a/src/compiler/scala/tools/nsc/ast/TreeInfo.scala +++ b/src/compiler/scala/tools/nsc/ast/TreeInfo.scala @@ -215,7 +215,7 @@ abstract class TreeInfo { private def isSimpleThrowable(tp: Type): Boolean = tp match { case TypeRef(pre, sym, args) => (pre == NoPrefix || pre.widen.typeSymbol.isStatic) && - (sym isNonBottomSubClass definitions.ThrowableClass) + (sym isNonBottomSubClass definitions.ThrowableClass) && /* bq */ !sym.isTrait case _ => false } |