Daniel Pitts
09/04/2025, 4:07 PMorg.jetbrains.kotlin.plugin.assignment
becomes integrated with the core language at some point? It's a nifty feature that I'd love to use in my own DSLs.Adam S
09/04/2025, 4:38 PMDaniel Pitts
09/04/2025, 8:53 PMvar myProperty: CanonicalType
set(value: Int) {
set(CanonicalType(value))
}
set(value: String) {
set(CanonicalType(value.toInt())
}
// or:
var other: Holder = Holder()
set(value: Int) {
field.hold(value)
}
Youssef Shoaib [MOD]
09/04/2025, 9:45 PMDaniel Pitts
09/05/2025, 3:53 AMAdam S
09/05/2025, 5:33 AMYoussef Shoaib [MOD]
09/05/2025, 1:28 PMCLOVIS
09/05/2025, 1:30 PMDaniel Pitts
09/05/2025, 1:49 PM