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:
@@ -28,8 +28,8 @@ fun test() {
|
||||
val y = 1.`abs`abs
|
||||
}
|
||||
~abs~val Int.abs : Int
|
||||
get() = if (this`:std::Int` > 0) this else -this`:std::Int`;
|
||||
get() = if (this`:kotlin::Int` > 0) this else -this`:kotlin::Int`;
|
||||
|
||||
val <~TT~T> `TT`T.foo : `TT`T
|
||||
|
||||
~foo~fun Int.foo() = this`:std::Int`
|
||||
~foo~fun Int.foo() = this`:kotlin::Int`
|
||||
Reference in New Issue
Block a user