{"action":"created","comment":{"url":"https://api.github.com/repos/eslint/espree/pulls/comments/23329494","id":23329494,"diff_hunk":"@@ -2706,55 +2921,54 @@ function parseNewExpression() {\n }\n \n function parseLeftHandSideExpressionAllowCall() {\n-    var previousAllowIn, expr, args, property,\n+    var expr, args,\n+        allowTemplateStrings = extra.ecmaFeatures.templateStrings,\n+        previousAllowIn = state.allowIn,\n         marker = markerCreate();\n \n-    previousAllowIn = state.allowIn;\n     state.allowIn = true;\n     expr = matchKeyword(\"new\") ? parseNewExpression() : parsePrimaryExpression();\n     state.allowIn = previousAllowIn;\n \n-    for (;;) {\n-        if (match(\".\")) {\n-            property = parseNonComputedMember();\n-            expr = astNodeFactory.createMemberExpression(\".\", expr, property);\n-        } else if (match(\"(\")) {\n+    while (match(\".\") || match(\"[\") || match(\"(\") || (allowTemplateStrings && lookahead.type === Token.Template)) {","path":"espree.js","position":297,"original_position":297,"commit_id":"aa657cc8b20f96326435783435ef8381dc2d7db2","original_commit_id":"aa657cc8b20f96326435783435ef8381dc2d7db2","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"body":"Same here.","created_at":"2015-01-21T20:02:23Z","updated_at":"2015-01-21T20:02:23Z","html_url":"https://github.com/eslint/espree/pull/38#discussion_r23329494","pull_request_url":"https://api.github.com/repos/eslint/espree/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/eslint/espree/pulls/comments/23329494"},"html":{"href":"https://github.com/eslint/espree/pull/38#discussion_r23329494"},"pull_request":{"href":"https://api.github.com/repos/eslint/espree/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/eslint/espree/pulls/38","id":27780114,"html_url":"https://github.com/eslint/espree/pull/38","diff_url":"https://github.com/eslint/espree/pull/38.diff","patch_url":"https://github.com/eslint/espree/pull/38.patch","issue_url":"https://api.github.com/repos/eslint/espree/issues/38","number":38,"state":"open","locked":false,"title":"New: Add support for template strings","user":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"body":"Adds support for template strings, expressions, tagging, etc. (see #10)","created_at":"2015-01-21T17:53:22Z","updated_at":"2015-01-21T20:02:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dee4a41f5d9e8aead2c86b88f8aff2a83a0a3a65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eslint/espree/pulls/38/commits","review_comments_url":"https://api.github.com/repos/eslint/espree/pulls/38/comments","review_comment_url":"https://api.github.com/repos/eslint/espree/pulls/comments/{number}","comments_url":"https://api.github.com/repos/eslint/espree/issues/38/comments","statuses_url":"https://api.github.com/repos/eslint/espree/statuses/aa657cc8b20f96326435783435ef8381dc2d7db2","head":{"label":"FredKSchott:template-strings","ref":"template-strings","sha":"aa657cc8b20f96326435783435ef8381dc2d7db2","user":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"repo":{"id":28554969,"name":"espree","full_name":"FredKSchott/espree","owner":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FredKSchott/espree","description":"An actively-maintained fork of Esprima","fork":true,"url":"https://api.github.com/repos/FredKSchott/espree","forks_url":"https://api.github.com/repos/FredKSchott/espree/forks","keys_url":"https://api.github.com/repos/FredKSchott/espree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FredKSchott/espree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FredKSchott/espree/teams","hooks_url":"https://api.github.com/repos/FredKSchott/espree/hooks","issue_events_url":"https://api.github.com/repos/FredKSchott/espree/issues/events{/number}","events_url":"https://api.github.com/repos/FredKSchott/espree/events","assignees_url":"https://api.github.com/repos/FredKSchott/espree/assignees{/user}","branches_url":"https://api.github.com/repos/FredKSchott/espree/branches{/branch}","tags_url":"https://api.github.com/repos/FredKSchott/espree/tags","blobs_url":"https://api.github.com/repos/FredKSchott/espree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FredKSchott/espree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FredKSchott/espree/git/refs{/sha}","trees_url":"https://api.github.com/repos/FredKSchott/espree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FredKSchott/espree/statuses/{sha}","languages_url":"https://api.github.com/repos/FredKSchott/espree/languages","stargazers_url":"https://api.github.com/repos/FredKSchott/espree/stargazers","contributors_url":"https://api.github.com/repos/FredKSchott/espree/contributors","subscribers_url":"https://api.github.com/repos/FredKSchott/espree/subscribers","subscription_url":"https://api.github.com/repos/FredKSchott/espree/subscription","commits_url":"https://api.github.com/repos/FredKSchott/espree/commits{/sha}","git_commits_url":"https://api.github.com/repos/FredKSchott/espree/git/commits{/sha}","comments_url":"https://api.github.com/repos/FredKSchott/espree/comments{/number}","issue_comment_url":"https://api.github.com/repos/FredKSchott/espree/issues/comments/{number}","contents_url":"https://api.github.com/repos/FredKSchott/espree/contents/{+path}","compare_url":"https://api.github.com/repos/FredKSchott/espree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FredKSchott/espree/merges","archive_url":"https://api.github.com/repos/FredKSchott/espree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FredKSchott/espree/downloads","issues_url":"https://api.github.com/repos/FredKSchott/espree/issues{/number}","pulls_url":"https://api.github.com/repos/FredKSchott/espree/pulls{/number}","milestones_url":"https://api.github.com/repos/FredKSchott/espree/milestones{/number}","notifications_url":"https://api.github.com/repos/FredKSchott/espree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FredKSchott/espree/labels{/name}","releases_url":"https://api.github.com/repos/FredKSchott/espree/releases{/id}","created_at":"2014-12-28T05:57:59Z","updated_at":"2014-12-28T14:47:47Z","pushed_at":"2015-01-21T18:26:47Z","git_url":"git://github.com/FredKSchott/espree.git","ssh_url":"git@github.com:FredKSchott/espree.git","clone_url":"https://github.com/FredKSchott/espree.git","svn_url":"https://github.com/FredKSchott/espree","homepage":null,"size":16089,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"eslint:master","ref":"master","sha":"b96e796e3bed32e0cd31b65075df2ce3371f4db2","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":27620277,"name":"espree","full_name":"eslint/espree","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/espree","description":"An actively-maintained fork of Esprima","fork":false,"url":"https://api.github.com/repos/eslint/espree","forks_url":"https://api.github.com/repos/eslint/espree/forks","keys_url":"https://api.github.com/repos/eslint/espree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/espree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/espree/teams","hooks_url":"https://api.github.com/repos/eslint/espree/hooks","issue_events_url":"https://api.github.com/repos/eslint/espree/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/espree/events","assignees_url":"https://api.github.com/repos/eslint/espree/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/espree/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/espree/tags","blobs_url":"https://api.github.com/repos/eslint/espree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/espree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/espree/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/espree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/espree/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/espree/languages","stargazers_url":"https://api.github.com/repos/eslint/espree/stargazers","contributors_url":"https://api.github.com/repos/eslint/espree/contributors","subscribers_url":"https://api.github.com/repos/eslint/espree/subscribers","subscription_url":"https://api.github.com/repos/eslint/espree/subscription","commits_url":"https://api.github.com/repos/eslint/espree/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/espree/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/espree/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/espree/issues/comments/{number}","contents_url":"https://api.github.com/repos/eslint/espree/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/espree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/espree/merges","archive_url":"https://api.github.com/repos/eslint/espree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/espree/downloads","issues_url":"https://api.github.com/repos/eslint/espree/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/espree/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/espree/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/espree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/espree/labels{/name}","releases_url":"https://api.github.com/repos/eslint/espree/releases{/id}","created_at":"2014-12-06T03:07:34Z","updated_at":"2015-01-21T19:56:55Z","pushed_at":"2015-01-21T19:56:55Z","git_url":"git://github.com/eslint/espree.git","ssh_url":"git@github.com:eslint/espree.git","clone_url":"https://github.com/eslint/espree.git","svn_url":"https://github.com/eslint/espree","homepage":null,"size":16461,"stargazers_count":62,"watchers_count":62,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/espree/pulls/38"},"html":{"href":"https://github.com/eslint/espree/pull/38"},"issue":{"href":"https://api.github.com/repos/eslint/espree/issues/38"},"comments":{"href":"https://api.github.com/repos/eslint/espree/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/espree/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/espree/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/eslint/espree/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/espree/statuses/aa657cc8b20f96326435783435ef8381dc2d7db2"}}}}