Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exists (0.09 sec)

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

            val typeArguments = constructedTypeRef.coneType.typeArguments
            // In all cases, the size of arguments and parameters is the same,
            // so this check exists just to be sure
            if (typeArguments.size != typeParameters.size) return emptyMap()
    
            return buildMap(typeArguments.size) {
                for ((index, projection) in typeArguments.withIndex()) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Checks whether `this` expression references the closest receiver in the current position.
         *
         * If it is the case, then we can safely remove the label from it (if it exists).
         */
        private fun FirThisReference.referencesClosestReceiver(): Boolean {
            require(!isImplicit) {
                "It doesn't make sense to handle implicit this references"
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
Back to top