Reports calls to rangeTo or the .. operator instead of calls to until.

対応する関数を使用すると、コードを単純化できます。

The quick-fix replaces rangeTo or the .. call with until.

例:


  fun foo(a: Int) {
      for (i in 0..a - 1) {

      }
  }

クイックフィックス適用後:


  fun foo(a: Int) {
      for (i in 0 until a) {

      }
  }