Cleanup deprecated symbol usages in testData

This commit is contained in:
Ilya Gorbunov
2016-01-16 20:10:40 +03:00
parent eefbd72a64
commit 25c4453dc5
403 changed files with 933 additions and 921 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ Compile bytecode for arrayOf(1, 2).map { it.toString() }
Compile bytecode for arrayOf(1, 2, 101, 102).filter { it > 100 }
Compile bytecode for arrayOf(1, 2).none()
Compile bytecode for arrayOf(1, 2).count()
Compile bytecode for arrayOf(1, 2).size()
Compile bytecode for arrayOf(1, 2).size
Compile bytecode for arrayOf(1, 2).first()
Compile bytecode for arrayOf(1, 2).last()
Compile bytecode for intArrayOf(1, 2).max()
+2 -2
View File
@@ -31,12 +31,12 @@ clearCache.kt:52
Compile bytecode for o.test()
clearCache.kt:60
clearCache.kt:78
Compile bytecode for c.size()
Compile bytecode for c.size
clearCache.kt:86
clearCache.kt:95
clearCache.kt:105
clearCache.kt:113
Compile bytecode for c.size()
Compile bytecode for c.size
clearCache.kt:123
Compile bytecode for o.test()
clearCache.kt:131
+2 -2
View File
@@ -6,11 +6,11 @@ Compile bytecode for arrayListOf(1, 2).map { it.toString() }
Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
Compile bytecode for arrayListOf(1, 2).max()
Compile bytecode for arrayListOf(1, 2).count()
Compile bytecode for arrayListOf(1, 2).size()
Compile bytecode for arrayListOf(1, 2).size
Compile bytecode for arrayListOf(1, 2).drop(1)
Compile bytecode for ar.map { if (it > 50) "big" else "small" }
.filter { it == "small" }
.size()
.size
// RESULT: 2: I
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
@@ -10,7 +10,7 @@ import kotlin.reflect.KProperty
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
args.size()
args.size
}
class A {
@@ -28,6 +28,7 @@ class MyDelegateThrowsException {
// PRINT_FRAME
Compile bytecode for args.size
frame = main():9, DelegatedPropertyInClassKt {delegatedPropertyInClass}
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClass.kt, 6)
local = a: delegatedPropertyInClass.A = {delegatedPropertyInClass.A@uniqueID} (sp = delegatedPropertyInClass.kt, 7)
@@ -40,6 +41,7 @@ class MyDelegateThrowsException {
field = detailMessage: java.lang.String = null (sp = Throwable.!EXT!)
field = cause: java.lang.Throwable = {java.lang.IllegalStateException@uniqueID}java.lang.IllegalStateException (sp = Throwable.!EXT!)
field = stackTrace: java.lang.StackTraceElement[] = null (sp = Throwable.!EXT!)
extra = args.size
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -10,7 +10,7 @@ import kotlin.reflect.KProperty
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
args.size()
args.size
}
class A {
@@ -24,11 +24,13 @@ class MyDelegate {
// RENDER_DELEGATED_PROPERTIES: false
// PRINT_FRAME
Compile bytecode for args.size
frame = main():9, DelegatedPropertyInClassWoRendererKt {delegatedPropertyInClassWoRenderer}
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 6)
local = a: delegatedPropertyInClassWoRenderer.A = {delegatedPropertyInClassWoRenderer.A@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 7)
field = prop: int = {delegatedPropertyInClassWoRenderer.MyDelegate@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 13)
- Class has no fields
extra = args.size
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -4,7 +4,7 @@ Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socke
extractLocalVariables.kt:7
Compile bytecode for a
Compile bytecode for klass.f1(1)
Compile bytecode for args.size()
Compile bytecode for args.size
Compile bytecode for klass.b
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
+1 -1
View File
@@ -5,7 +5,7 @@ simple.kt:6
Compile bytecode for 1
Compile bytecode for 1 + 1
Compile bytecode for val a = 1
a + args.size()
a + args.size
// RESULT: 1: I
+3 -3
View File
@@ -5,11 +5,11 @@ stdlib.kt:5
Compile bytecode for arrayOf(100, 101)
Compile bytecode for arrayOf("a", "b", "c")
Compile bytecode for intArrayOf(1, 2)
Compile bytecode for javaClass<String>()
Compile bytecode for javaClass<Int>()
Compile bytecode for String::class.java
Compile bytecode for Int::class.java
Compile bytecode for 100.toInt()
Compile bytecode for 100.toLong()
Compile bytecode for args.sortedBy { it }.size()
Compile bytecode for args.sortedBy { it }.size
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
+3 -1
View File
@@ -7,7 +7,7 @@ package toStringRenderer
fun main(args: Array<String>) {
val a = A()
//Breakpoint!
args.size()
args.size
}
class A {
@@ -15,10 +15,12 @@ class A {
}
// PRINT_FRAME
Compile bytecode for args.size
frame = main():6, ToStringRendererKt {toStringRenderer}
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = toStringRenderer.kt, 3)
local = a: toStringRenderer.A = {toStringRenderer.A@uniqueID}myA (sp = toStringRenderer.kt, 4)
- Class has no fields
extra = args.size
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0