forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: don't forward -1 as the diagnosticCode
This change ensures that if the diagnostic code is set to -1 that we instead forward None as the code. This will hopefully help any tooling consuming this to not have to add checks for -1 and filter that code out, since it's a useless code.
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters