Skip to content

Conversation

@Shatur
Copy link
Contributor

@Shatur Shatur commented Nov 22, 2022

Objective

  • Reflected unit structs fails to deserialize with no field at index 0 on struct <name>

Solution

  • Test this case.
  • Fix it.

Changelog

Fixed

  • Deserialization for reflected unit structs.

@Shatur Shatur requested a review from MrGVSV November 22, 2022 23:30
@alice-i-cecile alice-i-cecile added this to the 0.9.1 milestone Nov 22, 2022
@alice-i-cecile alice-i-cecile added A-Reflection Runtime information about types C-Bug An unexpected or incorrect behavior labels Nov 22, 2022
@alice-i-cecile
Copy link
Member

alice-i-cecile commented Nov 22, 2022

Hopefully fixes #6713.

@Shatur
Copy link
Contributor Author

Shatur commented Nov 22, 2022

Duplicate of #6722, I somehow missed it 😄

@Shatur Shatur closed this Nov 22, 2022
@Shatur Shatur deleted the reflect-unit-structs branch November 22, 2022 23:34
@Shatur Shatur removed this from the 0.9.1 milestone Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Reflection Runtime information about types C-Bug An unexpected or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants