Duolith docs

Errors E0300 to E0399

E0352 The type checker failed

Message the type checker failed: reason

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The type checker started but could not check the project: it stopped, it did not answer within 180 seconds, its answer could not be read, it did not say it checked every file it was sent, or it reported an error in a file Duolith did not send. Each of these fails the build instead of passing it unchecked. This is a fault in duolith, or in the checker DUOLITH_CHECKER names, not in the project.

How to fix it

Report it with the message; duolith check prints the same failure. If a very large project needs longer than 180 seconds, set DUOLITH_CHECK_TIMEOUT to the seconds it needs. If DUOLITH_CHECKER or DUOLITH_NODE is set (Duolith warns when it is), unset it to use Duolith's own checker.

In a terminal

duolith explain E0352

Mentioned in