From df295ddfc454494f1db91e53b7d4b1c4d2cf4627 Mon Sep 17 00:00:00 2001 From: Stanislav Erokhin Date: Wed, 31 Aug 2016 16:03:11 +0300 Subject: [PATCH] Set reference target and report custom error instead unresolved reference for cases: interface, generic parameter, object + invoke, class without companion. #KT-2787 Fixed. Original commit: bebc75c8ef43bccc9e52c5ecc1d92ba3f9e336f4 --- .../classHierarchyAffected/classBecameInterface/build.log | 8 ++++---- .../javaUsedInKotlin/samConversions/methodAdded/build.log | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/build.log b/jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/build.log index da9c695e793..2cdbf5e2693 100644 --- a/jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/build.log +++ b/jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface/build.log @@ -52,10 +52,10 @@ Exit code: ABORT ------------------------------------------ COMPILATION FAILED This class does not have a constructor -Unresolved reference: A -Unresolved reference: A -Unresolved reference: A -Unresolved reference: A +Interface A does not have constructors +Interface A does not have constructors +Interface A does not have constructors +Interface A does not have constructors ================ Step #2 ================= diff --git a/jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded/build.log b/jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded/build.log index 33a8bd0d00d..e3554b2ccda 100644 --- a/jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded/build.log +++ b/jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded/build.log @@ -23,5 +23,5 @@ End of files Exit code: ABORT ------------------------------------------ COMPILATION FAILED -Unresolved reference: SamInterface -Unresolved reference: SamInterface +Interface SamInterface does not have constructors +Interface SamInterface does not have constructors \ No newline at end of file