Duolith docs

Warnings while reading a page

W0043 List name hides a script name

Message attribute="name" hides the script's name inside this list

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Inside a list, its as and index names mean the item and its position, so a script value with the same name cannot be reached there, and an expression that meant it silently reads the item.

How to fix it

Give the list's as or index another name.

In a terminal

duolith explain W0043

Mentioned in