{"action":"created","issue":{"url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/31","labels_url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/31/comments","events_url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/31/events","html_url":"https://github.com/stevenschobert/metalsmith-sass/issues/31","id":109520541,"number":31,"title":"@functions @for loop error","user":{"login":"karneaud","id":2140016,"avatar_url":"https://avatars.githubusercontent.com/u/2140016?v=3","gravatar_id":"","url":"https://api.github.com/users/karneaud","html_url":"https://github.com/karneaud","followers_url":"https://api.github.com/users/karneaud/followers","following_url":"https://api.github.com/users/karneaud/following{/other_user}","gists_url":"https://api.github.com/users/karneaud/gists{/gist_id}","starred_url":"https://api.github.com/users/karneaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karneaud/subscriptions","organizations_url":"https://api.github.com/users/karneaud/orgs","repos_url":"https://api.github.com/users/karneaud/repos","events_url":"https://api.github.com/users/karneaud/events{/privacy}","received_events_url":"https://api.github.com/users/karneaud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T15:59:36Z","updated_at":"2015-10-02T16:02:05Z","closed_at":null,"body":"I've used the following in a previous sass file and it works\r\n\r\n```\r\n@function makelongshadow($color, $len) {\r\n  $val: 0px 0px $color;\r\n  @for $i from 1 through $len {\r\n    $val: #{$val}, #{$i}px #{$i}px #{$color};\r\n  }\r\n  @return $val;\r\n}\r\n```\r\n\r\nHowever, in trying to use it in metalsmith I get\r\n\r\n>   Metalsmith · [metalsmith-sass] Error: error parsing interpolated value\r\n\r\nis your script unable to parse the @function?"},"comment":{"url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/comments/145071631","html_url":"https://github.com/stevenschobert/metalsmith-sass/issues/31#issuecomment-145071631","issue_url":"https://api.github.com/repos/stevenschobert/metalsmith-sass/issues/31","id":145071631,"user":{"login":"karneaud","id":2140016,"avatar_url":"https://avatars.githubusercontent.com/u/2140016?v=3","gravatar_id":"","url":"https://api.github.com/users/karneaud","html_url":"https://github.com/karneaud","followers_url":"https://api.github.com/users/karneaud/followers","following_url":"https://api.github.com/users/karneaud/following{/other_user}","gists_url":"https://api.github.com/users/karneaud/gists{/gist_id}","starred_url":"https://api.github.com/users/karneaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karneaud/subscriptions","organizations_url":"https://api.github.com/users/karneaud/orgs","repos_url":"https://api.github.com/users/karneaud/repos","events_url":"https://api.github.com/users/karneaud/events{/privacy}","received_events_url":"https://api.github.com/users/karneaud/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T16:02:05Z","updated_at":"2015-10-02T16:02:05Z","body":"I note that if I remove the comma from\r\n\r\n```\r\n$val: #{$val}, #{$i}px #{$i}px #{$color};\r\n```\r\n\r\nit does not error. I believe this could be a parsing glitch on your part here?"}}