mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
This causes a subtle issue with 'copy' function for data class, which has parameters with source elements corresponding to the data class primary constructor parameters: default value expression for such parameters is generated second time (to be overwritten later), which creates duplicate bindings if such expression included any (possibly anonymous) declarations, such as lambdas or anonymous objects. #KT-18208 Fixed
85 B
Vendored
85 B
Vendored