Data class copy method invocation gives errors in IDE when some optional parameters specified (KT-5975)
#KT-5975 Fixed
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user