Skip to content

Commit

Permalink
Fixed small issues in kotlin-stdlib-gen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Gerashchenko authored and Evgeny Gerashchenko committed Mar 22, 2013
1 parent 724257d commit 0b41436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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, "")
} }


Expand Down
2 changes: 1 addition & 1 deletion libraries/tools/kotlin-stdlib-gen/src/templates/Engine.kt
Expand Up @@ -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> {
Expand Down

0 comments on commit 0b41436

Please sign in to comment.