-
-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Labels
Description
In its current state, ZLS is only able to report syntax errors and errors that are provided by zig ast-check. Everything else (like semantic analysis) is not available. Here are some examples of errors that are not being reported:
no field named 'foo' in 'bar'function expected x argument(s), found yexpected type 'x', found 'y'- comptime conditional calls to
@compileError(used bystd.debug.printto report errors)
There have been attempts in the past that tried to partially address this:
The most viable solution right now is the build-on-save feature. This issue will remain open until it is enabled by default. Probably once incremental compilation has matured enough.
griffi-gh, Zhenming-Lin, matu3ba, ZeeCapp, mendesbarreto and 7 moremendesbarreto