Closed har79 closed 7 years ago
[error] The argument type 'LineSplitter' cannot be assigned to the parameter type 'Converter<String, dynamic>'. (/usr/local/google/home/hcameron/github/vm_service_client/test/utils.dart, line 13, col 33)
seems to be a result of https://github.com/dart-lang/sdk/issues/27722.
Closed by 4af8f8e8e5376b3c9383fa0cdbf120b159f7d917.
That commit was a few months ago. This issue is about new strong mode errors introduced due to a new SDK/analyzer.
What version of Dart are you seeing these errors on?
dartanalyzer version 1.20.0-dev.10.3
On Wed, 16 Nov 2016 at 13:40 Natalie Weizenbaum notifications@github.com wrote:
What version of Dart are you seeing these errors on?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/vm_service_client/issues/9#issuecomment-261065045, or mute the thread https://github.com/notifications/unsubscribe-auth/AIREeD8d2ucS0RxFDrW-qc-FgTwWXO0Xks5q-2oxgaJpZM4KnPgQ .
That's pretty old—1.20 stable was released in October. Try updating.
sigh looks like my repo/update settings got lost. Same output with 1.21.0-dev.3.0. I can update to -dev.6.0 if you thank that's likely to make a difference although isn't this just a case of the strong mode rules being tightened?
I found the source of my confusion—the previous strong mode CL didn't add an .analysis_options
file to ensure that future analysis runs had strong mode enabled. I can reproduce strong-mode warnings now.
> dartanalyzer --strong . | sort | uniq