Skip to content

Dart and Flutter support - #33

Open
mathieurousseau wants to merge 7 commits into
unclebob:masterfrom
mathieurousseau:master
Open

mathieurousseau wants to merge 7 commits into
unclebob:masterfrom
mathieurousseau:master

Conversation

@mathieurousseau

Copy link
Copy Markdown

No description provided.

MaurizioSodano and others added 7 commits October 28, 2026 10:46
The Dart commits were written on top of Kotlin: define _INTERPOLATIONS and
the string_literal check, import child_of_type, and drop the Kotlin
fingerprint pins.
Dart and Swift were added at the same insertion points. Kept both, and took
master's consolidated shape where master simplified the code the Dart branch
extended:

- discover.py: master's single _TEST_SUFFIXES list, with `_test.dart` added;
  kept DART_TEST_DIRS and DART_GENERATED_SUFFIXES because Dart's test folders
  and generated files are Dart-only rules.
- astnorm.py: kept master's _INTERPOLATED and _is_literal. Dart's
  `template_substitution` is a separate set scoped to `string`, because folding
  it into _INTERPOLATED would stop treating TypeScript template strings as
  literals and changes their fingerprints.
- extract.py, cli.py, pyproject.toml, README.md: both languages listed.
@MaurizioSodano

Copy link
Copy Markdown

Thank you @mathieurousseau for the Dart work and for syncing my branch with upstream. Your PR against our fork is merged, and it resolved the conflicts on my PR, so this one is mergeable again. Your commits are in its history, and your Dart test-directory fix for mutator is included.

To avoid two open PRs for the same change, I'm going to keep this branch updated on mine. Please tell me if you'd rather it go the other way.

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.

2 participants