BugDomain: ParserHelp Wanted
Métriques du dépôt
- Stars
- (108 860 étoiles)
- Métriques de merge PR
- (Merge moyen 6j 17h) (9 PRs mergées en 30 j)
Description
🔎 Search Terms
"import defer"
🕗 Version & Regression Information
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about 6.0.3_____
- I was unable to test this on prior versions because _______
⏯ Playground Link
💻 Code
import.defer?.('x');
🙁 Actual behavior
No errors.
🙂 Expected behavior
Should not allow it as an optional call.
Additional information about the issue
Parsers like Oxc, Yuku, SWC, Babel all reject it. I didn't read the spec, but unless they are wrong.