-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-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-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-set-coretype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Steps:
- create pub workspace relative to documentation https://dart.dev/tools/pub/workspaces
- add dependency (or dev_dependency) into root
pubspec.yaml - add
depend_on_referenced_packageslint into rootanalysis_options.yaml - try to use added dependency in workspace package/project
Expected behaviour: static analysis DOES NOT show info message depend_on_referenced_packages
Actual behaviour: static analysis SHOWS info message depend_on_referenced_packages
Repository example: https://github.com/arefimenko/dart_workspace, file with analysis hint β https://github.com/arefimenko/dart_workspace/blob/main/pkgs/core/lib/src/core_base.dart
Dart version: Dart SDK version: 3.6.0 (stable) (Thu Dec 5 07:46:24 2024 -0800) on "macos_arm64"
Sadhorsephile, Derazum, albertodev01, MahanRahmati, Levi-Lesches and 3 more
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-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-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelinter-set-coretype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)