Data class copy method invocation gives errors in IDE when some optional parameters specified (KT-5975)

#KT-5975 Fixed
This commit is contained in:
Nikolay Krasko
2014-10-13 19:27:46 +04:00
parent f202ad9f98
commit 22d33a5afa
4 changed files with 27 additions and 3 deletions
@@ -0,0 +1,11 @@
package copytest
import dataclass.Settings
fun foo(s: Settings) {
s.copy(1, 32)
s.copy(1)
}
// KT-5975 data class copy method invocation gives errors in IDE when some optional parameters specified
/* Resolution of copy was called before parameters resolve */