Skip to content
New issue

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

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

Already on GitHub? # to your account

Miscellaneous refactoring #495

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

hdwalters
Copy link
Contributor

Prevent Cargo rebuilding Amber even if no changes detected. This was a typo in the "rerun-if-changed" directive, which expects a directory, not an extended glob with "**".

Remove obsolete source code file "modules/command/expr.rs", which wasn't used by anything, and didn't compile anyway.

Remove temporary directories created by unit tests, to prevent "/tmp" becoming cluttered.

Miscellaneous refactoring, including (i) addition of trailing commas in some struct definitions/creations and vector assignments (makes for nicer PR diffs next time round), (ii) renaming of some variables, (iii) use of tuple destructuring, (iv) miscellaneous whitespace changes.

Copy link
Member

@Ph0enixKM Ph0enixKM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Didn't test though

@Mte90 Mte90 merged commit bdb2bcd into amber-lang:master Oct 1, 2024
1 check passed
@hdwalters hdwalters deleted the miscellaneous-refactoring branch October 1, 2024 16:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants