Skip to content

Conversation

@AlexSyt
Copy link
Contributor

@AlexSyt AlexSyt commented Oct 4, 2019

No description provided.

fun getUniqueProperty(): Any {
return this::class.toString()
}
fun getUniqueProperty(): Any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

так тоді можна зробить як проперті і оверайдить в конструкторі

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это сильнее сломает compatibility, стоит ли оно того?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compatibility в будь якому випадку ламаєтсья - всім прийдеться перевизначить метод

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ну в идеале он и так должен быть переопределен везде, а значит не так уж и много придется добавлять всего.
но ок, я понял) в пн сделаю

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vchernyshovnullgr
готово

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants