Files
kotlin-fork/compiler/testData/diagnostics/tests/UnusedParameters.kt
T
2015-03-05 18:42:16 +03:00

29 lines
468 B
Kotlin

class C(a: Int, b: Int, c: Int, d: Int, <!UNUSED_PARAMETER!>e<!>: Int = d, val f: String) {
{
a + a
}
val g = b
{
c + c
}
}
fun f(a: Int, b: Int, <!UNUSED_PARAMETER!>c<!>: Int = b) {
a + a
}
fun Any.get(thisRef: Any?, prop: PropertyMetadata): String = ":)"
fun Any.set(thisRef: Any?, prop: PropertyMetadata, value: String) {
}
fun Any.propertyDelegated(prop: PropertyMetadata) {
}
fun get(p: Any) {
}
fun set(p: Any) {
}