warningnames, globals, modules, conditional compilation
W1036warning
A module of an import cycle reads an export (or, with import internal, a file-level local) of a module of the cycle checked after it that has no type annotation (or a typeof type alias it has not reached): it is any there
- area
- names, globals, modules, conditional compilation
- fails the build
- with --deny-warnings
- in wowlua files
- E1036
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W1036": "allow" } } (or "deny").
Related: E1036, the error form: Flavors need incompatible load orders and toc-layout = "single" is forced
Where the specification covers it
- 5. Modules · 5.4.4 Ordering and cycles
Nearby codes
| code | summary |
|---|---|
| W1033 | Load order cannot be determined (dynamic names, several writers, external names); files keep their source order |
| W1034 | Name read at load time but only defined at run time |
| W1035 | Usage-analysis dependency contradicts build.load-order; the listed order is kept (contradicting imports are E1035) |
| W2040 | Forbidden operation on a possibly secret value (basic mode) |
| W2055 | Too many arguments to an unannotated function (basic mode). Replaces the second meaning of W2006. |
| W2060 | Division or modulo by a literal zero: WoW raises "Division by zero" (any mode) |