Skip to content

Potential Errors

Addresses ISO 26262-8 11.4.4.2 f (Norm Mapping)

Each potential error is a way one of the analyzed nodes can deviate from what the node should do. The errors come from applying the guide words to the nodes. That way, the list is meant to be systematic, rather than a collection of things we happened to think of.

Every error ends up in one of two places. If we can detect an error, a detection measure covers the error, and a test proves that the detection works. If we can’t detect an error, the error becomes a constraint on the integrator, because only the integrator can rule the error out.

This chapter covers the tools. The errors of the runtime are in the runtime’s Safety Analysis.

IdentifierDescriptionRiskMitigationDetectable
slint.compiler.err.subset-not-enforcedA construct outside the qualified subset compiles without a diagnostic.The integrator ships code that no qualification covers, believing it’s covered.slint.compiler.avd.subset-checkYes
slint.compiler.err.codegen-wrongThe generated Rust doesn’t implement what the .slint source means.Any display error, with no indication that anything is wrong.slint.compiler.avd.spec-testsYes
slint.compiler.err.binding-droppedA lowering pass drops or reorders a property binding.A value stops updating, so the display shows a stale reading that looks plausible.slint.compiler.avd.spec-testsYes
slint.compiler.err.missing-resourceA missing or undecodable asset isn’t reported at compile time.The element is absent at runtime, so a warning icon may simply not appear.slint.compiler.avd.resource-checkYes
IdentifierDescriptionRiskMitigationDetectable
slint.coverage.err.false-reachedA coverage point is reported as reached when the tests never reached it.Untested .slint code passes as tested.slint.coverage.avd.stated-coverageYes
slint.coverage.err.point-missingA coverage point is left out of the report.Untested .slint code doesn’t show up as a gap.slint.coverage.avd.stated-coverageYes
IdentifierMeasure
slint.compiler.avd.subset-checkThe compiler rejects any construct outside the qualified subset and reports an error naming the construct.
slint.compiler.avd.opaque-windowThe compiler rejects a window whose background it can’t prove is opaque, so a frame can’t depend on what the buffer held beforehand.
slint.compiler.avd.resource-checkThe compiler resolves every referenced asset at compile time and fails if an asset is missing or doesn’t decode.
slint.compiler.avd.spec-testsEvery paragraph of the language specification is traced to at least one test. See the Traceability Matrix.
slint.coverage.avd.stated-coverageRuntime test cases state their expected coverage in the source, and fail on any difference from the measurement. The cases under coverage/ must state their expected coverage. See Coverage Tool Verification.

© 2026 SixtyFPS GmbH

Built from commit 07986dea0ccb8bb10721c83ecba08d9a3e2cc234