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

invalid var reference is using a different var that almost matches #159

Open
JaneOri opened this issue Jul 31, 2022 · 0 comments
Open

invalid var reference is using a different var that almost matches #159

JaneOri opened this issue Jul 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@JaneOri
Copy link

JaneOri commented Jul 31, 2022

Reduced example:
https://codepen.io/propjockey/pen/poLppJX/2c1726852bc96c8bf7703c95486a97c5?editors=1010
The each-template prop uses a var that is referencing --bad-match which doesn't exist, but is substituted with the value on var called --bad-match2.

If --bad-match2 ends with anything other than digits, the collision bug does not occur. Ex:
--bad-match22 found by var(--bad-match)
--bad-matcha (correctly) NOT found by var(--bad-match)
--bad-match-2 (correctly) NOT found by var(--bad-match)

probably related to #155

Ty! 💜

@matthewp matthewp added the bug Something isn't working label Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants