E120

Error

Syntax and structure

E120 — Something nests too deeply

Brackets, blocks, components that place each other, or the links of one chain (a.b.c, 1 + 2 + 3) nest more than 100 levels deep, which no pass of the compiler follows.

The fix

name a part of it — a let in an action, a derived value, a component — and use the name. A component that places itself stops when its data does; one whose data does not end is this error too.

Why this rule exists

Error. Brackets inside brackets, blocks inside blocks, a splice inside a string inside a splice, the links of one chain (a.b.c, 1 + 2 + 3, each link nesting the value one level deeper) and, in a template, components that place one another — counted together, more than 100 levels deep. The parser, the checker and the template engine each stop there and say so, where each would otherwise run out of stack. The deepest program of this guide, the examples and the site nests 15 levels.

lints cannot lower it: it would ship a broken page.