Skip to content

Tooling support for binary breaking changes in components #12328

@alfonsogarciacaro

Description

@alfonsogarciacaro

Maybe related #9370, also see #6528 (comment)

It seems that from time to time this strange error about ValLinkagePartialKey is reported by the F# compiler. Most recent is this case: fable-compiler/fable-promise#26

@MangelMaxime has isolated the probable cause: From Fable.Promise 3.1.0 to 3.1.1 the signature of public methods hasn't changed, but the name of the arguments of a couple of functions did, which seems to cause the issue (apparently something similar happened with Thoth.Json). Also, the problem only seems to surface if you upgrade to Fable.Promise 3.1.1 but your project also includes dependencies that depend on their own on Fable.Promise 3.1.0.

Can it be the actual case? And if so, is that intended? (I would expect that changing the name of an argument but not the signature wouldn't cause a breaking change.) In the case the error is unavoidable at a minimum the error message should be a bit more informative so library authors are more careful when renaming arguments.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions