E2010 Syntax Errors

Syntax

cannot use module '%s' before importing it; add 'import @%s' before the using statement

When this occurs

`using math` before `import math`

Example error message

error[E2010]: cannot use module 'math' before importing it

How to fix

Import a module with `import @module` before using it with `use @module`.

Related errors