override def compare()

in src/main/scala/kotlin/KotlinVersion.scala [11:18]


  override def compare(that: KotlinVersion): Int = {
    val base = (major, minor, patch).compare((that.major, that.minor, that.patch))
    if (base != 0) base
    else {
      val kind = kindSuffix.compareTo(that.kindSuffix)
      if (kind != 0) kind else buildNumber.compare(that.buildNumber)
    }
  }