You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS kind and version (e.g. "Windows 10, version 1809" or "macOS 12.4"): macOS
[✓] Flutter (Channel master, 3.26.0-1.0.pre.92, on macOS 14.5 23F79 darwin-arm64, locale pl-PL)
• Flutter version 3.26.0-1.0.pre.92 on channel master at /Users/dominik/fvm/versions/master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ea208f824b (3 hours ago), 2024-09-11 13:03:22 -0700
• Engine revision ade8ef293b
• Dart version 3.6.0 (build 3.6.0-239.0.dev)
• DevTools version 2.39.0
Problem
I upgraded to current master and tried to use pub workspaces. However, because my packages would be set to use Dart SDK >= 3.3.0, a following error was shown when running flutter pub get
Error on line 9, column 13 of packages/analytics_repository/pubspec.yaml: `workspace` and `resolution` requires at least language version 3.5
╷
9 │ resolution: workspace
│ ^^^^^^^^^
╵
Failed to update packages.
Environment
Problem
I upgraded to current master and tried to use pub workspaces. However, because my packages would be set to use Dart SDK >= 3.3.0, a following error was shown when running
flutter pub get
pubspec.yaml before change
required change
Expected behavior
I would expect a suggestion to change the Dart SDK constraint in the pubspec.yaml.
Actual behavior
as above
The text was updated successfully, but these errors were encountered: