KotlinCompiler and tests aware on standard library
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace std
|
||||
|
||||
namespace util {
|
||||
import java.util.*
|
||||
|
||||
val Collection<*>.size : Int
|
||||
get() = size()
|
||||
|
||||
val Collection<*>.empty : Boolean
|
||||
get() = isEmpty()
|
||||
}
|
||||
@@ -1,15 +1,5 @@
|
||||
namespace std
|
||||
|
||||
namespace util {
|
||||
import java.util.*
|
||||
|
||||
val <T> Collection<T>.size : Int
|
||||
get() = size()
|
||||
|
||||
val <T> Collection<T>.empty : Boolean
|
||||
get() = isEmpty()
|
||||
}
|
||||
|
||||
namespace io {
|
||||
import java.io.*
|
||||
import java.nio.charset.*
|
||||
|
||||
Reference in New Issue
Block a user