[PSA] Default `fold` method signature has been switched to using `FoldAdaptor`

Hello everyone!

As promised in the previous PSA, the default fold method signature of dialects has now been switched to using kEmitFoldAdaptorFolder.

This means any code that does not explicitly set useFoldAPI will now generate the new method signature using FoldAdaptors. Any downstream code that has not yet updated, nor explicitly set the value to kEmitRawAttributesFolder will experience a build breakage. Please consider updating to the new fold API. If you require more time before the old API is fully removed you can use kEmitRawAttributesFolder and live with the warning.

See previous PSA for preciser upgrading instructions.

Given the state of the ecosystem I am planning to remove the old API in roughly 2 to 4 weeks.

1 Like