K2: add ACCIDENTAL_OVERRIDE_CLASH_BY_JVM_SIGNATURE for clashing functions
This diagnostic is reported on an explicitly-declared function which overrides a regular Java function with the same signature as a hidden one from the same scope. #KT-64846 Fixed
This commit is contained in:
committed by
Space Team
parent
8f9614c1fb
commit
7615d863d5
+1
@@ -589,6 +589,7 @@ val FIR_NON_SUPPRESSIBLE_ERROR_NAMES: Set<String> = setOf(
|
||||
"FUNCTION_DELEGATE_MEMBER_NAME_CLASH",
|
||||
"VALUE_CLASS_WITHOUT_JVM_INLINE_ANNOTATION",
|
||||
"JVM_INLINE_WITHOUT_VALUE_CLASS",
|
||||
"ACCIDENTAL_OVERRIDE_CLASH_BY_JVM_SIGNATURE",
|
||||
"JAVA_TYPE_MISMATCH",
|
||||
"UPPER_BOUND_CANNOT_BE_ARRAY",
|
||||
"STRICTFP_ON_CLASS",
|
||||
|
||||
Reference in New Issue
Block a user