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
93689
October 20, 2024
Why I can't apply value inside while loop?
Support
14
21078
April 14, 2025
Compiler fails to recognize exception thrown from when expression
Language Design
5
1228
July 19, 2020
Assignments as expressions
Language Design
1
4758
March 29, 2016
Strange `is` and `as` behavior
Support
2
1200
February 24, 2017