[SAOC 2024] Improve D Error Messages - Weekly Update #13

Royal Simpson Pinto royalpinto007 at gmail.com
Mon Dec 16 07:59:01 UTC 2024


## Summary of Progress (December 9 – December 15)

This week, I focused on understanding and planning the next steps 
for handling `verrors=context` based on guidance from my mentor. 
The main goal is to ensure `verrors=context` is enabled globally 
for users while keeping the test suite clean and manageable. The 
work is being divided into two phases:

1. Implementing `verrors=simple` without altering existing test 
cases.
2. Updating the test suite when `verrors=context` is enabled 
globally.

### What I Worked On
- **Guidance from Mentor:**
   - Received the plan to first implement `verrors=simple` as a 
new option in the compiler without modifying any test cases.
   - Planned to use this option later to selectively disable 
`verrors=context` in tests while enabling it globally for users.

- **Initial Preparations:**
   - Began work on creating a new PR specifically for adding the 
`verrors=simple` option.

### Next Steps
- **Finalize `verrors=simple` Implementation:**
   - Complete and test the basic functionality of `verrors=simple` 
in the new PR.
   - Ensure backward compatibility and minimal impact on existing 
workflows.

- **Prepare for Global Enablement of `verrors=context`:**
   - Once the `verrors=simple` PR is merged, start enabling 
`verrors=context` globally for the compiler.
   - Update test cases to include `verrors=simple` where necessary 
to reduce visual noise.


More information about the Digitalmars-d mailing list