- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 882 for Diagnostic (0.12 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirTypeErrorType.kt
get() = withValidityAssertion { coneType.diagnostic.reason } @KaAnalysisNonPublicApi override val presentableText: String? get() = withValidityAssertion { when (val diagnostic = coneType.diagnostic) { is ConeCannotInferTypeParameterType -> diagnostic.typeParameter.name.asString() is ConeTypeVariableTypeIsNotInferred -> diagnostic.typeVariableType.typeConstructor.debugName
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/diagnosticProvider/AbstractElementDiagnosticsTest.kt
analyze(mainFile) { val diagnostics = targetDeclaration.getDiagnostics(KaDiagnosticCheckerFilter.EXTENDED_AND_COMMON_CHECKERS) val actualText = buildString { if (diagnostics.isNotEmpty()) { for (diagnostic in diagnostics) { append(diagnostic.factoryName).append(": ") diagnostic.textRanges.joinTo(this)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtAbstractFirDiagnostic.kt
override val defaultMessage: String get() = withValidityAssertion { val diagnostic = firDiagnostic as KtDiagnostic val firDiagnosticRenderer = RootDiagnosticRendererFactory(diagnostic) return firDiagnosticRenderer.render(diagnostic) } override val textRanges: Collection<TextRange> get() = withValidityAssertion { firDiagnostic.textRanges }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/jpms/ModuleJarFixture.groovy
target.closeEntry() } target.close() return result.toByteArray() } else { for (Diagnostic diagnostic : diagnostics.getDiagnostics()) { println(diagnostic.source) println(diagnostic.getMessage(null)) } throw new RuntimeException('Failure compiling test fixture') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc
ASSERT_TRUE(tensorflow::errors::IsInternal( StatusScopedDiagnosticHandler(&context).Combine(err))); } // Verify diagnostic reported are append to passed in error. { auto function = [&]() { emitError(loc) << "Diagnostic message reported"; emitError(loc) << "Second diagnostic message reported"; return tensorflow::errors::Internal("Passed in error"); }; StatusScopedDiagnosticHandler ssdh(&context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 6.7K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/AbstractDiagnosticsDataClassRenderer.kt
} protected fun collectImports(diagnosticList: HLDiagnosticList): Collection<String> = buildSet { addAll(defaultImports) for (diagnostic in diagnosticList.diagnostics) { diagnostic.original.psiType.collectClassNamesTo(this) diagnostic.parameters.forEach { diagnosticParameter -> addAll(collectImportsForDiagnosticParameter(diagnosticParameter)) } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 18 18:42:40 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompiler.java
} List<Diagnostic<? extends JavaFileObject>> diagnostics = ds.getDiagnostics().stream() .filter(d -> d.getKind() == Diagnostic.Kind.ERROR) .collect(Collectors.toList()); if (!diagnostics.isEmpty()) { throwCompilationError(diagnostics); } } private static void throwCompilationError(List<Diagnostic<? extends JavaFileObject>> diagnostics) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/url.go
package analysisflags import ( "fmt" "net/url" "golang.org/x/tools/go/analysis" ) // ResolveURL resolves the URL field for a Diagnostic from an Analyzer // and returns the URL. See Diagnostic.URL for details. func ResolveURL(a *analysis.Analyzer, d analysis.Diagnostic) (string, error) { if d.URL == "" && d.Category == "" && a.URL == "" { return "", nil // do nothing } raw := d.URL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 901 bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt
} private fun convertDiagnostic(diagnostic: DiagnosticData): List<HLDiagnostic> { return when (diagnostic){ is RegularDiagnosticData -> listOf( HLDiagnostic( original = diagnostic, severity = null, className = diagnostic.getHLDiagnosticClassName(), implClassName = diagnostic.getHLDiagnosticImplClassName(),
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt
ktCall: KaCall?, diagnostics: Diagnostics = context.diagnostics, ) = diagnostics.firstOrNull { diagnostic -> if (diagnostic.severity != Severity.ERROR) return@firstOrNull false if (diagnostic.factory in syntaxErrors) return@firstOrNull true val isResolutionError = diagnostic.factory in resolutionFailureErrors val isCallArgError = diagnostic.factory in callArgErrors
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 38.5K bytes - Viewed (0)