KCL: Skip serializing default values for AST nodes (#4193)

This will make our snapshots and JSON representations easier to read (making our tests less verbose).
This commit is contained in:
Adam Chalmers
2024-10-17 16:22:40 -07:00
committed by GitHub
parent 057ee479c3
commit a010743abb
80 changed files with 971 additions and 2292 deletions

View File

@ -40,9 +40,7 @@ export class KclManager {
nonCodeMeta: {
nonCodeNodes: {},
start: [],
digest: null,
},
digest: null,
}
private _execState: ExecState = emptyExecState()
private _programMemory: ProgramMemory = ProgramMemory.empty()
@ -208,9 +206,7 @@ export class KclManager {
nonCodeMeta: {
nonCodeNodes: {},
start: [],
digest: null,
},
digest: null,
}
}