From dcd7f3eb576e46434476faa3c1c6cf01a2af3d77 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 10 Jan 2017 21:49:36 +0300 Subject: [PATCH] Fix test data after introducing overloads #KT-15630 --- .../testData/ir/irText/declarations/classLevelProperties.txt | 2 +- .../testData/ir/irText/declarations/delegatedProperties.txt | 2 +- .../ir/irText/declarations/localDelegatedProperties.txt | 2 +- .../testData/ir/irText/declarations/packageLevelProperties.txt | 2 +- idea/testData/navigation/gotoSymbol/stdLibArrayListOf.kt | 1 + .../navigation/gotoSymbol/stdLibArrayListOfNoSources.kt | 1 + 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.txt index 77405d4a259..b920d86edb0 100644 --- a/compiler/testData/ir/irText/declarations/classLevelProperties.txt +++ b/compiler/testData/ir/irText/declarations/classLevelProperties.txt @@ -92,7 +92,7 @@ FILE /classLevelProperties.kt PROPERTY public final var test8: kotlin.Int FIELD DELEGATE val `test8$delegate`: java.util.HashMap EXPRESSION_BODY - CALL 'hashMapOf(vararg Pair): HashMap' type=java.util.HashMap origin=null + CALL 'hashMapOf(): HashMap' type=java.util.HashMap origin=null : String : Int FUN DELEGATED_PROPERTY_ACCESSOR public final fun (): kotlin.Int diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.txt index 442fb15c428..efe95669232 100644 --- a/compiler/testData/ir/irText/declarations/delegatedProperties.txt +++ b/compiler/testData/ir/irText/declarations/delegatedProperties.txt @@ -79,7 +79,7 @@ FILE /delegatedProperties.kt PROPERTY public var test4: kotlin.Any FIELD DELEGATE val `test4$delegate`: java.util.HashMap EXPRESSION_BODY - CALL 'hashMapOf(vararg Pair): HashMap' type=java.util.HashMap origin=null + CALL 'hashMapOf(): HashMap' type=java.util.HashMap origin=null : String : Any FUN DELEGATED_PROPERTY_ACCESSOR public fun (): kotlin.Any diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.txt index 4b8225cf2b6..1d5b7e95d00 100644 --- a/compiler/testData/ir/irText/declarations/localDelegatedProperties.txt +++ b/compiler/testData/ir/irText/declarations/localDelegatedProperties.txt @@ -25,7 +25,7 @@ FILE /localDelegatedProperties.kt BLOCK_BODY LOCAL_DELEGATED_PROPERTY var x: kotlin.Int VAR DELEGATE val `x$delegate`: java.util.HashMap - CALL 'hashMapOf(vararg Pair): HashMap' type=java.util.HashMap origin=null + CALL 'hashMapOf(): HashMap' type=java.util.HashMap origin=null : String : Int FUN DELEGATED_PROPERTY_ACCESSOR local final fun (): kotlin.Int diff --git a/compiler/testData/ir/irText/declarations/packageLevelProperties.txt b/compiler/testData/ir/irText/declarations/packageLevelProperties.txt index 549e2fcd1f4..11b26d29e64 100644 --- a/compiler/testData/ir/irText/declarations/packageLevelProperties.txt +++ b/compiler/testData/ir/irText/declarations/packageLevelProperties.txt @@ -78,7 +78,7 @@ FILE /packageLevelProperties.kt PROPERTY public var test8: kotlin.Int FIELD DELEGATE val `test8$delegate`: java.util.HashMap EXPRESSION_BODY - CALL 'hashMapOf(vararg Pair): HashMap' type=java.util.HashMap origin=null + CALL 'hashMapOf(): HashMap' type=java.util.HashMap origin=null : String : Int FUN DELEGATED_PROPERTY_ACCESSOR public fun (): kotlin.Int diff --git a/idea/testData/navigation/gotoSymbol/stdLibArrayListOf.kt b/idea/testData/navigation/gotoSymbol/stdLibArrayListOf.kt index 76403f2cef7..15d0becadd2 100644 --- a/idea/testData/navigation/gotoSymbol/stdLibArrayListOf.kt +++ b/idea/testData/navigation/gotoSymbol/stdLibArrayListOf.kt @@ -1,4 +1,5 @@ // RUNTIME_WITH_SOURCES // CHECK_BOX // SEARCH_TEXT: arrayListOf +// REF: (kotlin.collections).arrayListOf() // REF: (kotlin.collections).arrayListOf(T) diff --git a/idea/testData/navigation/gotoSymbol/stdLibArrayListOfNoSources.kt b/idea/testData/navigation/gotoSymbol/stdLibArrayListOfNoSources.kt index 86b4e69d729..cdd39bf7616 100644 --- a/idea/testData/navigation/gotoSymbol/stdLibArrayListOfNoSources.kt +++ b/idea/testData/navigation/gotoSymbol/stdLibArrayListOfNoSources.kt @@ -1,4 +1,5 @@ // RUNTIME // CHECK_BOX // SEARCH_TEXT: arrayListOf +// REF: (kotlin.collections).arrayListOf() // REF: (kotlin.collections).arrayListOf(T)