You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove unused helper functions from models
Removed five unused functions from internal/models/models.go that were
added for generics support but are not currently used:
- HasGenericReceiver() - not called anywhere
- TypeParamMapping() - only used by SubstituteType (also unused)
- TypeParamMappings() - not called anywhere
- getAlternativeTypes() - only used by TypeParamMappings (also unused)
- SubstituteType() - not called anywhere
These functions were implemented for potential future use but are not
needed for current generics functionality. Removing them:
- Reduces maintenance burden
- Improves code coverage (removes 109 uncovered lines)
- Keeps codebase focused on actively used code
All tests continue to pass. Coverage improved as dead code was removed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments