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

Lift restrictions on computed properties #59

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

rauhul
Copy link
Collaborator

@rauhul rauhul commented Dec 22, 2023

Updates the RegisterBank and Register macros to ignore computed properties in structs they are attached to. Updates tests to cover this usecase and adds targeted tests for
VariableDeclSyntax.isComputedProperty added in this commit.

Fixes #29

Updates the RegisterBank and Register macros to ignore computed
properties in structs they are attached to. Updates tests to cover this
usecase and adds targeted tests for
`VariableDeclSyntax.isComputedProperty` added in this commit.

Fixes #29
@rauhul rauhul force-pushed the fix-29-allow-computed-props-in-reg-bank branch from 5a337c7 to d7ad95e Compare December 22, 2023 17:33
@rauhul rauhul merged commit d6e91ae into main Dec 22, 2023
@rauhul rauhul deleted the fix-29-allow-computed-props-in-reg-bank branch December 22, 2023 17:34
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.

RegisterBanks should have an ability to add members that are computed
1 participant