Skip to content

Conversation

Graveflo
Copy link
Contributor

c.inheritancePenalty = oldInheritancePenalty
if bestMatch > isNone:
c.inheritancePenalty = bestPenatly
result = bestMatch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Instead the later disambiguation phase should pick it up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC the later phases actually don't handle tyOr precisely. You're right though, if I made this unique I probably shouldn't have. I think the failures are coming from binding issues. Might be a deeper problem here unfortunately.

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.

2 participants