Skip to content
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

add a dart fix declarative refactoring for the whereNotNull() => nonNulls change #676

Open
devoncarew opened this issue Jun 11, 2024 · 2 comments

Comments

@devoncarew
Copy link
Member

See dart-archive/collection#332.

I believe this would be a 'replacedBy' dart fix change.

@oprypin
Copy link
Contributor

oprypin commented Jun 11, 2024

In the past there was a limitation preventing this: can't turn a method call into a getter call. Don't know what the latest status is.

@devoncarew
Copy link
Member Author

Yeah, it doesn't appear to be working though it is had to know exactly what syntax to use in the declarative file. I'm guessing that dart fix hasn't seen this exact refactoring before (replacing a deprecated extension method with an extension getter).

@mosuem mosuem transferred this issue from dart-archive/collection Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants