Skip to content

Use value receivers for BasicBlock methods#61

Merged
gammazero merged 3 commits intomasterfrom
basicblock-value-receiver
Jun 24, 2025
Merged

Use value receivers for BasicBlock methods#61
gammazero merged 3 commits intomasterfrom
basicblock-value-receiver

Conversation

@gammazero
Copy link
Contributor

The BasicBlock struct is very small and all of its methods are read-only. Using a value receiver is efficient and clear.

  • Update description of Block interface to describe its importance for interoperability.
  • Update dependencies

The BasicBlock struct is very small and all of its methods are read-only. Using a value receiver is efficient and clear.

- Update description of Block interface to describe its importance for interoperability.
- Update dependencies
@gammazero gammazero force-pushed the basicblock-value-receiver branch from 9ecd728 to 6213ec1 Compare June 19, 2025 04:23
@gammazero gammazero merged commit d4d49f0 into master Jun 24, 2025
9 checks passed
@gammazero gammazero deleted the basicblock-value-receiver branch June 24, 2025 15:25
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