From e31cb19a2cc65bae112b700585c80f403b15040d Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 19 May 2015 22:18:51 +0300 Subject: [PATCH] Expected output of test changed after introducing new overload of listOf. --- .../fileOrElement/methodCallExpression/collectionsMethods2.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/j2k/testData/fileOrElement/methodCallExpression/collectionsMethods2.kt b/j2k/testData/fileOrElement/methodCallExpression/collectionsMethods2.kt index 71ff9210fb1..4585f71cd2b 100644 --- a/j2k/testData/fileOrElement/methodCallExpression/collectionsMethods2.kt +++ b/j2k/testData/fileOrElement/methodCallExpression/collectionsMethods2.kt @@ -1,5 +1,5 @@ -// ERROR: Too many arguments for public fun listOf(): kotlin.List defined in kotlin -// ERROR: Too many arguments for public fun setOf(): kotlin.Set defined in kotlin +// ERROR: None of the following functions can be called with the arguments supplied: public fun listOf(): kotlin.List defined in kotlin public fun listOf(vararg values: kotlin.String): kotlin.List defined in kotlin public fun listOf(value: kotlin.String): kotlin.List defined in kotlin +// ERROR: None of the following functions can be called with the arguments supplied: public fun setOf(): kotlin.Set defined in kotlin public fun setOf(vararg values: kotlin.String): kotlin.Set defined in kotlin public fun setOf(value: kotlin.String): kotlin.Set defined in kotlin import java.util.* class A {