Skip to content

[JS/TS/Python] Fix Unchecked.defaultof<'T> for struct types with fields#4429

Merged
MangelMaxime merged 3 commits into
mainfrom
fix-struct-field-getzero
Mar 20, 2026
Merged

[JS/TS/Python] Fix Unchecked.defaultof<'T> for struct types with fields#4429
MangelMaxime merged 3 commits into
mainfrom
fix-struct-field-getzero

Conversation

@MangelMaxime

Copy link
Copy Markdown
Member

Fix #4427

@github-actions

github-actions Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Python Type Checking Results (Pyright)

Metric Value
Total errors 18
Files with errors 4
Excluded files 4
New errors ✅ No
Excluded files with errors (4 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 12 Excluded
temp/tests/Python/test_hash_set.py 3 Excluded
temp/tests/Python/test_nested_and_recursive_pattern.py 2 Excluded
temp/tests/Python/fable_modules/thoth_json_python/encode.py 1 Excluded

@MangelMaxime MangelMaxime merged commit a4286f0 into main Mar 20, 2026
24 checks passed
@MangelMaxime MangelMaxime deleted the fix-struct-field-getzero branch March 20, 2026 20:25
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.

Unchecked.defaultof on structs does not zero them

1 participant