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
Serializing Kotlin data classes should be special-cased, allowing the omission of the @Refract and @RefractConstructor annotations. Special casing like this is less relevant in Java since everything is already written explicitly, however, requiring those annotations for Kotlin data classes can easily double the length of the declaration.
@RefractClass
data classFoo(vala:Int, valb:String)
vs.
@RefractClass
data classFoo @RefractConstructor constructor(@Refract vala:Int, @Refract valb:String)
The text was updated successfully, but these errors were encountered:
Serializing Kotlin data classes should be special-cased, allowing the omission of the
@Refract
and@RefractConstructor
annotations. Special casing like this is less relevant in Java since everything is already written explicitly, however, requiring those annotations for Kotlin data classes can easily double the length of the declaration.vs.
The text was updated successfully, but these errors were encountered: