Vsevolod Tolstopyatov | 74bcc92 | 2018-05-03 20:07:54 +0300 | [diff] [blame] | 1 | @file:Suppress("UNUSED_PARAMETER") |
| 2 | |
| 3 | package cases.special |
| 4 | |
| 5 | |
| 6 | @JvmOverloads |
| 7 | public fun publicFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 8 | |
| 9 | @JvmOverloads |
| 10 | internal fun internalFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 11 | |
| 12 | public class ClassWithOverloads |
| 13 | @JvmOverloads |
| 14 | internal constructor(val a: Int = 0, val b: String? = null) { |
| 15 | |
| 16 | @JvmOverloads |
| 17 | internal fun internalFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 18 | |
| 19 | } |