Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/typer/Namer.scala
Browse files Browse the repository at this point in the history
Co-authored-by: odersky <[email protected]>
  • Loading branch information
KacperFKorban and odersky authored Dec 18, 2024
1 parent 8208d46 commit b3fedfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Namer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ class Namer { typer: Typer =>
case original: untpd.MemberDef =>
lazy val annotCtx = annotContext(original, sym)
original.setMods:
original.mods.withAnnotations :
original.mods.withAnnotations:
original.mods.annotations.mapConserve: annotTree =>
val cls = typedAheadAnnotationClass(annotTree)(using annotCtx)
if (cls eq sym)
Expand Down

0 comments on commit b3fedfd

Please sign in to comment.