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
7745
January 10, 2019
Self Types
Language Design
84
31982
October 24, 2022
Cleaner self returning functions
Language Design
4
1757
April 29, 2020
How do I return `this` from a method of a subclass?
13
4550
July 5, 2024
Creating chainable methods in an interface
Support
3
1552
August 5, 2019