{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/3804","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/3804/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/3804/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/3804/events","html_url":"https://github.com/Microsoft/vscode/issues/3804","id":139182498,"number":3804,"title":"0.10.10 erroring on object spread properties in .js files","user":{"login":"garthk","id":15906,"avatar_url":"https://avatars.githubusercontent.com/u/15906?v=3","gravatar_id":"","url":"https://api.github.com/users/garthk","html_url":"https://github.com/garthk","followers_url":"https://api.github.com/users/garthk/followers","following_url":"https://api.github.com/users/garthk/following{/other_user}","gists_url":"https://api.github.com/users/garthk/gists{/gist_id}","starred_url":"https://api.github.com/users/garthk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garthk/subscriptions","organizations_url":"https://api.github.com/users/garthk/orgs","repos_url":"https://api.github.com/users/garthk/repos","events_url":"https://api.github.com/users/garthk/events{/privacy}","received_events_url":"https://api.github.com/users/garthk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-03-08T05:01:21Z","updated_at":"2016-03-10T08:51:20Z","closed_at":null,"body":"… and I can't turn it off by setting `javascript.validate.enable` false. \r\n\r\nPerhaps this is a soft documentation bug: the [release notes](https://code.visualstudio.com/Updates) proudly mention `experimentalObjectRestSpread` but then say:\r\n\r\n> Support for ObjectRestSpread is not yet provided by Salsa but it is on the roadmap (see Microsoft/TypeScript#2103).\r\n\r\n… which is confusing and misleading.\r\n\r\nIt's confusing because the stand-out tone of core dev responses to that issue is \"not until TC39 moves it to stage 3; bother them, not us\", which is much less optimistic than the Feb 2016 release notes or the [TypeScript Roadmap](https://github.com/Microsoft/TypeScript/wiki/Roadmap) itself.\r\n\r\nIt's misleading because it fails to **describe the impact** of \"support… not yet provided\" as **error messages you can't make go away**. If there's some way to make them go away, please describe it in that part of the release notes. If not, I don't think it's too strong to outright **advise users of object spread properties to delay upgrading**.\r\n\r\nWithout a work-around, this kills `code` for me, as I now have to dig for the real errors amongst a few dozen erroneous:\r\n\r\n* `Property assignment expected.`\r\n* `Argument expression expected.`\r\n* `Declaration or statement expected.`\r\n\r\nI trust a workaround is possible, as `code` is not erroring in JSX."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/194739844","html_url":"https://github.com/Microsoft/vscode/issues/3804#issuecomment-194739844","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/3804","id":194739844,"user":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T08:51:20Z","updated_at":"2016-03-10T08:51:20Z","body":"@dlong500 both Salsa and the previous JS infrastructure build on the TypeScript parser and AST. The previous JS infrastructure has the same limitations when it comes to using ES7 language features, but it supported to turn off validation. \r\n\r\nOne issue is that the TypeScript version used for the previous JS infrastructure is now really out of date. This is why we need to deprecate it as soon as possible.\r\n\r\n > until Salsa matures a bit?\r\nDo you have particular concerns with regard to the Salsa maturity."}}