Covered case when variable of our type is multi-declaration entry
This commit is contained in:
+1
-1
@@ -549,7 +549,7 @@ class ExpressionsOfTypeProcessor(
|
||||
*/
|
||||
private fun processSuspiciousDeclaration(declaration: KtDeclaration) {
|
||||
if (declaration is KtDestructuringDeclaration) {
|
||||
//TODO: process entries!
|
||||
declaration.entries.forEach { processSuspiciousDeclaration(it) }
|
||||
}
|
||||
else {
|
||||
if (!isImplicitlyTyped(declaration)) return
|
||||
|
||||
Reference in New Issue
Block a user