Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

fix(rome_js_parser): improve await handling in non-async context #3573

Merged
merged 6 commits into from
Nov 14, 2022
Merged

fix(rome_js_parser): improve await handling in non-async context #3573

merged 6 commits into from
Nov 14, 2022

Conversation

95th
Copy link
Contributor

@95th 95th commented Nov 6, 2022

Summary

Fixes:

Test Plan

Added unit tests for the scenarios.

@netlify
Copy link

netlify bot commented Nov 6, 2022

Deploy Preview for docs-rometools failed.

Name Link
🔨 Latest commit 483492d
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/6369e1c9c9c9d40009b0e64a

crates/rome_js_parser/src/syntax/expr.rs Outdated Show resolved Hide resolved
crates/rome_js_parser/src/syntax/expr.rs Outdated Show resolved Hide resolved
crates/rome_js_parser/src/syntax/expr.rs Outdated Show resolved Hide resolved
crates/rome_js_parser/src/syntax/expr.rs Outdated Show resolved Hide resolved
@MichaReiser MichaReiser added this to the 10.1.0 milestone Nov 8, 2022
@95th 95th requested review from MichaReiser and removed request for xunilrj November 8, 2022 08:29
@Boshen
Copy link
Contributor

Boshen commented Nov 8, 2022

FYI yield / generator has the same problem 😉 You may wish to fix it next.

Copy link
Contributor

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing all the feedback. I'll wait with merging until we have released the patch release for 10.0

@MichaReiser MichaReiser merged commit 9b5dcdc into rome:main Nov 14, 2022
@MichaReiser MichaReiser added the A-Parser Area: parser label Nov 14, 2022
jeysal added a commit to jeysal/rometools that referenced this pull request Nov 14, 2022
* upstream/main: (45 commits)
  website(docs): set `color-scheme` on the root element (rome#3721)
  feat(rome_analyze): add a warning for unused suppression comments (rome#3718)
  feat(rome_js_analyze): Implement prefer-numeric-literals lint (rome#3558)
  feat(rome_js_formatter): jestEach template literals rome#3308 (rome#3582)
  doc(website): Add context about Romes philosophy (rome#3714)
  fix(rome_js_formatter): Single-line comment below a JSX prop triggers… (rome#3641)
  test(rome_js_formatter): update prettier tests (rome#3684)
  fix(rome_js_parser): improve await handling in non-async context (rome#3573)
  fix(rome_js_parser): improve yield parsing in non generator function (rome#3622)
  More playground polish
  Fix backgrounds
  Fix height
  Align docs.rome.tools with rome.tools
  Reenable compression
  Add missing width
  website(docs): More playground IDE features (rome#3711)
  fix(rome_js_formatter): new expression attribute (rome#3686)
  docs(website): added checkbox to toggle linter in playground (rome#3699)
  website(docs): More website tweaks (rome#3707)
  website(docs): Add default layout property (rome#3705)
  ...
@95th 95th deleted the await_without_async branch November 19, 2022 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Parser Area: parser
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants