KotlinCompiler and tests aware on standard library

This commit is contained in:
Alex Tkachman
2011-11-28 14:36:57 +02:00
parent 627dd9cea4
commit b9f39b00c0
11 changed files with 161 additions and 68 deletions
+11
View File
@@ -0,0 +1,11 @@
namespace std
namespace util {
import java.util.*
val Collection<*>.size : Int
get() = size()
val Collection<*>.empty : Boolean
get() = isEmpty()
}