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

Ast node clone #1281

Merged
merged 9 commits into from
Sep 25, 2024
Merged

Ast node clone #1281

merged 9 commits into from
Sep 25, 2024

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Aug 13, 2024

Add .clone() method to AstNode and BscType objects. This will make for much easier duplication of template code for plugins.

  • add .clone() method to Statements
  • add .clone() method to Expressions
  • add .clone() method to BscTypes
  • add unit tests

@TwitchBronBron
Copy link
Member Author

Whew! That was quite a lot of work adding the tests. I found a significant number of bugs and crashes due to adding the tests, so I'm very glad I added them.

@TwitchBronBron TwitchBronBron enabled auto-merge (squash) September 25, 2024 20:31
@TwitchBronBron TwitchBronBron merged commit 9a94988 into master Sep 25, 2024
6 checks passed
@TwitchBronBron TwitchBronBron deleted the AstNode-clone branch September 25, 2024 20:40
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.

1 participant