Fixes https://github.com/KittyCAD/modeling-app/issues/4307 Now if you try to fillet the same edge twice in a single fillet command, the error message is clearer, and the source range will highlight the specific edges in the array which are duplicated. Same goes for chamfer. Note: although the Rust KCL interpreter sends back an array of SourceRange for each KCL error, the frontend only puts the first one into CodeMirror diagnostics. We should fix that: https://github.com/KittyCAD/modeling-app/issues/5754
Rust Crates
Releasing
- Make sure your working directory is this directory.
- Bump the versions of the crates:
just bump-kcl-crate-versions
- Commit the changes:
git add . git commit -m "Bump versions"
- Push the changes and get your PR approved.
- Publish the crates:
just publish-kcl {version}
- This will publish the relevant crates and push a new tag with the prefix
kcl-
. DO NOT SET THE PREFIX TOkcl-
when you run the command. Thejust
command will do that for you. - The tag will then trigger the release of
kcl-python-bindings
andkcl-language-server
.
- This will publish the relevant crates and push a new tag with the prefix