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

FEATURE: add go interface-like trait system #7

Merged
merged 1 commit into from
Dec 22, 2016
Merged

Conversation

taylorchu
Copy link
Owner

#6

This one simple implementation that takes advantage of the existing type checking system. It removes the methods defined on replaced placeholder, so the replaced type is forced to implement those methods to be type-checked.

@DmitriyMV

@DmitriyMV
Copy link

I'll look into this as soon as I can - thank you!

@taylorchu taylorchu merged commit c648c3f into master Dec 22, 2016
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