Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
naixx committed Oct 12, 2014
1 parent da6965c commit 29b818f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/lambda/kotlin/KotlinDemo.kt
Expand Up @@ -15,7 +15,7 @@ private val CHARACTERS = array(
)

fun main(args : Array<String>) {
val docks = CHARACTERS.filter { 2 in it.seasons.any }
val docks = CHARACTERS.filter { 2 in it.seasons }
.sortBy { it.seasons.size }
.map { it.name }

Expand Down

0 comments on commit 29b818f

Please sign in to comment.