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

Default implementations in the interfaces #54

Closed
wants to merge 8 commits into from

comment about the keyword

  • Loading branch information...
dmitryhryppa committed Jan 19, 2019
commit c2c647702cf3fa0b6b39ab948602a97b9eab60a6
@@ -106,7 +106,7 @@ class Cat implements IUser {
}
}
```

`default` keyword may be replaced with some meta, or may not be used at all. This is not necessary for the idea in general.
Generated code should be the same as it already is in the current implementation.
And example code described above can be unrolled into this:

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.