title: Type checking has run into a recursive in kotlin
body: <pre><code> val cycleRunnable = Runnable {
          handler.postDelayed(cycleRunnable,100)
      }
  </code></pre>
  
  <p>I am getting error
  Error:(219, 29) Type checking has run into a recursive problem. Easiest workaround: specify types of your declarations explicitly</p>
  
  <p>But its exact java version doesn't have any error</p>
  
  <pre><code>private final Runnable cycleRunnable = new Runnable() {
          public void run() {
                  handler.postDelayed(cycleRunnable, POST_DELAY);
          }
      };
  </code></pre>