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

reorganize code in Assembly.hs #1829

Merged
merged 2 commits into from
May 10, 2024
Merged

Conversation

kostmo
Copy link
Member

@kostmo kostmo commented May 10, 2024

Towards #1780.

This does two main things to simplify the review of #1826:

  • Add the truncate option to structure placement. By default it shall be true to maintain the status quo behavior
  • Extract a validatePlacement function to improve readability

Add parameter to 'placements' for truncation
@kostmo kostmo force-pushed the refactor/reorganize-structure-assembly branch from 92eca9a to 23a5224 Compare May 10, 2024 16:47
@kostmo kostmo added the Z-Refactoring This issue is about restructuring the code without changing the behaviour to improve code quality. label May 10, 2024
@kostmo kostmo marked this pull request as ready for review May 10, 2024 16:48
@kostmo kostmo mentioned this pull request May 10, 2024
@kostmo kostmo requested a review from byorgey May 10, 2024 16:51
@kostmo kostmo added the merge me Trigger the merge process of the Pull request. label May 10, 2024
@mergify mergify bot merged commit e59b33e into main May 10, 2024
9 checks passed
@mergify mergify bot deleted the refactor/reorganize-structure-assembly branch May 10, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request. Z-Refactoring This issue is about restructuring the code without changing the behaviour to improve code quality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants