E0314

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

E0314 error

{} is imported but is not a midad program

What to do

an imported file needs the same YAML frontmatter as any other program: ---, midad: "0.1", module: name, ---

From the binary

$ midad explain E0314
E0314 (error)
  `{}` is imported but is not a midad program
  fix: an imported file needs the same YAML frontmatter as any other program: `---`, `midad: "0.1"`, `module: 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