Change the return type of `Compilation.GetAllDiagnosticsByBicepFile` to `ILookup<BicepFile, IDiagnostic>`
Open
tech debt
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 79
Description
The current return type is `IReadOnlyDictionary>` which can be simplified.
Contributor guide
Research direction
Locate Compilation.GetAllDiagnosticsByBicepFile and inspect its callers to identify any assumptions about the current dictionary type. Change the return type to ILookup, update affected usages, and confirm the project builds and its tests pass.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100