JetBrains/kotlin — pull request #483 by MichaelNedzelsky (2014-06-18 09:45:02+00:00)
Title: fix issue KT-5234 and KT-5058: 'when' statement in 'for', 'while' ...

The title says it all.