Skip to content

chore(compiler): Cleanup swap code in compcore#2390

Open
spotandjake wants to merge 1 commit into
grain-lang:oscar/gc-rebasedfrom
spotandjake:spotandjake/swap-cleanup
Open

chore(compiler): Cleanup swap code in compcore#2390
spotandjake wants to merge 1 commit into
grain-lang:oscar/gc-rebasedfrom
spotandjake:spotandjake/swap-cleanup

Conversation

@spotandjake
Copy link
Copy Markdown
Member

I noticed that we had three functions for handling swap that all do bassically the exact same thing with a different action. I pulled this shared logic out into a shared helper function.

This work is based on: #2378

Work towards: #85

I noticed that we had three functions for handling swap that all do bassically the exact same thing with a different action. I pulled this shared logic out into a shared helper function.
@spotandjake spotandjake force-pushed the spotandjake/swap-cleanup branch from 512b75d to 6e32e27 Compare May 10, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants