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 slicing helper functions (for R3) #1683

Merged

Conversation

ewoutkramer
Copy link
Member

@ewoutkramer ewoutkramer commented Apr 7, 2021

Description

For the new validation compiler, I have rewritten (read: simplified) the code to detect (re)slices. I have moved this new code to this repo since it may be of use to others. There was some comparable (older) code that I have now either replaced (FindMemberSlices) or kept intact (variants of IsResliceOf) - to avoid introducing regressions.

Also, I have fixed some pre-existing compiler warnings.

FirelyTeam Checklist

  • Update the title of the PR to be succinct and less than 50 characters
  • Mark the PR with the label breaking change when this PR introduces breaking changes

Ewout Kramer added 2 commits April 7, 2021 09:42
Also, moved IncorrectElementDefinitionException to common.
Also fixed all warnings emitted by the compiler.
@ewoutkramer ewoutkramer changed the title Reorganize slicing helper functions Reorganize slicing helper functions (for R3) Apr 7, 2021
Copy link
Member

@marcovisserFurore marcovisserFurore left a comment

Choose a reason for hiding this comment

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

Maybe deprecate the function instead of #ifdef

@marcovisserFurore marcovisserFurore merged commit 3fba5d0 into develop-stu3 Apr 7, 2021
@marcovisserFurore marcovisserFurore deleted the feature/reorg-slicing-helper-functions branch April 7, 2021 11:48
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