Kotlin Discussions
Let `this` as a type
Language Design
seekdasky
April 28, 2022, 10:42am
2
Hi!
I think that what you are describing is called " Self type" and was discussed here :
Self Types
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
This type
Language Design
10
7656
January 10, 2019
Self Types
Language Design
84
31478
October 24, 2022
Cleaner self returning functions
Language Design
4
1730
April 29, 2020
Differentiate functions by return type
Language Design
13
5181
December 22, 2017
Any thoughts on Ceylon-style union and intersection types?
19
8847
August 14, 2017