Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 882 for Diagnostic (0.17 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCallInfo.kt

    /**
     * Call that contains errors.
     */
    public class KaErrorCallInfo(
        candidateCalls: List<KaCall>,
        diagnostic: KaDiagnostic,
        override val token: KaLifetimeToken,
    ) : KaCallInfo() {
        public val candidateCalls: List<KaCall> by validityAsserted(candidateCalls)
        public val diagnostic: KaDiagnostic by validityAsserted(diagnostic)
    }
    
    public val KaCallInfo.calls: List<KaCall>
        get() = when (this) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                val errorType = expression.resolvedType as? ConeErrorType
                val unresolvedName = when (val diagnostic = errorType?.diagnostic) {
                    is ConeUnresolvedTypeQualifierError -> diagnostic.qualifier
                    is ConeUnresolvedNameError -> diagnostic.qualifier
                    else -> null
                }
                qualifierParts += unresolvedName
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/error_util.h

      // Returns Status corresponding to the diagnostics reported. This consumes
      // the diagnostics reported and returns a Status of type Unknown. It is
      // required to consume the error status, if there is one, before destroying
      // the object.
      Status ConsumeStatus();
    
      // Returns the combination of the passed in status and consumed diagnostics.
      // This consumes the diagnostics reported and either appends the diagnostics
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

        candidate: KaCall,
        isInBestCandidates: Boolean,
        diagnostic: KaDiagnostic,
    ) : KaCallCandidateInfo(candidate, isInBestCandidates) {
        /**
         * The reason the [candidate] was not applicable for the call (e.g., argument type mismatch, or no value for parameter).
         */
        public val diagnostic: KaDiagnostic by validityAsserted(diagnostic)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

            def checkDiagnostic = { diagnostic ->
                if (diagnostic.kind.name() == 'ERROR') {
                    String[] lines = source.split("\n")
                    int lineNo = diagnostic.lineNumber - 1
    
                    def message = "Compilation error in sample in line: \n" + lines[lineNo] + "\n" + diagnostic + "\n"
                    message = message - sourceFile.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGeneratorHost.java

                if (maybeOriginatingElement.isPresent()) {
                    messager.printMessage(Diagnostic.Kind.ERROR, details.reason, maybeOriginatingElement.get());
                } else {
                    messager.printMessage(Diagnostic.Kind.ERROR, details.reason);
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

            }
        }
    
        private fun dumpDiagnostic(diagnostic: KaDiagnostic): String {
            val textRanges = when (diagnostic) {
                is KaDiagnosticWithPsi<*> -> {
                    diagnostic.textRanges.singleOrNull()?.toString()
                        ?: diagnostic.textRanges.joinToString(prefix = "[", postfix = "]")
                }
                else -> null
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

    import org.jetbrains.kotlin.fir.resolve.diagnostics.ConeAmbiguityError
    import org.jetbrains.kotlin.fir.resolve.diagnostics.ConeUnresolvedError
    import org.jetbrains.kotlin.fir.resolve.diagnostics.ConeUnresolvedNameError
    import org.jetbrains.kotlin.fir.resolve.diagnostics.ConeUnresolvedReferenceError
    import org.jetbrains.kotlin.fir.resolve.diagnostics.ConeUnresolvedSymbolError
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue27340/a.go

    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    only for the extensions it needs.
    
    The Report function emits a diagnostic, a message associated with a
    source position. For most analyses, diagnostics are their primary
    result.
    For convenience, Pass provides a helper method, Reportf, to report a new
    diagnostic by formatting a string.
    Diagnostic is defined as:
    
    	type Diagnostic struct {
    		Pos      token.Pos
    		Category string // optional
    		Message  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top