mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-11 03:38:07 +00:00
In a file importing both echo and gin, a route on a parameter receiver (`func routes(e *echo.Echo)`) fell back to gin's last-argument handler order because only constructor provenance was accepted. lookupBinding now returns a parameter's (or method receiver's) declaration, and receiverBindsToEchoConstructor treats `*echo.Echo` / `*echo.Group` (with `echo` a verified echo import alias) as echo; gin types and types the file cannot tie to echo keep the last-argument fallback. isLocalName reuses the same lookup for parameter shadowing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||