Generate copy() in data class even if constructor is empty or not present

This commit is contained in:
Nikolay Krasko
2014-09-08 14:45:47 +04:00
parent fa393cf4f5
commit caee19cdc7
6 changed files with 32 additions and 9 deletions
@@ -0,0 +1,6 @@
data class A
fun foo(a: A) {
a.<!UNRESOLVED_REFERENCE!>component1<!>()
a.<!UNRESOLVED_REFERENCE!>component2<!>()
}