aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/ExplicitOuter.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/transform/ExplicitOuter.scala')
-rw-r--r--src/dotty/tools/dotc/transform/ExplicitOuter.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/transform/ExplicitOuter.scala b/src/dotty/tools/dotc/transform/ExplicitOuter.scala
index b9c9617a8..669660b1f 100644
--- a/src/dotty/tools/dotc/transform/ExplicitOuter.scala
+++ b/src/dotty/tools/dotc/transform/ExplicitOuter.scala
@@ -34,7 +34,7 @@ class ExplicitOuter extends MiniPhaseTransform with InfoTransformer { thisTransf
val Outer = new Attachment.Key[Tree]
- override def phaseName: String = "ExplicitOuter"
+ override def phaseName: String = "explicitOuter"
override def treeTransformPhase = thisTransformer.next
@@ -277,8 +277,6 @@ object ExplicitOuter {
} catch {
case ex: ClassCastException =>
throw new ClassCastException(i"no path exists from ${ctx.owner.enclosingClass} to $toCls")
- case ex: AssertionError =>
- throw new ClassCastException(i"no path exists from ${ctx.owner.enclosingClass} to $toCls\n because ${ex.getMessage}")
}
}
} \ No newline at end of file