Skip to content

Commit 3f6858b

Browse files
Add TODO respect meta-annotations
1 parent 967947f commit 3f6858b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/transform/Memoize.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ class Memoize extends MiniPhase with IdentityDenotTransformer { thisPhase =>
100100
if (sym.annotations.nonEmpty) {
101101
val cpy = sym.copySymDenotation()
102102
// Keep @deprecated annotation so that accessors can
103-
// be marked as deprecated in the bytecode
103+
// be marked as deprecated in the bytecode.
104+
// TODO check the meta-annotations to know what to keep
104105
cpy.filterAnnotations(_.matches(defn.DeprecatedAnnot))
105106
cpy.installAfter(thisPhase)
106107
}

0 commit comments

Comments
 (0)