Kotlin Discussions
Assignments are not expressions and only expressions are allowed in this context
Android
forinil2
January 15, 2018, 1:05pm
2
This was already discussed
here
show post in topic
Related topics
Topic
Replies
Views
Activity
Assignment not allow in while expression?
64
92658
October 20, 2024
Why I can't apply value inside while loop?
Support
13
20740
October 25, 2019
Compiler fails to recognize exception thrown from when expression
Language Design
5
1149
July 19, 2020
Assignments as expressions
Language Design
1
4641
March 29, 2016
Strange `is` and `as` behavior
Support
2
1156
February 24, 2017