Files
oxc-project__oxc/tasks/coverage/misc/fail/exponentiation-left-operands.ts
camc314 129b759131 feat(parser): improve diagnostics for unparenthesized LHS on exponential expr (#24569)
## Summary

- Report operator-specific diagnostics when unary and `await` expressions are used as exponentiation left operands.
- Reject unparenthesized TypeScript type assertions in the same position while preserving explicitly parenthesized forms.
- Add regression fixtures and update the affected conformance snapshots.
2026-07-15 18:38:30 +00:00

4 lines
51 B
TypeScript

-value ** 2;
await value ** 2;
<number>value ** 2;