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

Ensure metaclass consistency #1

Merged
merged 1 commit into from Dec 6, 2018

Conversation

Projects
None yet
2 participants
@Shinmera
Contributor

Shinmera commented Dec 6, 2018

This fixes a problem that occurs when trying to define a stealth mixin on a class that has a custom metaclass. Since metaclasses cannot be switched, we need to pass the class' class on as the metaclass argument when calling ensure-class.

Ensure metaclass consistency
This fixes a problem that occurs when trying to define a stealth mixin on a class that has a custom metaclass. Since metaclasses cannot be switched, we need to pass the class' class on as the metaclass argument when calling ensure-class.

@robert-strandh robert-strandh merged commit 5fee7f1 into robert-strandh:master Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment