Light classes: do not rely on dummy context when data class autogenerated members conflict with declared members

Fix related issues with nested classes
This commit is contained in:
Pavel V. Talanov
2017-04-05 20:49:32 +03:00
parent 69c250a1b7
commit 2f159bb64b
9 changed files with 115 additions and 11 deletions
@@ -0,0 +1,15 @@
// p.B
package p
class B {
class A(private val f: I) : I by f {
}
}
interface I {
fun g()
fun f()
}
// LAZINESS:NoLaziness