You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Behaviour change, this code produces a different result to 2.10.0, where field would not be rendered:
data class Wrapper(private val field: String) {
val upper = field.toUpperCase()
fun field() = field
fun stillAField() = field
}
fun main() {
println(
ObjectMapper()
.registerModule(KotlinModule())
.writeValueAsString(Wrapper("hello"))
)
}