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
anti-social
changed the title
JsonObjectBuilder.to method shadows to function from stdlibJsonObjectBuilder.to method shadows to function from stdlib
Dec 15, 2019
Recently I encountered such a problem. Imagine we have a function like follow:
Then I did small refactoring:
And suddenly method
to
became https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/to.html which result is just lost. The compiler is silent.Possibly it is worth to rename
JsonObjectBuilder.to
extension method or make json object construction more explicit.The text was updated successfully, but these errors were encountered: