Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.0 #816 +/- ##
=========================================
Coverage 52.06% 52.06%
Complexity 3507 3507
=========================================
Files 74 74
Lines 8313 8313
=========================================
Hits 4328 4328
Misses 3985 3985
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
这个问题虽然一般不会碰到,但在使用其他代码编辑器例如vscode等的时候,编辑器的静态分析会识别到这个错误,从而导致继承了Model类的所有类都被认为存在错误,这是很困扰的。希望尽快合并 |
Contributor
Author
|
@liu21st 大佬请关注一下,这个小问题很影响代码静态分析 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Model类的__clone()方法中抛出了未引用的InvalidArgumentException类,一般情况不会报错,但在极端情况下访问__clone()方法时会抛出意料之外的错误