less.js icon indicating copy to clipboard operation
less.js copied to clipboard

Nested Pseudo-classes selector list report error "Missing closing ')'"

Open FlareZh opened this issue 2 years ago • 9 comments

https://lesscss.org/less-preview/#eyJjb2RlIjoiOm5vdCg6aGFzKGRpdiksIGRpdiwgaCkge1xuICAgIGJhY2tncm91bmQ6IHJlZDtcbiAgICB3aWR0aDogMTAwcHg7XG4gICAgaGVpZ2h0OiAxMDBweDtcbn0iLCJhY3RpdmVWZXJzaW9uIjoiNC4xLjMifQ==

FlareZh avatar Jun 21 '23 07:06 FlareZh

Can you please assign this issue to me?

iampaandey avatar Jul 02 '23 17:07 iampaandey

Can you please assign this issue to me?

Of course. But it looks like I don't have that permission.

FlareZh avatar Jul 10 '23 03:07 FlareZh

Can i still complete this issue.

iampaandey avatar Jul 10 '23 04:07 iampaandey

Facing with the same issue. https://lesscss.org/less-preview/#eyJjb2RlIjoiLmNsYXNzIHtcbiAgJjpoYXMoOmlzKHRleHRhcmVhLHNlbGVjdCxpbnB1dDpub3QoOmlzKFt0eXBlPVwiYnV0dG9uXCJdLFt0eXBlPVwiY2hlY2tib3hcIl0sW3R5cGU9XCJmaWxlXCJdLFt0eXBlPVwicmFkaW9cIl0sW3R5cGU9XCJyYW5nZVwiXSxbdHlwZT1cInN1Ym1pdFwiXSkpKSl7XG4gIGRpc3BsYXk6IGJsb2NrO1xufX0iLCJhY3RpdmVWZXJzaW9uIjoiNC4xLjMifQ==

ivan-sapeha avatar Jul 13 '23 11:07 ivan-sapeha

@iChenLei can you please exactly tell the line in less.js file from where you take the code from playground ?

iampaandey avatar Jul 19 '23 12:07 iampaandey

@iChenLei can I also work on that me and @iampaandey are peer programmer please assign it to me also ! ;)

vimal20002 avatar Jul 19 '23 12:07 vimal20002

Can you also please elaborate little bit @matthew-dean ?

iampaandey avatar Jul 19 '23 12:07 iampaandey

@iampaandey I think the issue is here. It looks like the parser is a little naive, in that it allows any parenthetical (I think) after a selector, but then, within that parenthetical, it only accepts a single selector (this.selector vs this.selectors)

matthew-dean avatar Jul 19 '23 17:07 matthew-dean