Add toString() to Any, fix all tests
#KT-4517 Fixed
This commit is contained in:
@@ -76,7 +76,7 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
|
||||
|
||||
override fun hashCode(): Int $hashCode
|
||||
|
||||
fun toString(): String = ${"if (increment > 0) \"\$start..\$end step \$increment\" else \"\$start downTo \$end step \${-increment}\""}
|
||||
override fun toString(): String = ${"if (increment > 0) \"\$start..\$end step \$increment\" else \"\$start downTo \$end step \${-increment}\""}
|
||||
}""")
|
||||
out.println()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user