[Improvement]: Improve compiler diagnostics #42124
Labels
Area/Diagnostics
Issues related Diagnostics reported by the Compiler. #Compiler
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Improvement
Description
The current format of compiler error diagnostics in Ballerina could be enhanced to provide more helpful information to users. Currently, it outputs errors in the following format:
This format lacks detailed information about the area of the error code, making it less user-friendly compared to other compilers like Rust. By enhancing the output to include the area of the error code, users will have a clearer understanding of where the error occurred, which can significantly improve the user experience.
Describe your problem(s)
No response
Describe your solution(s)
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: