Skip to content

Commit 78f1be0

Browse files
committed
Drop redundant catch and re-throw
1 parent 88c84ea commit 78f1be0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,9 +830,6 @@ object Denotations {
830830
// creations that way, and also avoid phase caches in contexts to get large.
831831
// To work correctly, we need to demand that the context with the new phase
832832
// is not retained in the result.
833-
catch case ex: CyclicReference =>
834-
// println(s"error while transforming $this")
835-
throw ex
836833
finally
837834
mutCtx.setPeriod(savedPeriod)
838835
if next eq cur then

0 commit comments

Comments
 (0)