Skip to content

Conversation

@dbrattli
Copy link
Collaborator

  • Refactored calculateTypeParams to extract type parameters from Fable AST types directly
  • Removed extractGenericParamsFromMethodSignature and its isTypeParam heuristic that guessed type params based on naming conventions
  • Updated call sites in transformModuleFunction, transformAttachedProperty, and transformAttachedMethod to pass original Fable arg types

Fixes 23 type annotation errors in Python

@dbrattli dbrattli merged commit 84cc6d8 into main Dec 26, 2025
38 of 43 checks passed
@dbrattli dbrattli deleted the python-typing-fixes-3 branch December 26, 2025 19:21
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