{"action":"closed","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/1873","repository_url":"https://api.github.com/repos/sass/libsass","labels_url":"https://api.github.com/repos/sass/libsass/issues/1873/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/1873/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/1873/events","html_url":"https://github.com/sass/libsass/issues/1873","id":127127714,"number":1873,"title":"Extend inside root block should error","user":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/libsass/labels/Bug%20-%20Confirmed","name":"Bug - Confirmed","color":"e11d21"},{"url":"https://api.github.com/repos/sass/libsass/labels/Bug%20-%20Regression","name":"Bug - Regression","color":"FF0066"},{"url":"https://api.github.com/repos/sass/libsass/labels/Bug%20-%20Should%20Error","name":"Bug - Should Error","color":"f82420"},{"url":"https://api.github.com/repos/sass/libsass/labels/Dev%20-%20Test%20Written","name":"Dev - Test Written","color":"bfe5bf"},{"url":"https://api.github.com/repos/sass/libsass/labels/Dev%20-%20WIP","name":"Dev - WIP","color":"663300"}],"state":"closed","locked":false,"assignee":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sass/libsass/milestones/5","html_url":"https://github.com/sass/libsass/milestones/3.4","labels_url":"https://api.github.com/repos/sass/libsass/milestones/5/labels","id":1013792,"number":5,"title":"3.4","description":"- operator precedences\r\n- binary expressions\r\n- correct sourcemaps\r\n","creator":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":7,"state":"open","created_at":"2015-03-09T22:28:53Z","updated_at":"2016-04-17T03:09:12Z","due_on":"2016-07-31T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-01-17T22:07:26Z","updated_at":"2016-04-17T03:09:12Z","closed_at":"2016-04-17T03:09:12Z","body":"Continued from https://github.com/sass/libsass/issues/1651\r\n\r\n```scss\r\n.a {\r\n  display: block;\r\n}\r\n\r\n.b {\r\n  @at-root (with: media) {\r\n    @extend .a;\r\n  }\r\n}\r\n```\r\n\r\nShould error:\r\n```\r\nError: Extend directives may only be used within rules.\r\n```\r\n\r\nError is disabled for now until we figure out how to handle `with` and `without` correctly\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29959506-extend-inside-root-block-should-error?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}