Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow assignments before tag variables are initialized #2266

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

LuLaValva
Copy link
Member

Description

Make this work:

button onClick() { x++ } -- ${x}
let/x=0

Checklist:

  • I have read the CONTRIBUTING document and have signed (or will sign) the CLA.
  • I have updated/added documentation affected by my changes.
  • I have added tests to cover my changes.

Copy link

changeset-bot bot commented Jul 31, 2024

⚠️ No Changeset found

Latest commit: 2c44ac5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 99.55752% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.54%. Comparing base (40d4067) to head (10ed125).
Report is 4 commits behind head on main.

Files Patch % Lines
packages/translator-tags/src/util/signals.ts 99.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2266      +/-   ##
==========================================
+ Coverage   87.51%   87.54%   +0.03%     
==========================================
  Files         333      333              
  Lines       34061    34163     +102     
  Branches     1894     1915      +21     
==========================================
+ Hits        29808    29909     +101     
- Misses       4240     4241       +1     
  Partials       13       13              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LuLaValva LuLaValva merged commit b7e8f77 into main Aug 8, 2024
7 checks passed
@LuLaValva LuLaValva deleted the assignment-before-tag-var branch August 8, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant