- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for syntacticIfNoFailures (0.12 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt
1 -> currentFailures.single() else -> MultipleFailuresResult(currentFailures.flatMap { if (it is MultipleFailuresResult) it.failures else listOf(it as SingleFailureResult) }) } fun <T> syntacticIfNoFailures(evaluate: CheckBarrierContext.() -> SyntacticResult<T>): SyntacticResult<T> = when (currentFailures.size) { 0 -> evaluate(object : CheckBarrierContext {}) 1 -> currentFailures.single()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 3.9K bytes - Viewed (0)