-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] 依赖注入 #2560
Labels
bug
Something isn't working
Comments
|
这个 VipService 就是内部有 匿名类 的 Service ??? |
是的哈,vipService就是前面所说的Service。这里忘记改名字了 |
好。晚点试下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
依赖注入对象失败。
可能原因:注入类的成员函数中使用了匿名类继承了另外一个类。导致在抽象语法树AST解析的时候误认为此类有父类,导致注入失败。错误信息大概的意思是这个类没有父类,不能使用parent关键字。
抛出的异常:
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: