Light classes test: test methods & fields with same name

This commit is contained in:
Pavel V. Talanov
2017-02-21 20:37:01 +03:00
parent 955fe9e1e6
commit ac368ac182
4 changed files with 44 additions and 0 deletions
@@ -0,0 +1,15 @@
// A
class A {
fun f(i: Int, s: Double) {}
fun f(i: Int, s: Double) {}
fun g(i: Int, s: Double): Int {}
fun g(s: Int, i: Double): String {}
private val i: Int = 0
private val i: String = ""
private val j: String = "a"
private val j: String = "b"
}