Skip to content

Commit cf1c168

Browse files
Close lampepfl/dotty-knowledge#10: Remove dead code
1 parent 746653e commit cf1c168

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/src/dotty/tools/dotc/core/Annotations.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ object Annotations {
120120
tpd.applyOverloaded(New(atp.typeConstructor), nme.CONSTRUCTOR, args, targs, atp)
121121
}
122122

123-
def applyResolve(atp: Type, args: List[Tree])(implicit ctx: Context): Annotation = {
124-
apply(resolveConstructor(atp, args))
125-
}
126-
127123
/** Create an annotation where the tree is computed lazily. */
128124
def deferred(sym: Symbol)(treeFn: given Context => Tree)(implicit ctx: Context): Annotation =
129125
new LazyAnnotation {

0 commit comments

Comments
 (0)