Skip to content

Conversation

gitlilimin
Copy link
Contributor

Model类的__clone()方法中抛出了未引用的InvalidArgumentException类,一般情况不会报错,但在极端情况下访问__clone()方法时会抛出意料之外的错误

Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.06%. Comparing base (006ad4b) to head (bb24b50).

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           
Flag Coverage Δ
unittests 52.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gitlilimin
Copy link
Contributor Author

这个问题虽然一般不会碰到,但在使用其他代码编辑器例如vscode等的时候,编辑器的静态分析会识别到这个错误,从而导致继承了Model类的所有类都被认为存在错误,这是很困扰的。希望尽快合并

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.

1 participant