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

match on not remembered structs gives weird error #1

Open
SuzanneSoy opened this issue Aug 14, 2016 · 0 comments
Open

match on not remembered structs gives weird error #1

SuzanneSoy opened this issue Aug 14, 2016 · 0 comments
Assignees
Labels

Comments

@SuzanneSoy
Copy link
Owner

SuzanneSoy commented Aug 14, 2016

The fallback struct has no fields, but the match statement complains that the pattern has the wrong number of fields, for tagged structures.

The match-expander should normally just use the patterns (to cause the expansion of what's inside them, in case they also have some non-remembered fields) without matching an actual struct (as it is not declared yet).

@SuzanneSoy SuzanneSoy added the bug label Aug 14, 2016
@SuzanneSoy SuzanneSoy self-assigned this Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant