Skip to content

[NFC][Encoding] Move convertType to LayoutAttrInterface - #20794

Merged
jtuyls merged 1 commit into
mainfrom
users/jtuyls/move-convert-type
May 13, 2025
Merged

jtuyls merged 1 commit into
mainfrom
users/jtuyls/move-convert-type

Conversation

@jtuyls

@jtuyls jtuyls commented May 13, 2025

Copy link
Copy Markdown
Contributor

The convertType interface method, which converts a type into its materialized form, belongs in the Encoding's LayoutAttrInterface instead of the SerializableEncodingAttrInterface as the former is responsible for materializing encodings, while the latter describes properties of serialized encodings, see #20741 (comment).

@jtuyls
jtuyls merged commit 5bad3ba into main May 13, 2025
@jtuyls
jtuyls deleted the users/jtuyls/move-convert-type branch May 13, 2025 17:56
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
The `convertType` interface method, which converts a type into its
materialized form, belongs in the Encoding's `LayoutAttrInterface`
instead of the `SerializableEncodingAttrInterface` as the former is
responsible for materializing encodings, while the latter describes
properties of serialized encodings, see
#20741 (comment).

Signed-off-by: Jorn Tuyls <[email protected]>
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.

2 participants