Files
Adam Chalmers d3979edb41 KCL: Better error message when using var in its own definition (#7339)
I thought I did this in https://github.com/KittyCAD/modeling-app/pull/7325, but I forgot to actually set the better message.

Actually fixes, for real this time, https://github.com/KittyCAD/modeling-app/issues/6072 this time.
2025-06-03 16:46:28 +00:00

4 lines
155 B
Plaintext

// This won't work, because `sketch001` is being referenced in its own definition.
sketch001 = startSketchOn(XY)
|> startProfileAt([20, -20], sketch001)