Skip to content

[record_use] Change references to have a single loading unit#3215

Merged
dcharkes merged 1 commit intomainfrom
record-use-reference-single-loading-unit
Mar 11, 2026
Merged

[record_use] Change references to have a single loading unit#3215
dcharkes merged 1 commit intomainfrom
record-use-reference-single-loading-unit

Conversation

@dcharkes
Copy link
Collaborator

Closes:

AI transparency:

  • Generated with Gemini CLI. Architecture mine. Implementation AI. Iterated on with follow up prompts. Code has been reviewed by me. Some manual tweaks in the changelog and versions by me. And the doc comments have been tweaked AI and me.

- Update JSON schema to use `loading_unit_index` (integer) instead of `loading_unit_indices` (array).
- Regenerate `syntax.g.dart` using `tool/generate_syntax.dart`.
- Refactor `Reference` and subclasses (`CallReference`, `InstanceReference`) to use a single `LoadingUnit`.
- Update all tests and JSON test data files to reflect the schema and API changes.
- Fix sorting in `pubspec.yaml` and resolve formatting issues.
@github-actions
Copy link

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
hooks_runner Non-Breaking 1.1.0 1.1.1-wip 1.1.1-wip ✔️
record_use Breaking 0.5.0 0.6.0-wip 0.6.0-wip ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

1 similar comment
@github-actions
Copy link

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
hooks_runner Non-Breaking 1.1.0 1.1.1-wip 1.1.1-wip ✔️
record_use Breaking 0.5.0 0.6.0-wip 0.6.0-wip ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

@dcharkes dcharkes requested a review from liamappelbe March 10, 2026 16:16
@dcharkes dcharkes merged commit ebcfec5 into main Mar 11, 2026
31 checks passed
@dcharkes dcharkes deleted the record-use-reference-single-loading-unit branch March 11, 2026 07:51
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.

2 participants