{"action":"created","issue":{"url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/69","repository_url":"https://api.github.com/repos/crucialfelix/atom-supercollider","labels_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/69/comments","events_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/69/events","html_url":"https://github.com/crucialfelix/atom-supercollider/issues/69","id":163280680,"number":69,"title":"certain code import breaks eval shortcut","user":{"login":"tatecarson","id":12865394,"avatar_url":"https://avatars.githubusercontent.com/u/12865394?v=3","gravatar_id":"","url":"https://api.github.com/users/tatecarson","html_url":"https://github.com/tatecarson","followers_url":"https://api.github.com/users/tatecarson/followers","following_url":"https://api.github.com/users/tatecarson/following{/other_user}","gists_url":"https://api.github.com/users/tatecarson/gists{/gist_id}","starred_url":"https://api.github.com/users/tatecarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatecarson/subscriptions","organizations_url":"https://api.github.com/users/tatecarson/orgs","repos_url":"https://api.github.com/users/tatecarson/repos","events_url":"https://api.github.com/users/tatecarson/events{/privacy}","received_events_url":"https://api.github.com/users/tatecarson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T22:28:31Z","updated_at":"2016-07-01T07:26:57Z","closed_at":null,"body":"Some very strange is happening when I try to open or copy and paste this file into atom-supercollider. \r\n\r\nhttps://www.dropbox.com/s/yqtep2ucriviwu0/dist2.scd?dl=0\r\n\r\nIt's a file output by openmusic that just generates a Pbind with the given values. Whenever I open the file in atom or even just copy and paste the code my shortcut for eval breaks if I'm not selecting anything. I still works if the whole line is selected. The strange thing is that if I delete the pbind and try to run something else then the shortcut starts working again. \r\n\r\nEverything works fine in the IDE. \r\n\r\nAny ideas? \r\n"},"comment":{"url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/comments/229875827","html_url":"https://github.com/crucialfelix/atom-supercollider/issues/69#issuecomment-229875827","issue_url":"https://api.github.com/repos/crucialfelix/atom-supercollider/issues/69","id":229875827,"user":{"login":"crucialfelix","id":218738,"avatar_url":"https://avatars.githubusercontent.com/u/218738?v=3","gravatar_id":"","url":"https://api.github.com/users/crucialfelix","html_url":"https://github.com/crucialfelix","followers_url":"https://api.github.com/users/crucialfelix/followers","following_url":"https://api.github.com/users/crucialfelix/following{/other_user}","gists_url":"https://api.github.com/users/crucialfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/crucialfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crucialfelix/subscriptions","organizations_url":"https://api.github.com/users/crucialfelix/orgs","repos_url":"https://api.github.com/users/crucialfelix/repos","events_url":"https://api.github.com/users/crucialfelix/events{/privacy}","received_events_url":"https://api.github.com/users/crucialfelix/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T07:26:56Z","updated_at":"2016-07-01T07:26:56Z","body":"```\r\nPbind(\\freq, Pseq([[183.71933],[306.13547],[428.95813],[551.17237],[673.88556],[795.8538],[918.4303],[1041.6776],[1163.8529],[1286.9077],[1408.2551],[1530.3999],[1653.56],[1776.3412]]),\\dur, Pseq([1,1,1,1,1,1,1,1,1,1,1,1,1,1]),\\amp, Pseq(nil),).play;\r\n```\r\n\r\nThe error I'm seeing is:\r\n\r\n```\r\nERROR: ListPattern (Pseq) requires a non-empty collection; received nil.9:23:20.071\r\nMeta_ListPattern:*new\r\nArgs\r\nthis\tPseq\r\nlist\tnil\r\nrepeats\tInteger 1\r\nMeta_Pseq:*new\r\nArgs\r\nthis\tPseq\r\nlist\tnil\r\nrepeats\tInteger 1\r\noffset\tInteger 0\r\n```\r\n\r\nwhich is the 2nd Pseq. The first one is fine.\r\n\r\nThese compile fine:\r\n\r\n```\r\n[[183.71933],[306.13547],[428.95813],[551.17237],[673.88556],[795.8538],[918.4303],[1041.6776],[1163.8529],[1286.9077],[1408.2551],[1530.3999],[1653.56],[1776.3412]]\r\n\r\n\r\nPseq([[183.71933],[306.13547],[428.95813],[551.17237],[673.88556],[795.8538],[918.4303],[1041.6776],[1163.8529],[1286.9077],[1408.2551],[1530.3999],[1653.56],[1776.3412]])\r\n\r\n```"}}
{"actor":{"display_login":"crucialfelix"}}