fix: extend in some situations, like [[bd]@3 bd]
This commit is contained in:
parent
67bfedb317
commit
15f3321b04
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ function evaluator(node, scope) {
|
||||||
let pat;
|
let pat;
|
||||||
if (type === 'plain' && typeof variable !== 'undefined') {
|
if (type === 'plain' && typeof variable !== 'undefined') {
|
||||||
// some function names are not patternable, so we skip reification here
|
// some function names are not patternable, so we skip reification here
|
||||||
if (['!', 'extend', '@', 'expand'].includes(value)) {
|
if (['!', 'extend', '@', 'expand', 'square', 'angle'].includes(value)) {
|
||||||
return variable;
|
return variable;
|
||||||
}
|
}
|
||||||
pat = reify(variable);
|
pat = reify(variable);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue