corset icon indicating copy to clipboard operation
corset copied to clipboard

invalid var reference is using a different var that almost matches

Open JaneOri opened this issue 2 years ago • 0 comments

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! 💜

JaneOri avatar Jul 31 '22 19:07 JaneOri