-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I see no lints showing up in some packages. Instead the logs contain:
The request analysis.updateContent failed with the following error:
RequestErrorCode.PLUGIN_ERROR
A request threw the exception:Invalid overlay change: no content to change
null
at:
#0 SocketCustomLintServerToClientChannel.sendCustomLintRequest (package:custom_lint/src/v2/server_to_client_channel.dart:273:11)
<asynchronous suspension>
#1 SocketCustomLintServerToClientChannel.sendAnalyzerPluginRequest (package:custom_lint/src/v2/server_to_client_channel.dart:234:22)
<asynchronous suspension>
#2 CustomLintServer._handleRequest.<anonymous closure>.<anonymous closure> (package:custom_lint/src/v2/custom_lint_analyzer_plugin.dart:190:17)
<asynchronous suspension>
#3 PendingOperation.run (package:custom_lint/src/async_operation.dart:22:14)
<asynchronous suspension>
#4 CustomLintServer._handleRequest (package:custom_lint/src/v2/custom_lint_analyzer_plugin.dart:173:22)
<asynchronous suspension>
To Reproduce
Check out dart-lang/native@625ed30 and open pkgs/native_assets_builder/
. The lints seem to work in pkgs/native_assets_cli/
but not in pkgs/native_assets_builder/
. And I can't figure out why. The pubspecs and analysis_options.yaml
seem the same.
(Sorry for the large repro, maybe the error message rings a bell, before I try to make the repro smaller.)
Expected behavior
Custom lints showing up in all packages.
foxannarrousselGit
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working