If you use Studio to create a table, and set one of the fields to read-only, the Kotlin code is generated incorrectly:
var processName: String? = null private set
The code won’t compile if the
private set is on the same line as the declaration, not without a semi-colon to separate them.
Furthermore, if you remove the read-only flag and put it back, a second private set is generated for the same variable.