Skip to content

Commit

Permalink
[dartfuzz] Handle more types in minimized literal generation.
Browse files Browse the repository at this point in the history
Previously, the minimizer only handled a small, handpicked set of types
when replacing expressions with minimized literals of the expression's
type. This CL adds minimal literal generation for any type that has a
known constructor and generalizes handling of lists, sets, and maps.

TEST=dartfuzz

Change-Id: Ifeaacfd4dec1ba8f66f4fee9cf8c7fb74193b0d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403861
Reviewed-by: Ryan Macnak <[email protected]>
Commit-Queue: Tess Strickland <[email protected]>
  • Loading branch information
sstrickl authored and Commit Queue committed Jan 14, 2025
1 parent 37e3a7a commit 45d5b48
Show file tree
Hide file tree
Showing 2 changed files with 788 additions and 378 deletions.
Loading

0 comments on commit 45d5b48

Please sign in to comment.