Fix Throws declaration in Native diagnostics tests

Align annotation target with real declaration in Native stdlib
This commit is contained in:
Svyatoslav Scherbina
2020-05-25 18:28:55 +03:00
parent fa152593ef
commit c9f721848a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ package kotlin
import kotlin.reflect.KClass
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR)
@Retention(AnnotationRetention.SOURCE)
public annotation class Throws(vararg val ThrowableClasses: KClass<out Throwable>)