{"action":"created","issue":{"url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/466","labels_url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/466/comments","events_url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/466/events","html_url":"https://github.com/ModuleLoader/es6-module-loader/issues/466","id":128400611,"number":466,"title":"Throw when trying to edit a module export","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/labels/feature","name":"feature","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-24T14:31:42Z","updated_at":"2016-01-25T13:05:03Z","closed_at":null,"body":"In https://github.com/ModuleLoader/es6-module-loader/blob/master/src/loader.js#L760, we should be able to add a setter that just throws if trying to edit an export property."},"comment":{"url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/comments/174503383","html_url":"https://github.com/ModuleLoader/es6-module-loader/issues/466#issuecomment-174503383","issue_url":"https://api.github.com/repos/ModuleLoader/es6-module-loader/issues/466","id":174503383,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T13:05:03Z","updated_at":"2016-01-25T13:05:03Z","body":"Patching `import {server} from 'server'` is different to doing `import * as Server from 'server'`. It's only the latter case we can throw on for patches, the first case must be caught by static analysis in the transpilers themselves. Throwing in these cases at whatever levels are appropriate is important though to encourage specification compliance."}}