We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad94ab5 commit eeb314fCopy full SHA for eeb314f
compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
@@ -839,13 +839,6 @@ class TreeUnpickler(reader: TastyReader,
839
DefDef(Nil, Nil, tpt)
840
}
841
842
- val mods =
843
- if (sym.annotations.isEmpty) untpd.EmptyModifiers
844
- else untpd.Modifiers(annotations = sym.annotations.map(_.tree))
845
- tree.withMods(mods)
846
- // record annotations in tree so that tree positions can be filled in.
847
- // Note: Once the inline PR with its changes to positions is in, this should be
848
- // no longer necessary.
849
goto(end)
850
setSpan(start, tree)
851
if (!sym.isType) { // Only terms might have leaky aliases, see the documentation of `checkNoPrivateLeaks`
0 commit comments