Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Evaluation (0.16 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            val constant = ConstantExpressionEvaluator.getPossiblyErrorConstant(expression, bindingContext)
            if (mode == KtConstantEvaluationMode.CONSTANT_EXPRESSION_EVALUATION) {
                // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access
                if (constant?.usesNonConstValAsConstant == true) return null
            }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Mar 28 08:17:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top