Delete traces of "jet" in test data and unimportant code

This commit is contained in:
Alexander Udalov
2015-01-13 12:11:56 +03:00
parent 8a77fca449
commit f3b2193afd
21 changed files with 32 additions and 33 deletions
@@ -4,5 +4,5 @@ class A {
fun box(): String {
val a = A()
return a.f() // does not work: (in runtime) ClassCastException: A cannot be cast to jet.Function0
return a.f() // does not work: (in runtime) ClassCastException: A cannot be cast to kotlin.Function0
}
@@ -1,4 +1,4 @@
// java.lang.ClassNotFoundException: jet.Nothing
// java.lang.ClassNotFoundException: kotlin.Nothing
var currentAccountId: Int? by SessionAccessor()
class SessionAccessor<T> {
@@ -1,5 +1,5 @@
fun box(): String {
// jet.Nothing should not be loaded here
// kotlin.Nothing should not be loaded here
val x = "" is Nothing
return "OK"
}
@@ -1,6 +1,5 @@
fun box(): String {
// This used to be problematic because of an attempt to load jet/Nothing class
// This used to be problematic because of an attempt to load kotlin/Nothing class
val x = "" is Nothing?
return "OK"
}
@@ -4,7 +4,7 @@ import java.io.*
import java.util.*
fun box() : String {
val input = StringReader("/Users/abreslav/work/jet/docs/luhnybin/src/test")
val input = StringReader("/aaa/bbb/ccc/ddd")
val luhny = Luhny()
input.forEachChar {
@@ -86,7 +86,7 @@ class Luhny() {
toBeMasked--
}
else {
print(c)
// print(c)
}
}
}
@@ -4,7 +4,7 @@ import java.io.*
import java.util.*
fun box() : String {
val input = StringReader("/Users/abreslav/work/jet/docs/luhnybin/src/test")
val input = StringReader("/aaa/bbb/ccc/ddd")
val luhny = Luhny()
input.forEachChar {
@@ -81,7 +81,7 @@ class Luhny() {
kotlin.io.print('X')
toBeMasked--
} else {
kotlin.io.print(c)
// kotlin.io.print(c)
}
}
}
@@ -4,7 +4,7 @@ import java.io.*
import java.util.*
fun box() : String {
val input = StringReader("/Users/abreslav/work/jet/docs/luhnybin/src/test")
val input = StringReader("/aaa/bbb/ccc/ddd")
val luhny = Luhny()
input.forEachChar {
@@ -79,7 +79,7 @@ class Luhny() {
toBeMasked--
}
else {
print(c)
// print(c)
}
}
}