Remove runtime usage from unused receiver parameter tests
This commit is contained in:
+3
-5
@@ -1,16 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class Test(val str: String) {
|
||||
|
||||
private fun <caret>print() {
|
||||
println(str)
|
||||
println(this.str)
|
||||
println(this.str)
|
||||
println()
|
||||
println(this)
|
||||
}
|
||||
|
||||
fun test(test: Test) {
|
||||
print()
|
||||
test.print()
|
||||
Test("three").print()
|
||||
}
|
||||
@@ -19,3 +15,5 @@ class Test(val str: String) {
|
||||
fun main(args: Array<String>) {
|
||||
Test("one").test(Test("two"))
|
||||
}
|
||||
|
||||
fun println(a: Any) {}
|
||||
|
||||
Reference in New Issue
Block a user