Skip to content

Commit 94efb07

Browse files
committed
Drop redundant catch and re-throw
1 parent 802a024 commit 94efb07

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
@@ -833,9 +833,6 @@ object Denotations {
833833
// creations that way, and also avoid phase caches in contexts to get large.
834834
// To work correctly, we need to demand that the context with the new phase
835835
// is not retained in the result.
836-
catch case ex: CyclicReference =>
837-
// println(s"error while transforming $this")
838-
throw ex
839836
finally
840837
mutCtx.setPeriod(savedPeriod)
841838
if next eq cur then

0 commit comments

Comments
 (0)