{"action":"created","issue":{"url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/10","labels_url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/10/comments","events_url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/10/events","html_url":"https://github.com/Rich-Harris/sorcery/issues/10","id":77220842,"number":10,"title":"Warning: Cannot call method 'trace' of undefined","user":{"login":"JohnLouderback","id":4743179,"avatar_url":"https://avatars.githubusercontent.com/u/4743179?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnLouderback","html_url":"https://github.com/JohnLouderback","followers_url":"https://api.github.com/users/JohnLouderback/followers","following_url":"https://api.github.com/users/JohnLouderback/following{/other_user}","gists_url":"https://api.github.com/users/JohnLouderback/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnLouderback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnLouderback/subscriptions","organizations_url":"https://api.github.com/users/JohnLouderback/orgs","repos_url":"https://api.github.com/users/JohnLouderback/repos","events_url":"https://api.github.com/users/JohnLouderback/events{/privacy}","received_events_url":"https://api.github.com/users/JohnLouderback/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-17T05:25:18Z","updated_at":"2015-06-07T18:42:49Z","closed_at":"2015-06-07T18:41:16Z","body":"When running this syncronously:\r\n\r\n```javascript\r\nvar chain = sorcery.loadSync(temp + 'test.js');\r\nchain.apply();\r\n```\r\n\r\nI get the error:\r\n```\r\nWarning: Cannot call method 'trace' of undefined\r\n```\r\n\r\nstrangely, logging ``console.log(chain.__proto__)`` shows the ``trace`` is, in fact, a method of chain."},"comment":{"url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/comments/109787757","html_url":"https://github.com/Rich-Harris/sorcery/issues/10#issuecomment-109787757","issue_url":"https://api.github.com/repos/Rich-Harris/sorcery/issues/10","id":109787757,"user":{"login":"Rich-Harris","id":1162160,"avatar_url":"https://avatars.githubusercontent.com/u/1162160?v=3","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T18:42:49Z","updated_at":"2015-06-07T18:42:49Z","body":"@JohnLouderback Sorry for the crazy delay on this, been up to the gills lately. The repro you provided was very helpful in getting to the bottom of this - the fix is in, just released it as 0.6.2. "}}