Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for instead (0.2 sec)

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

    import org.jetbrains.kotlin.resolve.source.PsiSourceFile
    import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedContainerSource
    
    /**
     * Whether unbound IR symbols should be stubbed instead of linked.
     * This should be enabled if the compiled file could refer to symbols defined in another file of the same module.
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
        }
    }
    
    /**
     * Use-site substitution override are tracked through [CallableDescriptor.getOriginal]. Note that overridden symbols are accessed through
     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
     */
    @Suppress("UNCHECKED_CAST")
    private fun <T : CallableDescriptor> T.unwrapUseSiteSubstitutionOverride(): T {
        var current: CallableDescriptor = this
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                .asSequence()
                .filter { withImplicitReceivers || it.implicitReceiver == null }
                .flatMap {
                    // We must use `it.getAvailableScopes()` instead of `it.scope` to check scopes of companion objects
                    // and context receivers as well.
                    it.getAvailableScopes()
                }
    
            val result = buildList {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        }
    
        internal fun adjustResolutionExpression(expression: KtElement): KtElement {
            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        // to the set of files that will be compiled (and do the same for these files recursively).
        // As it's basically a DAG traversal, we can keep a queue instead of making recursive calls.
        val allFiles = this
        val filesQueueToAnalyze = ArrayDeque(allFiles)
        val collector = InlineFunctionsCollector(allFiles.first().project, reifiedInlineFunctionsOnly = false) { declaration ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            return KtSuccessCallInfo(KtGenericTypeQualifier(token, psiElement))
        }
    
        /**
         * When resolving the calleeExpression of a `KtCallExpression`, we resolve the entire `KtCallExpression` instead. This way, the
         * corresponding FIR element is the `FirFunctionCall`, etc. Implicit invoke is then specially handled after obtaining the
         * `FirImplicitInvokeCall`.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(symbol is KtFirSymbol<*>)
            val firSymbol = symbol.firSymbol
            check(firSymbol is FirCallableSymbol<*>) {
                "Fir declaration should be FirCallableDeclaration; instead it was ${firSymbol::class}"
            }
            return firSymbol.dispatchReceiverType(analysisSession.firSymbolBuilder)
        }
    
        override fun getArrayElementType(type: KtType): KtType? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         *
         * fun take(list: List<String>) {
         *   list.get(10) // this call
         * }
         * ```
         *
         * In FIR, `List::get` symbol in the example will be a substitution override with a `String` instead of `A`.
         * We want to lift such substitution overrides.
         *
         * @receiver A declaration that needs to be unwrapped.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. ChangeLog.md

    - [`KT-58906`](https://youtrack.jetbrains.com/issue/KT-58906) K2. "Backend Internal error: Exception during IR lowering" instead of CANNOT_INFER_PARAMETER_TYPE error when parameter type missing in lambda
    - [`KT-59490`](https://youtrack.jetbrains.com/issue/KT-59490) K2: build km-shop
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
             * [org.jetbrains.kotlin.backend.jvm.lower.ReflectiveAccessLowering.visitGetField] (or visitSetField) generates the access without
             * asking.
             */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
Back to top