exercism / d

Exercism exercises in D.
https://exercism.org/tracks/d
MIT License
19 stars 31 forks source link

knapsack - struct literals #255

Closed keiravillekode closed 5 months ago

keiravillekode commented 5 months ago

Our struct literals for the Items no longer specify field names. This avoids test compilation errors when students submit solutions.

https://dlang.org/spec/struct.html#struct-literal

github-actions[bot] commented 5 months ago

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!