W009

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

W009 warning

{} takes a fn parameter and is never called, so its body is not checked

What to do

a function with a fn parameter is checked once per function it is called with

From the binary

$ midad explain W009
W009 (warning)
  `{}` takes a `fn` parameter and is never called, so its body is not checked
  fix: a function with a `fn` parameter is checked once per function it is called with

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