Do not skip synthesized members when generating bridges

The condition here is obsolete since SAM adapters can no longer be overridden:
they are now extensions in another scope

 #KT-12708 Fixed
This commit is contained in:
Alexander Udalov
2016-06-14 21:18:09 +03:00
parent af9883bccf
commit de986ed051
3 changed files with 19 additions and 5 deletions
@@ -0,0 +1,13 @@
fun box(): String {
val a: A = B(1)
a.copy(1)
a.component1()
return "OK"
}
interface A {
fun copy(x: Int): A
fun component1(): Any
}
data class B(val x: Int) : A