We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbbddf5 commit 666ea84Copy full SHA for 666ea84
packages/@lwc/template-compiler/src/parser/expression.ts
@@ -36,6 +36,9 @@ function validateExpression(
36
config: NormalizedConfig
37
): asserts node is Expression {
38
const isValidNode = t.isIdentifier(node) || t.isMemberExpression(node);
39
+ // INVALID_XYZ_COMPLEX provides additional context to the user if CTE is enabled.
40
+ // The author may not have delimited the CTE with quotes, resulting in it being parsed
41
+ // as a legacy expression.
42
invariant(
43
isValidNode,
44
config.experimentalComplexExpressions
0 commit comments