Warn when calling deprecated functions (#5447)

* Warn when calling deprecated std functions

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Refactor function values

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-02-22 20:16:29 +13:00
committed by GitHub
parent 57f7d022ca
commit 3ddce116e5
86 changed files with 274 additions and 10811 deletions

View File

@ -33,7 +33,7 @@ describe('processMemory', () => {
const output = processMemory(execState.variables)
expect(output.myVar).toEqual(5)
expect(output.otherVar).toEqual(3)
expect(output.myFn).toEqual('__function(a)__')
expect(output.myFn).toEqual('__function__')
expect(output.theExtrude).toEqual([
{
type: 'extrudePlane',