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:
@@ -4,7 +4,7 @@ import java.util.Collection
|
||||
import java.util.ArrayList
|
||||
import java.util.regex.Pattern
|
||||
|
||||
import std.util.*
|
||||
import kotlin.util.*
|
||||
|
||||
class C{
|
||||
public fun foo(){
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import std.*
|
||||
import kotlin.*
|
||||
|
||||
fun box() : String {
|
||||
val vector = java.util.Vector<Int>()
|
||||
|
||||
@@ -78,10 +78,10 @@ class Luhny() {
|
||||
|
||||
private fun print(c : Char) {
|
||||
if (c.isDigit() && toBeMasked > 0) {
|
||||
std.io.print('X')
|
||||
kotlin.io.print('X')
|
||||
toBeMasked--
|
||||
} else {
|
||||
std.io.print(c)
|
||||
kotlin.io.print(c)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import std.*
|
||||
import kotlin.*
|
||||
|
||||
val test = "lala".javaClass
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package foo
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import std.util.*
|
||||
import kotlin.util.*
|
||||
|
||||
fun box() : String {
|
||||
val a = ArrayList<Int>();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import std.util.*
|
||||
import kotlin.util.*
|
||||
import java.io.*
|
||||
import java.util.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user