{"action":"created","comment":{"url":"https://api.github.com/repos/less/less.js/pulls/comments/23569765","id":23569765,"diff_hunk":"@@ -126,13 +126,13 @@ a {\n     selector: interpolated;\n }\n .test {\n-  &:nth-child(@{num}) {\n-    selector: interpolated;\n-  }\n-  &:nth-child(odd):not(:nth-child(3)) {\n-    color: #ff0000;\n-  }\n-}\n+   &:nth-child(@{num}) {","path":"test/less/selectors.less","position":11,"original_position":11,"commit_id":"20e555bf4749abd43a9a89337278ab3c54465d1d","original_commit_id":"20e555bf4749abd43a9a89337278ab3c54465d1d","user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"body":"its not ideal that we have a space added here - any idea why?","created_at":"2015-01-26T22:19:46Z","updated_at":"2015-01-26T22:19:46Z","html_url":"https://github.com/less/less.js/pull/2400#discussion_r23569765","pull_request_url":"https://api.github.com/repos/less/less.js/pulls/2400","_links":{"self":{"href":"https://api.github.com/repos/less/less.js/pulls/comments/23569765"},"html":{"href":"https://github.com/less/less.js/pull/2400#discussion_r23569765"},"pull_request":{"href":"https://api.github.com/repos/less/less.js/pulls/2400"}}},"pull_request":{"url":"https://api.github.com/repos/less/less.js/pulls/2400","id":27675356,"html_url":"https://github.com/less/less.js/pull/2400","diff_url":"https://github.com/less/less.js/pull/2400.diff","patch_url":"https://github.com/less/less.js/pull/2400.patch","issue_url":"https://api.github.com/repos/less/less.js/issues/2400","number":2400,"state":"open","locked":false,"title":"Nested parent selectors &:not(&)  - 2026","user":{"login":"SomMeri","id":618879,"avatar_url":"https://avatars.githubusercontent.com/u/618879?v=3","gravatar_id":"","url":"https://api.github.com/users/SomMeri","html_url":"https://github.com/SomMeri","followers_url":"https://api.github.com/users/SomMeri/followers","following_url":"https://api.github.com/users/SomMeri/following{/other_user}","gists_url":"https://api.github.com/users/SomMeri/gists{/gist_id}","starred_url":"https://api.github.com/users/SomMeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomMeri/subscriptions","organizations_url":"https://api.github.com/users/SomMeri/orgs","repos_url":"https://api.github.com/users/SomMeri/repos","events_url":"https://api.github.com/users/SomMeri/events{/privacy}","received_events_url":"https://api.github.com/users/SomMeri/received_events","type":"User","site_admin":false},"body":"Related to #2026 - nested parent selectors.\r\n\r\nE.g. parent selector in following code should be replaced:\r\n````\r\n.foo {\r\n    .selector:not(&_bar) {\r\n        color:red;\r\n    }\r\n}\r\n````\r\n\r\nand compile into:\r\n````\r\n.foo {\r\n    .selector:not(.foo_bar) {\r\n        color:red;\r\n    }\r\n}\r\n````","created_at":"2015-01-20T12:55:48Z","updated_at":"2015-01-26T22:19:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c94e225a73430de856649e35330e463ffbc9639","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/less/less.js/pulls/2400/commits","review_comments_url":"https://api.github.com/repos/less/less.js/pulls/2400/comments","review_comment_url":"https://api.github.com/repos/less/less.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/less/less.js/issues/2400/comments","statuses_url":"https://api.github.com/repos/less/less.js/statuses/20e555bf4749abd43a9a89337278ab3c54465d1d","head":{"label":"SomMeri:nested-parent-selector-2026-v1","ref":"nested-parent-selector-2026-v1","sha":"20e555bf4749abd43a9a89337278ab3c54465d1d","user":{"login":"SomMeri","id":618879,"avatar_url":"https://avatars.githubusercontent.com/u/618879?v=3","gravatar_id":"","url":"https://api.github.com/users/SomMeri","html_url":"https://github.com/SomMeri","followers_url":"https://api.github.com/users/SomMeri/followers","following_url":"https://api.github.com/users/SomMeri/following{/other_user}","gists_url":"https://api.github.com/users/SomMeri/gists{/gist_id}","starred_url":"https://api.github.com/users/SomMeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomMeri/subscriptions","organizations_url":"https://api.github.com/users/SomMeri/orgs","repos_url":"https://api.github.com/users/SomMeri/repos","events_url":"https://api.github.com/users/SomMeri/events{/privacy}","received_events_url":"https://api.github.com/users/SomMeri/received_events","type":"User","site_admin":false},"repo":{"id":15103473,"name":"less-rhino.js","full_name":"SomMeri/less-rhino.js","owner":{"login":"SomMeri","id":618879,"avatar_url":"https://avatars.githubusercontent.com/u/618879?v=3","gravatar_id":"","url":"https://api.github.com/users/SomMeri","html_url":"https://github.com/SomMeri","followers_url":"https://api.github.com/users/SomMeri/followers","following_url":"https://api.github.com/users/SomMeri/following{/other_user}","gists_url":"https://api.github.com/users/SomMeri/gists{/gist_id}","starred_url":"https://api.github.com/users/SomMeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomMeri/subscriptions","organizations_url":"https://api.github.com/users/SomMeri/orgs","repos_url":"https://api.github.com/users/SomMeri/repos","events_url":"https://api.github.com/users/SomMeri/events{/privacy}","received_events_url":"https://api.github.com/users/SomMeri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SomMeri/less-rhino.js","description":"Leaner CSS","fork":true,"url":"https://api.github.com/repos/SomMeri/less-rhino.js","forks_url":"https://api.github.com/repos/SomMeri/less-rhino.js/forks","keys_url":"https://api.github.com/repos/SomMeri/less-rhino.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SomMeri/less-rhino.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SomMeri/less-rhino.js/teams","hooks_url":"https://api.github.com/repos/SomMeri/less-rhino.js/hooks","issue_events_url":"https://api.github.com/repos/SomMeri/less-rhino.js/issues/events{/number}","events_url":"https://api.github.com/repos/SomMeri/less-rhino.js/events","assignees_url":"https://api.github.com/repos/SomMeri/less-rhino.js/assignees{/user}","branches_url":"https://api.github.com/repos/SomMeri/less-rhino.js/branches{/branch}","tags_url":"https://api.github.com/repos/SomMeri/less-rhino.js/tags","blobs_url":"https://api.github.com/repos/SomMeri/less-rhino.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SomMeri/less-rhino.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SomMeri/less-rhino.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/SomMeri/less-rhino.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SomMeri/less-rhino.js/statuses/{sha}","languages_url":"https://api.github.com/repos/SomMeri/less-rhino.js/languages","stargazers_url":"https://api.github.com/repos/SomMeri/less-rhino.js/stargazers","contributors_url":"https://api.github.com/repos/SomMeri/less-rhino.js/contributors","subscribers_url":"https://api.github.com/repos/SomMeri/less-rhino.js/subscribers","subscription_url":"https://api.github.com/repos/SomMeri/less-rhino.js/subscription","commits_url":"https://api.github.com/repos/SomMeri/less-rhino.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/SomMeri/less-rhino.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/SomMeri/less-rhino.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/SomMeri/less-rhino.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/SomMeri/less-rhino.js/contents/{+path}","compare_url":"https://api.github.com/repos/SomMeri/less-rhino.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SomMeri/less-rhino.js/merges","archive_url":"https://api.github.com/repos/SomMeri/less-rhino.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SomMeri/less-rhino.js/downloads","issues_url":"https://api.github.com/repos/SomMeri/less-rhino.js/issues{/number}","pulls_url":"https://api.github.com/repos/SomMeri/less-rhino.js/pulls{/number}","milestones_url":"https://api.github.com/repos/SomMeri/less-rhino.js/milestones{/number}","notifications_url":"https://api.github.com/repos/SomMeri/less-rhino.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SomMeri/less-rhino.js/labels{/name}","releases_url":"https://api.github.com/repos/SomMeri/less-rhino.js/releases{/id}","created_at":"2013-12-11T09:44:11Z","updated_at":"2015-01-22T13:09:15Z","pushed_at":"2015-01-26T09:55:27Z","git_url":"git://github.com/SomMeri/less-rhino.js.git","ssh_url":"git@github.com:SomMeri/less-rhino.js.git","clone_url":"https://github.com/SomMeri/less-rhino.js.git","svn_url":"https://github.com/SomMeri/less-rhino.js","homepage":"http://lesscss.org","size":10272,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"less:master","ref":"master","sha":"8ed6a9748e22ce16ae065a6fbb497056a554ffe7","user":{"login":"less","id":3538330,"avatar_url":"https://avatars.githubusercontent.com/u/3538330?v=3","gravatar_id":"","url":"https://api.github.com/users/less","html_url":"https://github.com/less","followers_url":"https://api.github.com/users/less/followers","following_url":"https://api.github.com/users/less/following{/other_user}","gists_url":"https://api.github.com/users/less/gists{/gist_id}","starred_url":"https://api.github.com/users/less/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/less/subscriptions","organizations_url":"https://api.github.com/users/less/orgs","repos_url":"https://api.github.com/users/less/repos","events_url":"https://api.github.com/users/less/events{/privacy}","received_events_url":"https://api.github.com/users/less/received_events","type":"Organization","site_admin":false},"repo":{"id":527644,"name":"less.js","full_name":"less/less.js","owner":{"login":"less","id":3538330,"avatar_url":"https://avatars.githubusercontent.com/u/3538330?v=3","gravatar_id":"","url":"https://api.github.com/users/less","html_url":"https://github.com/less","followers_url":"https://api.github.com/users/less/followers","following_url":"https://api.github.com/users/less/following{/other_user}","gists_url":"https://api.github.com/users/less/gists{/gist_id}","starred_url":"https://api.github.com/users/less/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/less/subscriptions","organizations_url":"https://api.github.com/users/less/orgs","repos_url":"https://api.github.com/users/less/repos","events_url":"https://api.github.com/users/less/events{/privacy}","received_events_url":"https://api.github.com/users/less/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/less/less.js","description":"Leaner CSS","fork":false,"url":"https://api.github.com/repos/less/less.js","forks_url":"https://api.github.com/repos/less/less.js/forks","keys_url":"https://api.github.com/repos/less/less.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/less/less.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/less/less.js/teams","hooks_url":"https://api.github.com/repos/less/less.js/hooks","issue_events_url":"https://api.github.com/repos/less/less.js/issues/events{/number}","events_url":"https://api.github.com/repos/less/less.js/events","assignees_url":"https://api.github.com/repos/less/less.js/assignees{/user}","branches_url":"https://api.github.com/repos/less/less.js/branches{/branch}","tags_url":"https://api.github.com/repos/less/less.js/tags","blobs_url":"https://api.github.com/repos/less/less.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/less/less.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/less/less.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/less/less.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/less/less.js/statuses/{sha}","languages_url":"https://api.github.com/repos/less/less.js/languages","stargazers_url":"https://api.github.com/repos/less/less.js/stargazers","contributors_url":"https://api.github.com/repos/less/less.js/contributors","subscribers_url":"https://api.github.com/repos/less/less.js/subscribers","subscription_url":"https://api.github.com/repos/less/less.js/subscription","commits_url":"https://api.github.com/repos/less/less.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/less/less.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/less/less.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/less/less.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/less/less.js/contents/{+path}","compare_url":"https://api.github.com/repos/less/less.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/less/less.js/merges","archive_url":"https://api.github.com/repos/less/less.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/less/less.js/downloads","issues_url":"https://api.github.com/repos/less/less.js/issues{/number}","pulls_url":"https://api.github.com/repos/less/less.js/pulls{/number}","milestones_url":"https://api.github.com/repos/less/less.js/milestones{/number}","notifications_url":"https://api.github.com/repos/less/less.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/less/less.js/labels{/name}","releases_url":"https://api.github.com/repos/less/less.js/releases{/id}","created_at":"2010-02-20T17:25:38Z","updated_at":"2015-01-26T22:14:47Z","pushed_at":"2015-01-26T22:14:47Z","git_url":"git://github.com/less/less.js.git","ssh_url":"git@github.com:less/less.js.git","clone_url":"https://github.com/less/less.js.git","svn_url":"https://github.com/less/less.js","homepage":"http://lesscss.org","size":30916,"stargazers_count":11717,"watchers_count":11717,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2670,"mirror_url":null,"open_issues_count":185,"forks":2670,"open_issues":185,"watchers":11717,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/less/less.js/pulls/2400"},"html":{"href":"https://github.com/less/less.js/pull/2400"},"issue":{"href":"https://api.github.com/repos/less/less.js/issues/2400"},"comments":{"href":"https://api.github.com/repos/less/less.js/issues/2400/comments"},"review_comments":{"href":"https://api.github.com/repos/less/less.js/pulls/2400/comments"},"review_comment":{"href":"https://api.github.com/repos/less/less.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/less/less.js/pulls/2400/commits"},"statuses":{"href":"https://api.github.com/repos/less/less.js/statuses/20e555bf4749abd43a9a89337278ab3c54465d1d"}}}}