Skip to content

Issue 1703 - #1717

Merged
dicej merged 2 commits into
bytecodealliance:mainfrom
asteurer:issue-1703
Sep 22, 2026
Merged

dicej merged 2 commits into
bytecodealliance:mainfrom
asteurer:issue-1703

Conversation

@asteurer

@asteurer asteurer commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Addresses #1703.

@dicej Should I add extra codegen testcases? I assumed that since this was a set of bugs that would only apply to the Go bindings it wouldn't make sense, but happy to add some if you feel differently.

@dicej dicej left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @asteurer! Looks good overall; just a few suggestions inline.

Also, it would be good to add a simple codegen test which includes a variant case named tag, a resource method named take-handle, etc. to make sure the name conflicts are avoided.

Comment thread crates/go/src/lib.rs Outdated
Comment thread crates/go/src/lib.rs Outdated
Comment thread crates/go/src/lib.rs Outdated
Comment thread crates/go/src/lib.rs Outdated
Comment thread crates/go/src/lib.rs Outdated
Comment thread crates/go/src/lib.rs Outdated
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>

fix(go): fix variant reserved function name collision

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>

fix(go): fix resource reserved function name collision

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>

fix(go): fix tests and add some doc comments

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>

fix(go): added missing resource doc comments, added --quiet opt, and other misc fixes

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>

fix(go): add testcase and more misc fixes

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
@asteurer

Copy link
Copy Markdown
Contributor Author

Appreciate your feedback and patience with me @dicej!

@asteurer
asteurer requested a review from dicej September 22, 2026 16:41

@dicej dicej left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@dicej
dicej added this pull request to the merge queue Sep 22, 2026
Merged via the queue into bytecodealliance:main with commit 53d7aea Sep 22, 2026
29 checks passed
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