Skip to content

fix(js/ts): represent union cases with no fields as singletons#4729

Merged
MangelMaxime merged 2 commits into
mainfrom
fix/js-single-case-union
Jul 6, 2026
Merged

fix(js/ts): represent union cases with no fields as singletons#4729
MangelMaxime merged 2 commits into
mainfrom
fix/js-single-case-union

Conversation

@MangelMaxime

Copy link
Copy Markdown
Member

Fix #3867

@MangelMaxime MangelMaxime force-pushed the fix/js-single-case-union branch from 2ae5c3e to 5353778 Compare July 6, 2026 20:47
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Python Type Checking Results (Pyright)

Metric Value
Total errors 34
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_hash_set.py 18 Excluded
temp/tests/Python/test_applicative.py 12 Excluded
temp/tests/Python/test_nested_and_recursive_pattern.py 2 Excluded
temp/tests/Python/fable_modules/thoth_json_python/encode.py 2 Excluded

@MangelMaxime MangelMaxime merged commit 0211b4c into main Jul 6, 2026
24 checks passed
@MangelMaxime MangelMaxime deleted the fix/js-single-case-union branch July 6, 2026 21:04
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.

nullary union case physical equality behaves differently between fable and fsc

1 participant