refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)
This commit is contained in:
@@ -74,7 +74,7 @@ fun bottlesOfBeer(count : Int) : String =
|
||||
*/
|
||||
|
||||
|
||||
// From the std package
|
||||
// From the kotlin package
|
||||
// This is an extension property, i.e. a property that is defined for the
|
||||
// type Array<T>, but does not sit inside the class Array
|
||||
val <T> Array<T>.isEmpty : Boolean get() = size == 0
|
||||
|
||||
Reference in New Issue
Block a user