Skip to content

[JS/TS] Fix static val mutable fields declared with [<DefaultValue>] not being zero-initialized#4418

Merged
MangelMaxime merged 6 commits into
mainfrom
fix-default-value-static-fields
Mar 19, 2026
Merged

[JS/TS] Fix static val mutable fields declared with [<DefaultValue>] not being zero-initialized#4418
MangelMaxime merged 6 commits into
mainfrom
fix-default-value-static-fields

Conversation

@MangelMaxime

Copy link
Copy Markdown
Member

Fix #2739

Comment thread src/Fable.Transforms/Fable2Babel.fs Outdated
@MangelMaxime MangelMaxime marked this pull request as draft March 18, 2026 20:43
@MangelMaxime MangelMaxime marked this pull request as ready for review March 18, 2026 22:08
@MangelMaxime MangelMaxime changed the title [JS/TS] Fix static val mutable fields declared with [<DefaultValue>] not being zero-initialized [JS/TS] Fix static val mutable fields declared with [<DefaultValue>] not being zero-initialized Mar 19, 2026
@MangelMaxime MangelMaxime merged commit f0210a7 into main Mar 19, 2026
23 checks passed
@MangelMaxime MangelMaxime deleted the fix-default-value-static-fields branch March 19, 2026 14:53
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.

[<FSharp.Core.DefaultValue>] not handled properly on static fields

1 participant