KittyCAD
modeling-app
Instrumentation
Wall Time
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
KCL: Fix 'cryptic' error when referencing a variable in its own declaration Previously, `x = cos(x)` would just say "`x` is undefined". Now it says that `x` cannot be referenced in its own definition, try using a different variable instead. To do this, I've added a new `Option<String>` field to the mod-local executor context, tracking the current variable declaration. This means cloning some strings, implying a small performance hit. I think it's fine, for the better diagnostics. In the future we could refactor this to use a &str or store variable labels in stack-allocated strings like docs.rs/compact_str or something. Closes https://github.com/KittyCAD/modeling-app/issues/6072#issuecomment-2923227477
achalmers/6072-cryptic-error-var-ref-while-def
3 hours ago
Add mirror2d operations
jtran/mirror2d-ops
3 hours ago
Update output
jtran/transform-ops
4 hours ago
Merge branch 'serena/mirror-ids' of github.com:KittyCAD/modeling-app into serena/mirror-ids
serena/mirror-ids
4 hours ago
Add more detail to close() docs (#7300) * Add more detail to close() docs * Run gen
main
5 hours ago
Run gen
iterion/add-more-detail-to-close-docs
6 hours ago
KCL: Fix cryptic error on unexpected tokens in fn call (#7295) This program: ```kcl 1 |> extrude( length=depth, }) ``` was giving this bad error: ``` unexpected token |> ``` Now it gives ```kcl There was an unexpected }. Try removing it. ``` and it correctly puts the diagnostic on the extra }. Fixes https://github.com/KittyCAD/modeling-app/issues/6126
main
6 hours ago
Update other tests
achalmers/cryptic-error-unnecessary-brace
6 hours ago
Active Branches
KCL: Fix 'cryptic' error when referencing a variable in its own declaration
last run
3 hours ago
#7309
CodSpeed Performance Gauge
0%
Add mirror2d operations to Feature Tree
last run
3 hours ago
#7308
CodSpeed Performance Gauge
0%
Add transform operations to the Feature Tree
last run
4 hours ago
#7307
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs