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
@DataClass data class Foo(val x: Int) {
var y: Int
get() = x + 1
}
The generated class attempts to read a y property from the JSON object. It then instantiates Foo by including y in the constructor call, which is invalid and results in a compilation error.
The text was updated successfully, but these errors were encountered:
Sample class that illustrates the error:
The generated class attempts to read a
y
property from the JSON object. It then instantiatesFoo
by includingy
in the constructor call, which is invalid and results in a compilation error.The text was updated successfully, but these errors were encountered: