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

Avoid possible shadowing of existing bindings in macro expansion #477

Merged
merged 1 commit into from Aug 31, 2022
Merged

Avoid possible shadowing of existing bindings in macro expansion #477

merged 1 commit into from Aug 31, 2022

Conversation

danielalvsaaker
Copy link
Contributor

Solves #476 by collecting children in a single expression without binding to a variable.

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #477 (7a69a96) into master (5de8f76) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #477   +/-   ##
=======================================
  Coverage   64.47%   64.47%           
=======================================
  Files          52       52           
  Lines        8400     8400           
=======================================
  Hits         5416     5416           
  Misses       2984     2984           
Impacted Files Coverage Δ
packages/sycamore-macro/src/view/codegen.rs 97.37% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@lukechu10
Copy link
Collaborator

Awesome!

@lukechu10 lukechu10 merged commit cbdd575 into sycamore-rs:master Aug 31, 2022
@lukechu10 lukechu10 linked an issue Aug 31, 2022 that may be closed by this pull request
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.

Macro hygiene issue with nested components/children
2 participants