Skip to content

Conversation

@dbrattli
Copy link
Collaborator

@dbrattli dbrattli commented Jan 11, 2026

  1. Fixes inref type annotation handling - Now only unwraps FSharpRef for struct value types, not all types
  2. Fixes outer this capture in object expressions - Properly captures and renames outer self to _this when nested classes reference the enclosing class
  3. Optimizes ResizeArray/IEnumerable conversions - Avoids unnecessary wrapping/unwrapping when converting between ResizeArray and IEnumerable

@github-actions
Copy link

github-actions bot commented Jan 11, 2026

Python Type Checking Results (Pyright)

Metric Value
Total errors 24
Files with errors 2
Excluded files 3
New errors ✅ No
Excluded files with errors (3 files)

These files have known type errors and are excluded from CI. Remove from pyrightconfig.ci.json as errors are fixed.

File Errors Status
temp/tests/Python/test_applicative.py 23 Excluded
temp/tests/Python/fable_modules/thoth_json_python/encode.py 1 Excluded

@dbrattli dbrattli merged commit 283f0cd into main Jan 11, 2026
23 checks passed
@dbrattli dbrattli deleted the python-typing-fixes-17 branch January 11, 2026 14:27
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