important note

This commit is contained in:
Chris Wanstrath 2025-10-28 21:52:41 -07:00
parent b03610761b
commit e1ba9c630d

View File

@ -472,7 +472,7 @@ export class Compiler {
const children = getAllChildren(node)
// We can easily parse [=] as an empty dict, but `[ = ]` is tougher.
// = can be a valid word, and also valid in words, so for now we cheat
// = can be a valid word, and is also valid inside words, so for now we cheat
// and check for arrays that look like `[ = ]` to interpret them as
// empty dicts
if (children.length === 1 && children[0]!.name === 'Word') {