DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
On this page

B7005: construct not supported

Catalog status: active. Default severity: error. Stable name: not-yet-supported. Family: Driver and session failures.

The program uses a construct that Verada recognises but does not take: the parser reads it, and a later stage (the semantic checks, the prover or the code generator) rejects it. The message names the construct; the label marks where it is. The construct is legal Ada, so the program is not wrong, but Verada cannot check, prove or run it.

Example (Vada)

   Bits : constant Integer := Integer'Size;
   --  Verada's prover and code generator do not support the `Size` attribute here

Example (Varc)

    let bits: Integer = Integer::Size;
    // Verada's prover and code generator do not support the `Size` attribute here

What to do

Rewrite the construct with one Verada takes. The usual alternatives:

The implementation limits list what Verada does not take in each area. A larger proof budget does not help: B7005 is not a proof failure.

Regression source and further reading

Complete regression example: source, command arguments and expected results. The fixture deliberately reproduces this diagnostic.

See driver and session failures, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.