Skip to content

Expand Analyzer constraints to allow 8.x #2518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

natebosch
Copy link
Member

Prepare to publish with no other package changes.

Prepare to publish with no other package changes.
Copy link

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

Will need to coordinate when the min analyzer dep can be bumped.
@@ -348,6 +350,8 @@ class _Parser {

String? _findConstructorNameFromInstantiation(
InstanceCreationExpression constructor, String className) {
// Replace name2 with name when bumping min analyzer dependency
// ignore: deprecated_member_use
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not doing it now?
When we will start removing old APIs from the analyzer, this will cause issues.
And than we will have to do one more iteration to clean this up.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure we can fix this now. Do you know the correct min version to include the new name field?

Copy link
Contributor

@scheglov scheglov Jul 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8.0.0

  • Deprecate NamedType.name2, use name instead.

Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:checks 0.3.1 already published at pub.dev
package:fake_async 1.3.3 already published at pub.dev
package:matcher 0.12.18-wip WIP (no publish necessary)
package:test 1.26.3 ready to publish test-v1.26.3
package:test_api 0.7.7 ready to publish test_api-v0.7.7
package:test_core 0.6.12 ready to publish test_core-v0.6.12
package:test_descriptor 2.0.2 already published at pub.dev
package:test_process 2.1.1 already published at pub.dev

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants