Prohibit callable references to annotation class constructors.

See KT-4391.
This commit is contained in:
Dmitry Petrov
2015-11-19 10:38:45 +03:00
parent 0261a3fbbd
commit 42b587b0d5
7 changed files with 32 additions and 2 deletions
@@ -7,6 +7,6 @@ enum class D
fun main() {
::<!UNRESOLVED_REFERENCE!>A<!>
::<!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>B<!>
::C // KT-3465
::<!CALLABLE_REFERENCE_TO_ANNOTATION_CONSTRUCTOR!>C<!> // KT-3465
::<!INVISIBLE_MEMBER!>D<!>
}