We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 967947f commit 3f6858bCopy full SHA for 3f6858b
compiler/src/dotty/tools/dotc/transform/Memoize.scala
@@ -100,7 +100,8 @@ class Memoize extends MiniPhase with IdentityDenotTransformer { thisPhase =>
100
if (sym.annotations.nonEmpty) {
101
val cpy = sym.copySymDenotation()
102
// Keep @deprecated annotation so that accessors can
103
- // be marked as deprecated in the bytecode
+ // be marked as deprecated in the bytecode.
104
+ // TODO check the meta-annotations to know what to keep
105
cpy.filterAnnotations(_.matches(defn.DeprecatedAnnot))
106
cpy.installAfter(thisPhase)
107
}
0 commit comments