{"action":"created","issue":{"url":"https://api.github.com/repos/elves/elvish/issues/229","repository_url":"https://api.github.com/repos/elves/elvish","labels_url":"https://api.github.com/repos/elves/elvish/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/elves/elvish/issues/229/comments","events_url":"https://api.github.com/repos/elves/elvish/issues/229/events","html_url":"https://github.com/elves/elvish/issues/229","id":181836937,"number":229,"title":"elvish bomb","user":{"login":"huiyiqun","id":3468160,"avatar_url":"https://avatars.githubusercontent.com/u/3468160?v=3","gravatar_id":"","url":"https://api.github.com/users/huiyiqun","html_url":"https://github.com/huiyiqun","followers_url":"https://api.github.com/users/huiyiqun/followers","following_url":"https://api.github.com/users/huiyiqun/following{/other_user}","gists_url":"https://api.github.com/users/huiyiqun/gists{/gist_id}","starred_url":"https://api.github.com/users/huiyiqun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huiyiqun/subscriptions","organizations_url":"https://api.github.com/users/huiyiqun/orgs","repos_url":"https://api.github.com/users/huiyiqun/repos","events_url":"https://api.github.com/users/huiyiqun/events{/privacy}","received_events_url":"https://api.github.com/users/huiyiqun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elves/elvish/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-08T17:04:04Z","updated_at":"2016-10-09T14:19:28Z","closed_at":null,"body":"move fast and break...\r\n\r\nI have following file:\r\n```\r\n~> cat .elvish/env.elv\r\nGOPATH=$env:HOME/go\r\nPATH=$env:PATH:$env:HOME/bin\r\n```\r\n\r\nIf I type:\r\n```\r\n~> $env:PATH\r\n```\r\n\r\nthen it will explode and all memory will be exhausted.\r\n\r\nNo additional testing any more. I'm tired of rebooting.\r\n\r\nI think, it's because of the `PATH=$env:PATH`."},"comment":{"url":"https://api.github.com/repos/elves/elvish/issues/comments/252489069","html_url":"https://github.com/elves/elvish/issues/229#issuecomment-252489069","issue_url":"https://api.github.com/repos/elves/elvish/issues/229","id":252489069,"user":{"login":"xiaq","id":582021,"avatar_url":"https://avatars.githubusercontent.com/u/582021?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaq","html_url":"https://github.com/xiaq","followers_url":"https://api.github.com/users/xiaq/followers","following_url":"https://api.github.com/users/xiaq/following{/other_user}","gists_url":"https://api.github.com/users/xiaq/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaq/subscriptions","organizations_url":"https://api.github.com/users/xiaq/orgs","repos_url":"https://api.github.com/users/xiaq/repos","events_url":"https://api.github.com/users/xiaq/events{/privacy}","received_events_url":"https://api.github.com/users/xiaq/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T14:19:28Z","updated_at":"2016-10-09T14:19:28Z","body":"This is because the implementation of `use` first loads the file and then creates the namespace. In `env.elv`, the use of `env:` itself automatically `use`s `env` recursively.\r\n\r\nWe should change the implementation of `use`."}}
{"actor":{"display_login":"xiaq"}}