MGS1039: magus is called without being imported
A file names magus\ (a call such as magus\project, or a type such as
magus\Context) and has no import "magus";:
[error] [MGS1039] [BZZ1009] buzz: line 1:8: undefined type "magus\Context": no import
binds magus in this module; add `import "magus";`; magus is an imported module since v0.5.0
Why
Before v0.5.0 magus bound magus into every magusfile, spell and script whether or not
the file imported it. It is now an ordinary host module, imported like fs or http, so
a program's own declarations are not shadowed by a name it never asked for. A file that
relied on the implicit binding fails to load, and the checker's own error
(BZZ1009,
a namespace the file never imported) says what is missing but not why it once worked.
What to do
Add the import at the top of the file, beside the others:
import "magus";
Nothing else changes: every magus\ call keeps its name and signature.