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) {

      }
  }