Generate constructors with default assignments to non-required fields #133
Labels
general-dafny-use
New functionality or clean up for broader use of this repo
going-public
Should be done before launching 0.x publicly
Needs Tests
This feature may have been implemented, but lacks sufficient test coverage.
Milestone
The title sums it up: assigning
None
to non-required fields by default would avoid some pain when actually creating members of these records. I think this is the relevant Dafny section: https://dafny.org/dafny/DafnyRef/DafnyRef#2146-formal-parameters-and-default-value-expressionsThe text was updated successfully, but these errors were encountered: