Skip to content

Commit e83aca6

Browse files
OlivierBlanvillainodersky
authored andcommitted
Workaround #2797 by removing an assertion
1 parent 8a93f6e commit e83aca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
256256
val evalue = t.symbol.name.mangledString // value the actual enumeration value.
257257
av.visitEnum(name, edesc, evalue)
258258
} else {
259-
assert(toDenot(t.symbol).name.is(DefaultGetterName), toDenot(t.symbol).name.debugString) // this should be default getter. do not emmit.
259+
// This is a default getter. do not emmit.
260260
}
261261
case t: SeqLiteral =>
262262
val arrAnnotV: AnnotationVisitor = av.visitArray(name)

0 commit comments

Comments
 (0)