Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for from (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

                // Given `fun f(...): R { blockExpression }`, `{ blockExpression }` is mapped to the enclosing anonymous function,
                // which may raise an exception if we attempt to retrieve, e.g., callable declaration from it.
                return null
            }
            if (function.typeReference == null) return null
            return getReturnTypeForKtDeclaration(function).nonErrorTypeOrNull()
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    else KtConstantValue.KtUnsignedLongConstantValue(long, psi)
                }
    
                ConstantValueKind.Error -> errorWithFirSpecificEntries("Should not be possible to get from FIR tree", fir = fir)
            }
        }
    
        private fun FirLiteralExpression<*>.adaptToConstKind(): FirLiteralExpression<*> {
            return kind.toLiteralExpression(
                source,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
                // Return `null` means we will use [fir.resolve.substitution.Substitutors]'s [substituteRecursive]
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                Errors.UNEXPECTED_TRAILING_LAMBDA_ON_A_NEW_LINE,
                Errors.TOO_MANY_ARGUMENTS,
                Errors.REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_FUNCTION,
                Errors.REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_ANNOTATION,
                *Errors.TYPE_MISMATCH_ERRORS.toTypedArray(),
            )
    
            private val resolutionFailureErrors: Set<DiagnosticFactoryWithPsiElement<*, *>> = setOf(
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top