Skip to content

Usage of deprecated annotations is not reported by Dotty #23905

@hamzaremmal

Description

@hamzaremmal

Compiler version

c4c48e3

Minimized code

//> using options -deprecation
@deprecated
final class annot extends annotation.StaticAnnotation

@annot
object Test

Output

No warnings

Expectation

When using annot, the compiler should report a deprecation warning.

Metadata

Metadata

Assignees

Labels

itype:bugstat:needs triageEvery issue needs to have an "area" and "itype" label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions