title: Jump out of for loop in kotlin
body: <p>I have this simple loop and condition, but you see below I can't jump out of loop :</p>
  
  <pre><code>rwloop@ for (z in rendered_words.size-1 downTo 0 )
                  {
                      var css_=rendered_words[z].node.attr("class")
                      css_?.let {
                          if (css_=="classzero") {
                              break@rwloop
                          }
                      }
                  }
  </code></pre>
  
  <p>But I receive this error in <strong>break@rwloop</strong> :</p>
  
  <blockquote>
    <p>break' or 'continue' jumps across a function or a
    class boundary</p>
  </blockquote>