-
Notifications
You must be signed in to change notification settings - Fork 45
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: More ways to reference paths #4387
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
593869c
to
61d5527
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4387 +/- ##
==========================================
- Coverage 86.09% 86.09% -0.01%
==========================================
Files 78 78
Lines 27755 27829 +74
==========================================
+ Hits 23897 23959 +62
- Misses 3858 3870 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
61d5527
to
7d70e96
Compare
@@ -181,47 +181,39 @@ impl Args { | |||
Ok(()) | |||
} | |||
|
|||
fn make_user_val_from_json(&self, j: serde_json::Value) -> Result<KclValue, KclError> { | |||
Ok(KclValue::UserVal(crate::executor::UserVal { | |||
fn make_user_val_from_json(&self, j: serde_json::Value) -> KclValue { |
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 realized this function always returned Ok, so I removed the Result wrapper from the return type. That change cascaded through to some other functions.
1daa003
to
5969e02
Compare
99a08fa
to
e82ef5c
Compare
e82ef5c
to
6de8ee9
Compare
Adds new stdlib functions segStart, segStartX, segStartY, segEnd Part of <#4382>
Closes #4382