DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
On this page

B3015: not allowed in a flow contract

Catalog status: active. Default severity: error. Stable name: invalid-flow-item. Family: Flow and effects.

Global lists library-level variables (declared in packages) with their modes; Depends names parameters, globals and F'Result; Initializes lists the package's own variables. Something else was named here, such as a parameter in Global or a mode that is not Input, Output, In_Out or Proof_In.

What to do

Name the right kind of entity, or remove the item.

Regression source and further reading

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

See flow and effects, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.