frontend diagnostics for kotlin.jvm.overloads

#KT-7203 Fixed
This commit is contained in:
Dmitry Jemerov
2015-04-01 14:09:37 +02:00
parent 39828bfd32
commit 7b507276ed
11 changed files with 160 additions and 35 deletions
@@ -21,6 +21,9 @@ import java.lang.annotation.RetentionPolicy
/**
* Instructs the Kotlin compiler to generate overloads for this function that substitute default parameter values.
*
* If a method has N parameters and M of which have default values, M overloads are generated: the first one
* takes N-1 parameters (all but the last one that takes a default value), the second takes N-2 parameters, and so on.
*/
Retention(RetentionPolicy.SOURCE)
public annotation class overloads