anko icon indicating copy to clipboard operation
anko copied to clipboard

Why there is no contract description on inline DSL function?

Open ghost opened this issue 6 years ago • 1 comments

We have to use lateinit var when DSL design. Why there is no contract description on DSL function? Here is my example: screenshot from 2018-12-18 13-14-53

ghost avatar Dec 18 '18 05:12 ghost

Well, contracts is a new feature in Kotlin 1.3 and Anko just migrated to Kotlin 1.3 in about 1 month ago.

if you really want this feature, please send your PR. I think the Anko team would welcome your contribution.

iceboundrock avatar Dec 18 '18 08:12 iceboundrock