Nikky
08/30/2019, 8:07 PM@Serializable
data class SomeClass(
var aInt: Int = 5
) {
@Transient
lateinit var rootDir: File
}
this fails with: This property is marked as @Transient and therefore must have an initializing expression
the rootDir is in this case the full path to the workingdirectory on the users machine, it should not be serialized, it gets set first thing after deserialization
but it seems that is no longer allowedsandwwraith
09/02/2019, 3:30 PMsandwwraith
09/02/2019, 3:30 PMsandwwraith
09/02/2019, 3:30 PMNikky
09/02/2019, 4:09 PMsandwwraith
09/02/2019, 4:11 PMNikky
09/02/2019, 4:46 PM