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

Type2Service 将不允许为虚方法 #96

Closed
ymh199478 opened this issue Dec 3, 2018 · 0 comments
Closed

Type2Service 将不允许为虚方法 #96

ymh199478 opened this issue Dec 3, 2018 · 0 comments
Labels

Comments

@ymh199478
Copy link
Contributor

ymh199478 commented Dec 3, 2018

不再允许Type2Service被覆写,因为会导致一些潜在性问题。

例如:在框架初始化的构造函数中调用Type2Service,会导致子类覆写类没有被实行。

ymh199478 added a commit that referenced this issue Dec 4, 2018
@ymh199478 ymh199478 added the 1.3 label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant