Added 'OnlyInputTypes' annotation

This commit is contained in:
Svetlana Isakova
2015-10-16 15:49:46 +03:00
parent 082469aee4
commit a6ec5cecc0
11 changed files with 91 additions and 6 deletions
@@ -28,4 +28,11 @@ internal annotation class NoInfer
*/
@Target(AnnotationTarget.TYPE)
@Retention(AnnotationRetention.SOURCE)
internal annotation class Exact
internal annotation class Exact
/**
* The value of this type parameter should be mentioned in input types (argument types, receiver type or expected type).
*/
@Target(AnnotationTarget.TYPE_PARAMETER)
@Retention(AnnotationRetention.SOURCE)
internal annotation class OnlyInputTypes