{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7504","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7504/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7504/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7504/events","html_url":"https://github.com/meteor/meteor/issues/7504","id":167911277,"number":7504,"title":"[1.4] Cannot pipe to or use multi-line in shell","user":{"login":"mdorn","id":81092,"avatar_url":"https://avatars.githubusercontent.com/u/81092?v=3","gravatar_id":"","url":"https://api.github.com/users/mdorn","html_url":"https://github.com/mdorn","followers_url":"https://api.github.com/users/mdorn/followers","following_url":"https://api.github.com/users/mdorn/following{/other_user}","gists_url":"https://api.github.com/users/mdorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mdorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdorn/subscriptions","organizations_url":"https://api.github.com/users/mdorn/orgs","repos_url":"https://api.github.com/users/mdorn/repos","events_url":"https://api.github.com/users/mdorn/events{/privacy}","received_events_url":"https://api.github.com/users/mdorn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/bug","name":"bug","color":"b60205"},{"url":"https://api.github.com/repos/meteor/meteor/labels/confirmed","name":"confirmed","color":"f2831d"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Impact:some","name":"Impact:some","color":"fef2c0"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Tool:Shell","name":"Project:Tool:Shell","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-27T17:32:08Z","updated_at":"2016-08-02T17:02:26Z","closed_at":null,"body":"After upgrading to Meteor 1.4 (I'm on OS X 10.10.5), the Meteor shell is no longer useful for developing/debugging, because I cannot use multi-line statements (either typing or pasting them).  For example, if I want to declare a constant like this:\r\n\r\n```\r\nconst ITEM_WITH_LOTS_OF_LINES = {\r\n    a: 'foo',\r\n    b: 'bar',\r\n    c: 0,\r\n    // etc.\r\n}\r\n```  \r\n\r\nIt fails after the first line:\r\n\r\n```\r\n> const ITEM_WITH_LOTS_OF_LINES = {\r\nSyntaxError: Unexpected token (2:0)\r\n    at Parser.pp.raise (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/location.js:22:13)\r\n    at Parser.pp.unexpected (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/util.js:89:8)\r\n    at Parser.pp.parseIdentifier (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:1053:10)\r\n    at Parser.pp.parsePropertyName (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:858:117)\r\n    at Parser.pp.parseObj (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:774:12)\r\n    at Parser.pp.parseExprAtom (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:486:19)\r\n    at Parser.parseExprAtom (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/plugins/jsx/index.js:18:22)\r\n    at Parser.pp.parseExprSubscripts (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:272:19)\r\n    at Parser.pp.parseMaybeUnary (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:252:19)\r\n    at Parser.pp.parseExprOps (/Users/mdorn/.meteor/packages/babel-compiler/.6.9.0.66tov5++os+web.browser+web.cordova/npm/node_modules/babylon/lib/parser/expression.js:183:19)\r\n```\r\n\r\nThis was not an issue with v1.3.2.\r\n\r\nIncidentally this also makes the `.load` option in the shell useless."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/236970812","html_url":"https://github.com/meteor/meteor/issues/7504#issuecomment-236970812","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7504","id":236970812,"user":{"login":"abernix","id":841294,"avatar_url":"https://avatars.githubusercontent.com/u/841294?v=3","gravatar_id":"","url":"https://api.github.com/users/abernix","html_url":"https://github.com/abernix","followers_url":"https://api.github.com/users/abernix/followers","following_url":"https://api.github.com/users/abernix/following{/other_user}","gists_url":"https://api.github.com/users/abernix/gists{/gist_id}","starred_url":"https://api.github.com/users/abernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abernix/subscriptions","organizations_url":"https://api.github.com/users/abernix/orgs","repos_url":"https://api.github.com/users/abernix/repos","events_url":"https://api.github.com/users/abernix/events{/privacy}","received_events_url":"https://api.github.com/users/abernix/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T17:02:26Z","updated_at":"2016-08-02T17:02:26Z","body":"Unfortunately, I'm not positive as the easy fix (reverting that commit) didn't fix it for me so this will require more investigation."}}
{"actor":{"display_login":"abernix"}}