You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[messages] Specialize SharedToAnalyzerErrorCodeTables for SharedErrorCodeInfo.
Changes the `SharedToAnalyzerErrorCodeTables` class so that its
references to error codes all have type `SharedErrorCodeInfo` rather
than `ErrorCodeInfo`. There is no functional change because this class
only deals with shared errors. (Previously it filtered out non-shared
errors using an if-test in the constructor; now it simply does not
consider them.)
This change will make it easier to make further improvements to the
`SharedToAnalyzerErrorCodeTables` class and its clients, since code
will be able to assume that any error codes it references are truly
shared.
Change-Id: I6a6a696400cff9ac3fee2c2396bc15b210562d3d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449680
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
0 commit comments