[SLC] SymbolLightSimpleMethod: simplify isOverride for top level functions
This commit is contained in:
committed by
Space Team
parent
4d258d7f74
commit
2c305b46df
+1
-1
@@ -170,7 +170,7 @@ internal class SymbolLightSimpleMethod(
|
||||
override fun isOverride(): Boolean = _isOverride
|
||||
|
||||
private val _isOverride: Boolean by lazyPub {
|
||||
withFunctionSymbol { it.isOverride }
|
||||
if (isTopLevel) false else withFunctionSymbol { it.isOverride }
|
||||
}
|
||||
|
||||
private val KtType.isVoidType: Boolean get() = isUnit && nullabilityType != NullabilityType.Nullable
|
||||
|
||||
Reference in New Issue
Block a user