Skip to content

Commit 646f236

Browse files
committed
temp test
1 parent a41c598 commit 646f236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Synthesizer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
322322
val mirrorRef =
323323
if useCompanion then companionPath(mirroredType, span)
324324
else
325-
if !cls.is(Scala2x) then
326-
report.warning(new reporting.MissingCompanionForMirror(cls, isSum = true), ctx.source.atSpan(span))
325+
// if !cls.is(Scala2x) then
326+
// report.warning(new reporting.MissingCompanionForMirror(cls, isSum = true), ctx.source.atSpan(span))
327327
anonymousMirror(monoType, ExtendsSumMirror, span)
328328
mirrorRef.cast(mirrorType)
329329
else EmptyTree

0 commit comments

Comments
 (0)