-
Notifications
You must be signed in to change notification settings - Fork 52
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
KCL: Reduce can take and return any KCL values #4094
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Previously it only took Array of Number and could only return Sketch. Now it has been unshackled from the chains of poor type signatures.
dee483f
to
14432ca
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4094 +/- ##
==========================================
+ Coverage 86.22% 86.25% +0.03%
==========================================
Files 75 75
Lines 26488 26484 -4
==========================================
+ Hits 22838 22845 +7
+ Misses 3650 3639 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
| `array` | `[u64]` | | Yes | | ||
| `start` | [`Sketch`](/docs/kcl/types/Sketch) | A sketch is a collection of paths. | Yes | | ||
| `array` | [`[KclValue]`](/docs/kcl/types/KclValue) | | Yes | | ||
| `start` | [`KclValue`](/docs/kcl/types/KclValue) | A memory item. | Yes | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize A memory item.
, the doc comment of KclValue
, was making it into the user-facing docs. We should probably improve that.
Previously it only took Array of Number and could only return Sketch.
Now it has been unshackled from the chains of poor type signatures.