Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isError (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                    || typeContext.hasNothingInNonContravariantPosition(type)
                    || type.arguments.isEmpty()
                    || typeDeclaration == null
                    || ErrorUtils.isError(typeDeclaration)
    
            if (skipArguments) {
                writeAsmType(asmType)
                return
            }
    
            val nestedType = getNestedType(type)
            if (nestedType.nested.isEmpty()) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            preserveAnnotations: Boolean,
        ): PsiType? {
            val kotlinType = (type as KtFe10Type).fe10Type
    
            with(typeMapper.typeContext) {
                if (kotlinType.contains { it.isError() }) {
                    return null
                }
            }
    
            if (!analysisSession.useSiteModule.platform.has<JvmPlatform>()) return null
    
            val typeElement = asPsiTypeElement(
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            preserveAnnotations: Boolean,
        ): PsiType? {
            val coneType = type.coneType
    
            with(rootModuleSession.typeContext) {
                if (!allowErrorTypes && coneType.contains { it.isError() }) {
                    return null
                }
            }
    
            if (!rootModuleSession.moduleData.platform.has<JvmPlatform>()) return null
    
    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)
Back to top