From f6eb56c4cc4ca5c6c079bc794d4120741ed1c653 Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Mon, 10 Jul 2017 18:43:02 +0300 Subject: [PATCH] Simplify diagnostic when there are wrong number of type arguments #KT-12767 Fixed Original commit: ee173077c0fd3de59908089a0fc4e84a1c4457dc --- .../typeParameterListChanged/build.log | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jps/jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/build.log b/jps/jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/build.log index 9202c3caec9..b172c86a66c 100644 --- a/jps/jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/build.log +++ b/jps/jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/build.log @@ -51,16 +51,16 @@ End of files Exit code: ABORT ------------------------------------------ COMPILATION FAILED -One type argument expected for class A defined in foo -One type argument expected for class A defined in foo -One type argument expected for class A defined in foo +One type argument expected for class A +One type argument expected for class A +One type argument expected for class A Type inference failed: Not enough information to infer parameter T in constructor A() Please specify it explicitly. Type inference failed: Not enough information to infer parameter T in constructor A() Please specify it explicitly. Type inference failed: Not enough information to infer parameter T in constructor A() Please specify it explicitly. -One type argument expected for class A defined in foo +One type argument expected for class A ================ Step #2 =================