nhaarman
07/03/2016, 10:21 AM2.2.0-alphax
.
Basically I have an interface User
and a data class TestUser
that implements that interface.
Now when I have an instance of TestUser
and do the following:
println(user)
println("login=${user.login}")
.. this is the output:
TestUser(login=login, id=0, avatarUrl=avatarUrl, htmlUrl=htmlUrl, followersUrl=followersUrl, followingUrl=followingUrl, gistsUrl=gistsUrl, subscriptionsUrl=subscriptionsUrl, organizationsUrl=organizationsUrl, eventsUrl=eventsUrl, receivedEventsUrl=receivedEventsUrl, type=type, name=name, company=company, blog=blog, email=email, hireable=true, bio=bio, publicRepos=1, publicGists=2, privateGists=7, collaborators=9)
login=organizationsUrl
It seems like the property values are shuffled somehow, but consistently between builds. If I remove an unrelated piece of dead code the values are shuffled differently.
What the heck is happening here?