Skip to content

Commit e4cb221

Browse files
committed
Fix rebase breakage
1 parent 7acd0ea commit e4cb221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ class Namer { typer: Typer =>
10981098
(EmptyFlags, mbr.info.ensureMethodic)
10991099
var mbrFlags = Exported | Method | Final | maybeStable | sym.flags & RetainedExportFlags
11001100
if sym.isAllOf(ExtensionMethod) then mbrFlags |= Extension
1101+
val forwarderName = checkNoConflict(alias, isPrivate = false, span)
11011102
ctx.newSymbol(cls, forwarderName, mbrFlags, mbrInfo, coord = span)
11021103
}
11031104
forwarder.info = avoidPrivateLeaks(forwarder)

0 commit comments

Comments
 (0)