Skip to content

fix: merge main and resolve conflicts for embedded unexported methods#195

Open
xgopilot[bot] wants to merge 3 commits intofix/embedded-unexported-methodsfrom
fork-pr-1598-1770294215
Open

fix: merge main and resolve conflicts for embedded unexported methods#195
xgopilot[bot] wants to merge 3 commits intofix/embedded-unexported-methodsfrom
fork-pr-1598-1770294215

Conversation

@xgopilot
Copy link

@xgopilot xgopilot bot commented Feb 5, 2026

Requested by @luoliwoshang

Summary

  • Merged origin/main into the fix/embedded-unexported-methods branch
  • Resolved conflicts in out.ll files by regenerating them using gentests
  • The fix for embedded type's unexported methods function pointers is preserved

luoliwoshang and others added 3 commits February 3, 2026 10:19
…methods (goplus#1597)

Previously, when a type embedded another type from a different package,
the unexported methods inherited from the embedded type would have nil
function pointers (Ifn_) in the method table. This caused runtime panics
when interfaces with unexported methods (like types.Object) were used.

The fix removes the skipfn logic that was setting Ifn_ to nil for
methods from other packages. Now all methods, including unexported ones
from embedded types, get valid function pointers generated.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve conflicts by regenerating out.ll files using gentests.
The fix for embedded type's unexported methods is preserved.

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
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