Reference › Errors
W-PROGRAM-TITLE-NESTED
A documentary attribute on a nested <program> has no effect.
What it means
A nested <program> declares a worker. Workers have no DOM and therefore no <head>, so documentary attributes like title= have nowhere to land. The attribute is silently inert at runtime, which is exactly the kind of thing worth a warning — the author clearly expected it to do something.
Minimal reproducer
This is the exact source compiled against the linked compiler and verified to produce W-PROGRAM-TITLE-NESTED.
<program title="outer">
<program title="inner" #compute>
when message(data) { send(data) }
</>
<p>x</p>
</>
How to fix
-
Move the attribute to the top-level
<program>. That is the one with a document head. - Remove it. If the nested program is a worker and needed no title, the attribute was a copy-paste artefact.
Related
Specification
Normative text: §4.12.9, §40.7, §34. Spec lives at compiler/SPEC.md .