- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for foo (0.11 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
* * Named functions do not consider their bodies used if * - the function body is a block e.g., `fun foo(): Int { return bar }` or * - the function itself returns Unit */ private fun doesNamedFunctionUseBody(namedFunction: KtNamedFunction, body: PsiElement): Boolean = when { // The body is a block expression e.g., fun foo(): Int { return bar } namedFunction.bodyBlockExpression == body -> false
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0)