diff options
author | Martin Odersky <odersky@gmail.com> | 2006-08-23 12:06:32 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-08-23 12:06:32 +0000 |
commit | 796ed0318679d58238e70daf10e37a104371f9b3 (patch) | |
tree | a79b4e418fe4bd8e55a34d6958ec9230c0284cb2 /src | |
parent | 7430aa1b4c927b7ea1612d2d1095abbe967378ca (diff) | |
download | scala-796ed0318679d58238e70daf10e37a104371f9b3.tar.gz scala-796ed0318679d58238e70daf10e37a104371f9b3.tar.bz2 scala-796ed0318679d58238e70daf10e37a104371f9b3.zip |
fix^2 of bug687
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Erasure.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Erasure.scala b/src/compiler/scala/tools/nsc/transform/Erasure.scala index 607161e12b..96d2805ef2 100644 --- a/src/compiler/scala/tools/nsc/transform/Erasure.scala +++ b/src/compiler/scala/tools/nsc/transform/Erasure.scala @@ -416,7 +416,7 @@ abstract class Erasure extends AddInterfaces with typechecker.Analyzer { (if (sym2.owner == root) " at line " + Position.line(unit.source, sym2.pos) else sym2.locationString) + "\nhave same type" + (if (tpe1 =:= tpe2) "" else " after erasure: " + atPhase(phase.next)(sym1.tpe))) -// sym2.setInfo(ErrorType) + sym1.setInfo(ErrorType) } val decls = root.info.decls |