Arrow lens won't let me set a nullable property to null

后端 未结 0 852
庸人自扰
庸人自扰 2020-12-08 23:17

Given this (overly simplified) code :

@optics
data class MigrationStatus(val token: String?)

val m = MigrationStatus(null)

I can of course c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题