DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
On this page

B0112: positional association after a named one

Catalog status: active. Default severity: error. Stable name: positional-after-named. Family: Syntax and source text.

In a call, aggregate or generic instantiation, positional associations come first and named ones after (RM 6.4); once an association is named, the rest must be named too.

Example (Vada)

   Move (X => 1, 2);

What to do

   Move (X => 1, Y => 2);

Regression source and further reading

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

See syntax and source text, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.