{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2370","labels_url":"https://api.github.com/repos/less/less.js/issues/2370/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2370/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2370/events","html_url":"https://github.com/less/less.js/issues/2370","id":53542782,"number":2370,"title":"Bug >2.0.0 - \\r only newlines are ignored","user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/less/less.js/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/less/less.js/labels/Medium%20Priority","name":"Medium Priority","color":"0000E0"},{"url":"https://api.github.com/repos/less/less.js/labels/ReadyForImplementation","name":"ReadyForImplementation","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-06T17:57:25Z","updated_at":"2015-01-30T16:59:23Z","closed_at":"2015-01-30T07:12:53Z","body":"I had a bug show up in a Less library I've been working on after I upgraded Less. I was able to back-check all versions to confirm the code works in 1.7.5 and breaks in 2.0.0-2.2.0.\r\n\r\nI've isolated the test case to this code:\r\n\r\nin ```core.less```\r\n```\r\n@import \"core2\";\r\n#lib.run();\r\n```\r\nin ```core2.less```\r\n```\r\n//\r\n#lib {\r\n    .run() { }\r\n}\r\n```\r\nError message: ```NameError: #lib.run is undefined```\r\n\r\nWithout the comment, it compiles fine.\r\n\r\nIf I move the comment here:\r\n```\r\n#lib {\r\n    //\r\n    .run() { }\r\n}\r\n```\r\nThe error is: ```ParseError: Unrecognised input. Possibly missing something```.\r\n\r\nNeither error occurs in 1.7.5.\r\n\r\n***EDIT: To help debug this, I should also note that if I move the code from core2.less to core.less, it works. And if I remove the namespace, I get the same errors. So it seems to be a combination of ```@import``` + comment + mixin.***"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/72233117","html_url":"https://github.com/less/less.js/issues/2370#issuecomment-72233117","issue_url":"https://api.github.com/repos/less/less.js/issues/2370","id":72233117,"user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T16:59:23Z","updated_at":"2015-01-30T16:59:23Z","body":"Thanks!"}}