Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read fails to properly read variants #23

Open
bklaric opened this issue Dec 29, 2023 · 2 comments
Open

read fails to properly read variants #23

bklaric opened this issue Dec 29, 2023 · 2 comments

Comments

@bklaric
Copy link

bklaric commented Dec 29, 2023

Please see this minimal reproducible example on Try PureScript.

Basically, once I write a variant value, read-ing it back sometimes results in read picking up the wrong variant case. To make things worse, this seems to happen only with some combinations of label names.

image

@i-am-the-slime
Copy link
Member

Thank you for this report, I haven't seen it for almost a year, very bad.

@i-am-the-slime
Copy link
Member

I wonder if this is because it's possible to construct a {} from a { someData: xyz } and variants get tried in alphabetic order?

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

No branches or pull requests

2 participants