Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GenTests defaults #361

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Implement GenTests defaults #361

merged 1 commit into from
Jan 10, 2025

Conversation

TravisCardwell
Copy link
Collaborator

In the initial implementation, I matched all constructors explicitly so that the compiler lets us know to add tests when appropriate when adding to the AST. That is indeed pretty annoying, though; sorry about that.

We can instead implement defaults (_) so that one does not have to worry about test generation while working on the AST. Updating test generation can then be done as a separate task, when needed.

This PR address #356, but note that the GenTests implementation uses very broad strokes and will likely be changed/improved greatly as the project matures.

@TravisCardwell TravisCardwell requested a review from phadej January 9, 2025 22:51
@edsko edsko merged commit a1996f2 into main Jan 10, 2025
10 checks passed
@edsko edsko deleted the gentests-defaults branch January 10, 2025 07:37
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