E0247

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

E0247 error

the par accumulator {acc} is {}; only a number can be summed across threads

What to do

declare it as a number first: let total = 0;

From the binary

$ midad explain E0247
E0247 (error)
  the `par` accumulator `{acc}` is {}; only a number can be summed across threads
  fix: declare it as a number first: `let total = 0;`

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