Don't report UNUSED_PARAMETER in main from object #KT-37718 Fixed
This commit is contained in:
@@ -745,6 +745,11 @@ class ControlFlowInformationProvider private constructor(
|
||||
}
|
||||
return
|
||||
}
|
||||
else -> {
|
||||
if (owner.containingClassOrObject != null) {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (functionDescriptor.isOperator && functionName in OperatorNameConventions.DELEGATED_PROPERTY_OPERATORS) {
|
||||
|
||||
Reference in New Issue
Block a user