Annotations on type aliases: typealias is not a "default target".

Add diagnostic test for annotations on type aliases.
This commit is contained in:
Dmitry Petrov
2016-10-10 16:02:17 +03:00
parent 344bb03e8c
commit d2d8f72ffc
13 changed files with 62 additions and 10 deletions
@@ -38,7 +38,7 @@ enum class KotlinTarget(val description: String, val isDefault: Boolean = true)
TYPE("type usage", false),
EXPRESSION("expression", false), // includes FUNCTION_LITERAL, OBJECT_LITERAL
FILE("file", false),
TYPEALIAS("typealias"), // TODO support typealias as annotation target
TYPEALIAS("typealias", false),
TYPE_PROJECTION("type projection", false),
STAR_PROJECTION("star projection", false),