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:
James Strachan
2012-03-03 12:11:06 +00:00
parent 4a53e468fe
commit eb3aac9acb
162 changed files with 454 additions and 324 deletions
@@ -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`