Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sourcebundle: Avoid infinite recursion with diagnosticInSourcePackage
This wrapper type acts as an adapter to rewrite relative source paths in diagnostics to be absolute source addresses instead, but it was incorrectly calling its own Source method to get the starting value, rather than calling that of its wrapped diagnostic, thereby causing infinite recursion until stack overflow.
- Loading branch information