Support BinaryExpression
This commit is contained in:
parent
a6dd72549f
commit
4fb9a066b9
|
@ -176,6 +176,7 @@ function compilePattern(state, patternPath) {
|
|||
console.error('Unsupported pattern node type', pattern);
|
||||
}
|
||||
// FALL THROUGH
|
||||
case 'BinaryExpression':
|
||||
case 'MemberExpression':
|
||||
return [t.nullLiteral(), pushConstant(pattern)];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue