summaryrefslogtreecommitdiff
path: root/src/reports/resolver_error.rs
Commit message (Collapse)AuthorAge
* Don't print original source in redefinition errorsBen Bridle2025-03-25
| | | | | | | | | The source context of the original definition of a redefined symbol was being printed when reporting a redefinition error. Since only the source code containing the redefinition was available, if the original definition was in a different file then the source context of the original definition would just pull from this source code and the context shown would be completely nonsensical.
* Large restructureBen Bridle2025-03-18
| | | | | Files were moved to be better organised, error messages were changed to be more general, and a Compiler type was added to the library.
* Track related symbols in resolverBen Bridle2025-02-10
| | | | | | | | As well as the already-implemented tracking of the existing definition of redefinitions, the resolver will now also track the definition that resolves each reference, and the references resolved by each definition. Instead of using tuples to hold this information, named wrapper structs have been created for each category.
* Import from the log and ansi crates once in the reports moduleBen Bridle2025-02-10
| | | | This is tidier than duplicate imports in every file of the module.
* Move report-printing structs to separate moduleBen Bridle2025-02-10