Kotlin Discussions
Type inference for constructor parameters with default values
Language Design
tieskedh
July 27, 2017, 10:24pm
2
But there is an issue on Youtrack for what you want:
https://youtrack.jetbrains.com/issue/KT-19046
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Why can not type of function parameters with default value be omited?
Language Design
9
5689
July 15, 2017
Type inference for arguments with default values?
Language Design
2
2805
July 22, 2017
Question about compiler non-null inference
Language Design
5
1289
February 15, 2022
Kotlin sublass constructors do not inherit default parameter values
Language Design
1
861
January 11, 2024
Kotlin function type inference
2
3560
March 22, 2013