Error codes › renamed

Error codes

renamed

warning error Parse and files

What it means#

An old name of a declaration a library renamed (its library.arche says renamed "1.0", { Led: GpioLed }): read as the new name, a warning up to the edition the rename is made for, an error from the next. The quick fix and archec fix write the new name (docs/editions.md).

How to fix it#

The message says what is wrong and where, and often what was meant (Did you mean …?). Change the model so that what this page describes no longer holds, then check again: archec check main.arche.

archec check --beginner says the most common messages in plain words, with the names that exist.

The automatic fix#

archec has no fix of its own for this code. When the message says Did you mean …?, VS Code offers that change (Quick Fix).

In the terminal#

archec explain renamed prints this explanation; archec explain parse lists the codes of its area.