Fixed small issues in kotlin-stdlib-gen.

This commit is contained in:
Evgeny Gerashchenko
2013-03-20 16:37:19 +04:00
parent 724257dd23
commit 0b41436e7a
2 changed files with 2 additions and 2 deletions
@@ -76,7 +76,7 @@ fun main(args: Array<String>) {
val otherArrayNames = arrayListOf("Boolean", "Byte", "Char", "Short", "Int", "Long", "Float", "Double") val otherArrayNames = arrayListOf("Boolean", "Byte", "Char", "Short", "Int", "Long", "Float", "Double")
iterators() iterators()
templates.writeTo(File(outDir, "Iterators.kt")) { templates.writeTo(File(outDir, "_Iterators.kt")) {
buildFor(Iterators, "") buildFor(Iterators, "")
} }
@@ -49,7 +49,7 @@ class GenericFunction(val signature : String) {
} }
fun absentFor(vararg f : Family) { fun absentFor(vararg f : Family) {
blockedFor.addAll(f.toCollection()) blockedFor.addAll(f.toList())
} }
private fun effectiveTypeParams(f : Family) : List<String> { private fun effectiveTypeParams(f : Family) : List<String> {