Skip to content
Browse files

Fixed small issues in kotlin-stdlib-gen.

  • Loading branch information...
1 parent 724257d commit 0b41436e7a9ecac93e00bbc3463a00a38b5279de Evgeny Gerashchenko committed Mar 20, 2013
View
2 libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt
@@ -76,7 +76,7 @@ fun main(args: Array<String>) {
val otherArrayNames = arrayListOf("Boolean", "Byte", "Char", "Short", "Int", "Long", "Float", "Double")
iterators()
- templates.writeTo(File(outDir, "Iterators.kt")) {
+ templates.writeTo(File(outDir, "_Iterators.kt")) {
buildFor(Iterators, "")
}
View
2 libraries/tools/kotlin-stdlib-gen/src/templates/Engine.kt
@@ -49,7 +49,7 @@ class GenericFunction(val signature : String) {
}
fun absentFor(vararg f : Family) {
- blockedFor.addAll(f.toCollection())
+ blockedFor.addAll(f.toList())
}
private fun effectiveTypeParams(f : Family) : List<String> {

0 comments on commit 0b41436

Please sign in to comment.
Something went wrong with that request. Please try again.