<https://youtrack.jetbrains.com/issue/KT-22274> I ...
# announcements
d
https://youtrack.jetbrains.com/issue/KT-22274 I think this is the fix they are planning
Copy code
Proposed Changes
Labels are allowed only on loop statements ('for', 'while', 'do-while'), inline lambdas, and inline anonymous functions.
Any other labeled statement is an error.