-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
unify the two ways that compile errors get printed to stderr #8872
Copy link
Copy link
Closed
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
zig/src/Compilation.zig
Line 328 in 63aabbb
vs
zig/src/main.zig
Line 3133 in 63aabbb
Probably the latter should be changed to convert to the Compilation error message struct. You can see an example of this code here:
zig/src/Module.zig
Lines 2467 to 2476 in 63aabbb
and then
zig/src/Compilation.zig
Lines 394 to 441 in 63aabbb