Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions compiler/src/dotty/tools/dotc/core/Denotations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,6 @@ object Denotations {
val currentPeriod = ctx.period
val valid = myValidFor

def signalError() = println(s"error while transforming $this")

def assertNotPackage(d: SingleDenotation, transformer: DenotTransformer) = d match
case d: ClassDenotation =>
assert(!d.is(Package), s"illegal transformation of package denotation by transformer $transformer")
Expand Down Expand Up @@ -836,7 +834,7 @@ object Denotations {
// To work correctly, we need to demand that the context with the new phase
// is not retained in the result.
catch case ex: CyclicReference =>
signalError()
// println(s"error while transforming $this")
throw ex
finally
mutCtx.setPeriod(savedPeriod)
Expand Down