Delegate property to another property

前端 未结 2 1012
孤城傲影
孤城傲影 2021-01-17 12:49

Can you delegate a property to another property in Kotlin? I have the following code:

class SettingsPage {
  lateinit var tagCharacters: JTextField
  lateini         


        
2条回答
  •  一个人的身影
    2021-01-17 13:16

    Follow-up, if you would like to see support for property references in Kotlin, please vote and track this issue for updates: https://youtrack.jetbrains.com/issue/KT-8658

提交回复
热议问题