E0241

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

E0241 error

unknown variable {n}

What to do

state {n} is declared in module {module}: write {module}.{n}

From the binary

$ midad explain E0241
E0241 (error)
  unknown variable `{n}`
  fix: state `{n}` is declared in module `{module}`: write `{module}.{n}`

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