Skip to content

fix: remove TProject generic shadowing in binPath (CHK-001)#263

Merged
scalvert merged 2 commits intomainfrom
fix/chk-001-tproject-shadowing
Mar 8, 2026
Merged

fix: remove TProject generic shadowing in binPath (CHK-001)#263
scalvert merged 2 commits intomainfrom
fix/chk-001-tproject-shadowing

Conversation

@scalvert
Copy link
Copy Markdown
Owner

@scalvert scalvert commented Mar 8, 2026

Summary

  • Removes inner `` generic from `binPath` function type
  • The inner generic was shadowing the outer interface generic, causing consumers with custom project subclasses to lose type specificity in the `binPath` callback
  • The callback now correctly references the outer `TProject` generic, so a consumer using `createProject: () => new CustomProject()` will receive `CustomProject` (not just `BintasticProject`) in their `binPath` function

Checklist item

Closes CHK-001 from EVAL-CHECKLIST.md

🤖 Generated with Claude Code

scalvert and others added 2 commits March 7, 2026 16:00
…001)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@scalvert scalvert added the bug Something isn't working label Mar 8, 2026
@scalvert scalvert merged commit 8ec50ac into main Mar 8, 2026
2 checks passed
@scalvert scalvert deleted the fix/chk-001-tproject-shadowing branch March 8, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant