Skip to content

fix: add missing additive field to FileMatchingInfo in wasm plugin - #814

Merged
dsherret merged 1 commit into
mainfrom
fix-file-matching-additive
Oct 13, 2026
Merged

dsherret merged 1 commit into
mainfrom
fix-file-matching-additive

Conversation

@dsherret

Copy link
Copy Markdown
Member

The dprint-core 0.71.0 update left the FileMatchingInfo struct literal in src/wasm_plugin.rs without the additive field that was added in dprint-core 0.70.0, so the test_release job fails on main with:

error[E0063]: missing field `additive` in initializer of `FileMatchingInfo`

That file is behind the wasm feature and the wasm32 target, so only the release build catches it.

This sets additive: false, which preserves the existing behavior.

Verified with cargo check --target wasm32-unknown-unknown --features wasm.

@dsherret
dsherret merged commit 41489f8 into main Oct 13, 2026
2 checks passed
@dsherret
dsherret deleted the fix-file-matching-additive branch October 13, 2026 14:06
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.

1 participant