Repository navigation
Conversation
`FieldElement.isSynthetic` / `PropertyAccessorElement.isSynthetic` were removed in analyzer 11. Replace them with the `isOrigin*` getters added in analyzer 10: - getter induced by a field: `isSynthetic` -> `isOriginVariable` - field induced by a getter/setter: `isSynthetic` -> `isOriginGetterSetter` Since those getters do not exist before 10.0.0, the minimum analyzer version is raised to 10.0.0 in every build package. The newer analyzer resolves dart_style 3.1.13, which wraps long method chains differently; two sqlite generator fixtures are updated to match. Closes GetDutchie#676 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This PR has been automatically marked as stale due to inactivity. To keep this PR open, you can:
|
|
This PR has been automatically closed due to inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #676
Lets the build packages use
analyzerup to 14, so Brick works with currentfreezed,json_serializableandmockito.brick_build:isSyntheticwas removed in analyzer 11:isOriginVariableisOriginGetterSetteranalyzer: ">=10.0.0 <15.0.0"isOrigin*getters only exist from 10.brick_sqlite_generators: 2 fixtures updated fordart_style3.1.13 line wrapping. Output is otherwise unchanged.Tested on analyzer 14.4:
dart analyzeanddart testpass for all 10 build/generator packages.build_runnerworks in a Flutter app alongside freezed 4 and json_serializable 6.14, together with fix(build): interpolate class name in model dictionary lookup #678.🤖 Generated with Claude Code