{"action":"opened","issue":{"url":"https://api.github.com/repos/less/less.js/issues/3098","repository_url":"https://api.github.com/repos/less/less.js","labels_url":"https://api.github.com/repos/less/less.js/issues/3098/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/3098/comments","events_url":"https://api.github.com/repos/less/less.js/issues/3098/events","html_url":"https://github.com/less/less.js/issues/3098","id":255702164,"number":3098,"title":"Output of interpolated selector with nested rules is different than written out","user":{"login":"chazsolo","id":5860950,"avatar_url":"https://avatars3.githubusercontent.com/u/5860950?v=4","gravatar_id":"","url":"https://api.github.com/users/chazsolo","html_url":"https://github.com/chazsolo","followers_url":"https://api.github.com/users/chazsolo/followers","following_url":"https://api.github.com/users/chazsolo/following{/other_user}","gists_url":"https://api.github.com/users/chazsolo/gists{/gist_id}","starred_url":"https://api.github.com/users/chazsolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chazsolo/subscriptions","organizations_url":"https://api.github.com/users/chazsolo/orgs","repos_url":"https://api.github.com/users/chazsolo/repos","events_url":"https://api.github.com/users/chazsolo/events{/privacy}","received_events_url":"https://api.github.com/users/chazsolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-06T18:35:46Z","updated_at":"2017-09-06T18:35:46Z","closed_at":null,"author_association":"NONE","body":"I noticed this while playing around with selector interpolation on [less2css.org](http://less2css.org/#%7B%22less%22%3A%22%40classes%3A%20~%5C%22.a%2C%20.b%2C%20.c%5C%22%3B%5Cn%5Cn%40%7Bclasses%7D%20%7B%5Cn%20%20font-weight%3A%20bold%3B%5Cn%20%20%5Cn%20%20%2B%20.z%20%7B%5Cn%20%20%20%5Ctcolor%3A%20blue%3B%20%5Cn%20%20%7D%5Cn%7D%5Cn%5Cn.p%2C%20.q%2C%20.r%20%7B%5Cn%20%20font-weight%3A%20bold%3B%5Cn%20%20%5Cn%20%20%2B%20.z%20%7B%5Cn%20%20%20%20color%3A%20blue%3B%5Cn%20%20%7D%5Cn%7D%22%7D):\r\n\r\nIf I use an interpolated selector with nested rules, the output is not what I expected (when compared to written out). For example, the given input:\r\n\r\n```\r\n@classes: ~\".a, .b, .c\";\r\n\r\n@{classes} {  \r\n  + .z {\r\n   \tcolor: blue; \r\n  }\r\n}\r\n\r\n.p, .q, .r {\r\n  + .z {\r\n    color: blue;\r\n  }\r\n}\r\n```\r\n\r\nprovides the following output:\r\n\r\n```\r\n.a, .b, .c + .z {\r\n  color: blue;\r\n}\r\n.p + .z,\r\n.q + .z,\r\n.r + .z {\r\n  color: blue;\r\n}\r\n```\r\n\r\nShouldn't the interpolated class output include `+ .z` for each selector instead of just the final one?"}}
{"actor":{"display_login":"chazsolo"}}