Roman Elizarov | 1f74a2d | 2018-06-29 19:19:45 +0300 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| 3 | */ |
| 4 | |
Vsevolod Tolstopyatov | 74bcc92 | 2018-05-03 20:07:54 +0300 | [diff] [blame] | 5 | @file:Suppress("UNUSED_PARAMETER") |
| 6 | |
| 7 | package cases.special |
| 8 | |
| 9 | |
| 10 | @JvmOverloads |
| 11 | public fun publicFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 12 | |
| 13 | @JvmOverloads |
| 14 | internal fun internalFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 15 | |
| 16 | public class ClassWithOverloads |
| 17 | @JvmOverloads |
| 18 | internal constructor(val a: Int = 0, val b: String? = null) { |
| 19 | |
| 20 | @JvmOverloads |
| 21 | internal fun internalFunWithOverloads(a: Int = 0, b: String? = null) {} |
| 22 | |
| 23 | } |