Skip to content

Go: make ParameterNodes for unused parameters #2 (make a disjoint class for unused ones) #13672

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

Merged

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Jul 5, 2023

It was confusing that no ParameterNode was created if a parameter wasn't used. This was because ParameterNodes are linked to SsaNodes. We solve this by making a new kind of ParameterNode for unused parameters.

An alternative approach to #13664

@owen-mc owen-mc changed the title Go: make ParameterNodes for unused parameters using a disjoint class Go: make ParameterNodes for unused parameters #2 (make a disjoint class for unused ones) Jul 5, 2023
@owen-mc owen-mc marked this pull request as ready for review July 12, 2023 13:40
@owen-mc owen-mc requested a review from a team as a code owner July 12, 2023 13:40
@owen-mc owen-mc merged commit 5f76caf into github:main Jul 12, 2023
@owen-mc owen-mc deleted the go/make-parameter-nodes-for-unused-parameters-2 branch July 12, 2023 14:04
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