[K/N] Fix infinite loop in ObjCExportScope
Merge-request: KT-MR-8024 Merged-by: Gleb Lukianets <Gleb.Lukianets@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
7a7d93828e
commit
454e9a6379
+1
-1
@@ -30,7 +30,7 @@ internal inline fun <reified T : ObjCExportScope> ObjCExportScope.nearestScopeOf
|
||||
if (parent is T) {
|
||||
return parent
|
||||
}
|
||||
parent = this.parent
|
||||
parent = parent.parent
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user