Changed paths:
M pkg/analyzer/lib/src/dart/scanner/scanner.dart
Log Message:
-----------
[messages] Fix signature of Scanner.reportError.
Changes the signature of `Scanner.reportError` so that its `arguments`
parameter requires a `List<Object>?` rather than a
`List<Object?>?`. This is consistent with the call sites.
This paves the way for a follow-up CL that will change
`Scanner.reportError` to use the literate diagnostic API (which
requires arguments to never be `null`).