dart pub publish
validation does not respect nested pubspec.yaml
s
#3965
Labels
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Environment
Dart SDK version: 3.1.0-edge.b3cc093e4cafb349008272b594a1693956ff5d41 (be) (Mon Jul 10 12:23:15 2023 +0000) on "macos_arm64"
MacOS: 13.4.1 (22F82)
Normal pub.
Problem
When doing
dart pub publish
, all code is analyzed with the outermostpubspec.yaml
rather than respectingpubspec.yaml
s in subfolders.pkgs/native_assets_builder/pubspec.yaml.
pkgs/native_assets_builder/test/data/native_add_add_source/pubspec.yaml
Expected behavior
The validator being happy.
After having run
dart pub get
insidepkgs/native_assets_builder/test/data/native_add_add_source/
, the dart analyzer is happy. I'd expectdart pub get
to be consistent with the analyzer.Actual behavior
The validator complaining about dependencies missing in the outer pubspec.yaml.
The text was updated successfully, but these errors were encountered: