Skip to content

Conversation

lishaduck
Copy link

@lishaduck lishaduck commented Sep 3, 2025

Fixes #91.

Depends on dart-lang/source_gen#786.

dart analyze currently passes both flutter pub upgrade/downgrade.

@lishaduck
Copy link
Author

lishaduck commented Sep 4, 2025

So this works, but is kinda pointless because the test_api Flutter pins is outdated already, so pub will never resolve test to an analyzer:8-compatible version...

@simolus3
Copy link

simolus3 commented Sep 4, 2025

So this works, but is kinda pointless because the test_api Flutter pins is outdated already, so pub will never resolve test to an analyzer:8-compatible version...

FWIW I had some success adding a dependency override for test_api to test with the latest analyzer and source_gen packages. Since tests are a dev dependency, that may be fine here as well?

@lishaduck
Copy link
Author

So this works, but is kinda pointless because the test_api Flutter pins is outdated already, so pub will never resolve test to an analyzer:8-compatible version...

FWIW I had some success adding a dependency override for test_api to test with the latest analyzer and source_gen packages. Since tests are a dev dependency, that may be fine here as well?

Well really it's an issue everywhere. This actually has a production dependency on test, because this is a package for tests.

@lishaduck
Copy link
Author

Superseded by #93.

@lishaduck lishaduck closed this Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expand ranges to include build & source_gen v4
2 participants