Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasCommonSubTypeWith (0.26 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractHasCommonSubtypeTest.kt

                            super.visitCallExpression(expression)
                            return
                        }
                        if (haveCommonSubtype != aType.hasCommonSubTypeWith(bType)) {
                            if (haveCommonSubtype) {
                                actualTextBuilder.append("typesHaveNoCommonSubtype")
                            } else {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        /** Check whether this type is compatible with that type. If they are compatible, it means they can have a common subtype. */
        public fun KaType.hasCommonSubTypeWith(that: KaType): Boolean =
            withValidityAssertion { analysisSession.typeProvider.haveCommonSubtype(this, that) }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top