Skip to content

Conversation

@LucaCappelletti94
Copy link
Contributor

Adds Arbitrary derives to all AST structs and enums for property-based testing and fuzzing.

Changes

  • Added arbitrary as optional dependency with feature gating
  • Derived Arbitrary on all public AST types in ast
  • Added Arbitrary to core types (Token, Span, Location, etc.)
  • Excluded display helpers and iterators

Note: BigDecimal (used in Value::Number) lacks Arbitrary support. PR submitted: akubera/bigdecimal-rs#163

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.

1 participant