Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 882 for Diagnostic (0.11 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			t0 := time.Now()
    			act.result, act.err = a.Run(pass)
    
    			if act.err == nil { // resolve URLs on diagnostics.
    				for i := range act.diagnostics {
    					if url, uerr := analysisflags.ResolveURL(a, act.diagnostics[i]); uerr == nil {
    						act.diagnostics[i].URL = url
    					} else {
    						act.err = uerr // keep the last error
    					}
    				}
    			}
    			if false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            return firFile
        }
    
        private fun computeErrors(
            diagnostics: Collection<DiagnosticMarker>,
            allowedErrorFilter: (KaDiagnostic) -> Boolean,
        ): List<KaDiagnostic> {
            return buildList {
                for (diagnostic in diagnostics) {
                    require(diagnostic is KtPsiDiagnostic)
    
                    if (diagnostic.severity == Severity.ERROR) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. platforms/ide/problems-api/src/main/java/org/gradle/problems/ProblemDiagnostics.java

    import org.gradle.internal.code.UserCodeSource;
    import org.gradle.internal.problems.failure.Failure;
    
    import javax.annotation.Nullable;
    import java.util.List;
    
    /**
     * An immutable set of diagnostic information for a problem.
     */
    public interface ProblemDiagnostics {
    
        /**
         * A stack tracing failure associated with the problem.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            if (bindingContext[BindingContext.SMARTCAST_NULL, expression] == true) {
                return true
            }
    
            for (diagnostic in bindingContext.diagnostics.forElement(unwrapped)) {
                if (diagnostic.factory == Errors.ALWAYS_NULL) {
                    return true
                }
            }
    
            return false
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/gotos.go

    // error shows first (outermost) offending block
    func _() {
    	goto L /* ERROR "goto L jumps into block" */
    	{
    		{
    			{
    			L:
    			}
    		}
    	}
    }
    
    // error prefers block diagnostic over declaration diagnostic
    func _() {
    	goto L /* ERROR "goto L jumps into block" */
    	x := 1
    	_ = x
    	{
    	L:
    	}
    }
    
    // many kinds of blocks, all invalid to jump into or among,
    // but valid to jump out of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go

    				continue // short-circuit the heavy-weight gofmt check
    			}
    			le := analysisutil.Format(pass.Fset, lhs)
    			re := analysisutil.Format(pass.Fset, rhs)
    			if le == re {
    				pass.Report(analysis.Diagnostic{
    					Pos: stmt.Pos(), Message: fmt.Sprintf("self-assignment of %s to %s", re, le),
    					SuggestedFixes: []analysis.SuggestedFix{
    						{Message: "Remove", TextEdits: []analysis.TextEdit{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

    import javax.lang.model.element.ElementKind;
    import javax.lang.model.element.ExecutableElement;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.type.TypeMirror;
    import javax.tools.Diagnostic;
    import java.lang.annotation.Annotation;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.HashSet;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

        /**
         * Returns the display name of this file collection. Used in log and error messages.
         *
         * @return the display name
         */
        String getDisplayName();
    
        /**
         * Appends diagnostic information about the contents of this collection to the given formatter.
         */
        TreeFormatter describeContents(TreeFormatter formatter);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/extractdoc.go

    //	//
    //	// # Analyzer halting
    //	//
    //	// halting: reports whether execution will halt.
    //	//
    //	// The halting analyzer reports a diagnostic for functions
    //	// that run forever. To suppress the diagnostics, try inserting
    //	// a 'break' statement into each loop.
    //	package halting
    //
    //	import _ "embed"
    //
    //	//go:embed doc.go
    //	var doc string
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

    ErrorCollectorInstrumentation::ErrorCollectorInstrumentation(
        MLIRContext *context)
        : error_collector_(ErrorCollector::GetErrorCollector()) {
      handler_ = std::make_unique<ScopedDiagnosticHandler>(
          context, [this](Diagnostic &diag) {
            if (diag.getSeverity() == DiagnosticSeverity::Error) {
              Location loc = diag.getLocation();
              std::string error_message = diag.str();
              std::string op_name, error_code;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top