-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-plugintype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
environment:
sdk: '3.10.0-162.1.beta'
# Dart SDK version: 3.10.0-162.1.beta (beta) (Mon Sep 1 23:24:50 2025 -0700) on "macos_x64"
dependencies:
analysis_server_plugin: 0.2.2
when using a visitor that performs async operations, reports do not end up happening. eg with a SimpleASTVisitor<Future<void>>
:
@override Future<void> visitMethodDeclaration(MethodDeclaration declaration) async
{ await Future.microtask(()=>rule.reportAtNode(declaration))
}
the report never happens
cc @srawlins
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-plugintype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug