Skip to content

fix: canonicalize patch package path in interface hash#2025

Open
luoliwoshang wants to merge 1 commit into
xgo-dev:mainfrom
luoliwoshang:fix/interface-hash-patch-path
Open

fix: canonicalize patch package path in interface hash#2025
luoliwoshang wants to merge 1 commit into
xgo-dev:mainfrom
luoliwoshang:fix/interface-hash-patch-path

Conversation

@luoliwoshang

Copy link
Copy Markdown
Contributor

Summary

  • canonicalize patch package paths when deriving the private-method package prefix for interface hashes
  • add coverage ensuring real internal/reflectlite and patched internal/reflectlite interfaces get the same InterfaceName

Tests

  • go test ./ssa/abi -run TestStructInterfaceClosureAndPathCoverage -count=1

@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@luoliwoshang luoliwoshang force-pushed the fix/interface-hash-patch-path branch from 79374d4 to fec3da8 Compare July 4, 2026 07:38
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.

1 participant