Skip to content

Comments

Allow overloading for tags in match#1079

Draft
marzipankaiser wants to merge 2 commits intomainfrom
feature/overloaded-patterns
Draft

Allow overloading for tags in match#1079
marzipankaiser wants to merge 2 commits intomainfrom
feature/overloaded-patterns

Conversation

@marzipankaiser
Copy link
Contributor

When a constructor exists twice in the same scope, e.g.

type Value { Abs(...) }
type Term { Abs(...) }

pattern matching on it is rejected with an "Ambiguous reference":

This is a draft to do overload resolution here, too.

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.

1 participant