Do not report unhelpful diagnostic for unresolved call inside inline function

#KT-14887 Fixed
This commit is contained in:
Alexander Udalov
2016-10-26 16:29:37 +03:00
parent eacf64e4db
commit 525e6e53fe
4 changed files with 20 additions and 2 deletions
@@ -359,7 +359,7 @@ public class ErrorUtils {
ERROR_CLASS,
Annotations.Companion.getEMPTY(),
Modality.OPEN,
Visibilities.INTERNAL,
Visibilities.PUBLIC,
true,
Name.special("<ERROR PROPERTY>"),
CallableMemberDescriptor.Kind.DECLARATION,
@@ -386,7 +386,7 @@ public class ErrorUtils {
Collections.<ValueParameterDescriptor>emptyList(), // TODO
createErrorType("<ERROR FUNCTION RETURN TYPE>"),
Modality.OPEN,
Visibilities.INTERNAL
Visibilities.PUBLIC
);
return function;
}