E0240

generated from midad spec --json at build time; not edited by hand

E0240 error

assignment to undeclared variable {name}

What to do

declare it first with let {name} = ...

From the binary

$ midad explain E0240
E0240 (error)
  assignment to undeclared variable `{name}`
  fix: declare it first with `let {name} = ...`

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page