match on not remembered structs gives weird error #1

Open
opened 2016-08-14 02:14:21 +01:00 by SuzanneSoy · 0 comments
SuzanneSoy commented 2016-08-14 02:14:21 +01:00 (Migrated from github.com)

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).

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).
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/phc-adt#1
No description provided.