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: bebc75c8ef
This commit is contained in:
Stanislav Erokhin
2016-08-31 16:03:11 +03:00
parent cd09fdd2be
commit df295ddfc4
2 changed files with 6 additions and 6 deletions
@@ -52,10 +52,10 @@ Exit code: ABORT
------------------------------------------ ------------------------------------------
COMPILATION FAILED COMPILATION FAILED
This class does not have a constructor This class does not have a constructor
Unresolved reference: A Interface A does not have constructors
Unresolved reference: A Interface A does not have constructors
Unresolved reference: A Interface A does not have constructors
Unresolved reference: A Interface A does not have constructors
================ Step #2 ================= ================ Step #2 =================
@@ -23,5 +23,5 @@ End of files
Exit code: ABORT Exit code: ABORT
------------------------------------------ ------------------------------------------
COMPILATION FAILED COMPILATION FAILED
Unresolved reference: SamInterface Interface SamInterface does not have constructors
Unresolved reference: SamInterface Interface SamInterface does not have constructors