diff --git a/idea/idea-completion/testData/smart/ImplicitlyTypedValInitializer2.kt b/idea/idea-completion/testData/smart/ImplicitlyTypedValInitializer2.kt index eb16eabfffe..4f377067022 100644 --- a/idea/idea-completion/testData/smart/ImplicitlyTypedValInitializer2.kt +++ b/idea/idea-completion/testData/smart/ImplicitlyTypedValInitializer2.kt @@ -2,5 +2,5 @@ class A(s: String) { val v = s.length() } -// EXIST: size +// EXIST: hashCode // ABSENT: substring \ No newline at end of file diff --git a/idea/idea-completion/testData/smart/generics/GenericFunction1.kt b/idea/idea-completion/testData/smart/generics/GenericFunction1.kt index 972a71b8785..6eccfa87aad 100644 --- a/idea/idea-completion/testData/smart/generics/GenericFunction1.kt +++ b/idea/idea-completion/testData/smart/generics/GenericFunction1.kt @@ -4,5 +4,5 @@ fun f(){ foo() } -// EXIST: { lookupString: "array", tailText: "(vararg t: String) (kotlin)", typeText: "Array" } +// EXIST: { lookupString: "arrayOf", tailText: "(vararg t: String) (kotlin)", typeText: "Array" } // ABSENT: arrayOfNulls diff --git a/idea/idea-completion/testData/smart/generics/GenericFunction2.kt b/idea/idea-completion/testData/smart/generics/GenericFunction2.kt index 3c9ad1390fe..c448cb83375 100644 --- a/idea/idea-completion/testData/smart/generics/GenericFunction2.kt +++ b/idea/idea-completion/testData/smart/generics/GenericFunction2.kt @@ -4,5 +4,5 @@ fun f(){ foo() } -// EXIST: { lookupString: "array", tailText: "(vararg t: String?) (kotlin)", typeText: "Array" } +// EXIST: { lookupString: "arrayOf", tailText: "(vararg t: String?) (kotlin)", typeText: "Array" } // EXIST: { lookupString: "arrayOfNulls", tailText: "(size: Int) (kotlin)", typeText: "Array" } diff --git a/idea/testData/findUsages/kotlin/conventions/componentFunctions.1.kt b/idea/testData/findUsages/kotlin/conventions/componentFunctions.1.kt index 767210b8f9c..97515185643 100644 --- a/idea/testData/findUsages/kotlin/conventions/componentFunctions.1.kt +++ b/idea/testData/findUsages/kotlin/conventions/componentFunctions.1.kt @@ -1,4 +1,4 @@ fun test() { - for ((x, y, z) in array()) { + for ((x, y, z) in arrayOf()) { } } diff --git a/idea/testData/findUsages/kotlin/conventions/componentFunctions.results.txt b/idea/testData/findUsages/kotlin/conventions/componentFunctions.results.txt index 4af815b8900..21778982c9f 100644 --- a/idea/testData/findUsages/kotlin/conventions/componentFunctions.results.txt +++ b/idea/testData/findUsages/kotlin/conventions/componentFunctions.results.txt @@ -1,4 +1,4 @@ [componentFunctions.0.kt] Function call (9: 7) a.component1() [componentFunctions.0.kt] Value read (10: 9) val (x, y, z) = a [componentFunctions.0.kt] Value read (8: 7) a.n -[componentFunctions.1.kt] Value read (2: 10) for ((x, y, z) in array()) { \ No newline at end of file +[componentFunctions.1.kt] Value read (2: 10) for ((x, y, z) in arrayOf()) { \ No newline at end of file