Files
modeling-app/public
Adam Chalmers 4575b32dbc KCL parser: Allow .prop or [index] to follow any expression (#7371)
Previously in a member expression like `foo.x` or `foo[3]`, `foo` had to be an identifier. You could not do something like `f().x` (and if you tried, you got a cryptic error). Rather than make the error better, we should just accept any expression to be the LHS of a member expression (aka its 'object').

This does knock our "parse lots of function calls" from 58 to 55 calls before it stack overflows. But I think it's fine, we'll address this in https://github.com/KittyCAD/modeling-app/pull/6226 when I get back to it.

Closes https://github.com/KittyCAD/modeling-app/issues/7273
2025-06-05 09:23:48 -04:00
..
2024-04-16 16:57:45 -04:00
2023-10-16 13:28:41 -04:00
2024-04-16 16:57:45 -04:00
2024-04-16 16:57:45 -04:00
2024-08-16 21:15:42 +10:00
2024-08-16 21:15:42 +10:00
2022-12-18 08:13:46 +11:00
2022-11-12 13:11:54 +11:00
2023-12-18 06:15:26 -05:00