{"action":"created","comment":{"url":"https://api.github.com/repos/source-academy/js-slang/pulls/comments/244064039","pull_request_review_id":187976816,"id":244064039,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDA2NDAzOQ==","diff_hunk":"@@ -255,17 +255,29 @@ export function expectParsedErrorNoSnapshot(\n   ).resolves\n }\n \n+function evalWithBuiltins(code: string, testBuiltins?: TestBuiltins) {\n+  // Ugly, but if you know how to `eval` code with some builtins attached, please change this.\n+  if (testBuiltins === undefined) {","path":"src/utils/testing.ts","position":6,"original_position":6,"commit_id":"b5d72aed774cc2d58ed7d474c3ad371b73f066e0","original_commit_id":"b5d72aed774cc2d58ed7d474c3ad371b73f066e0","user":{"login":"openorclose","id":3646725,"node_id":"MDQ6VXNlcjM2NDY3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/3646725?v=4","gravatar_id":"","url":"https://api.github.com/users/openorclose","html_url":"https://github.com/openorclose","followers_url":"https://api.github.com/users/openorclose/followers","following_url":"https://api.github.com/users/openorclose/following{/other_user}","gists_url":"https://api.github.com/users/openorclose/gists{/gist_id}","starred_url":"https://api.github.com/users/openorclose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openorclose/subscriptions","organizations_url":"https://api.github.com/users/openorclose/orgs","repos_url":"https://api.github.com/users/openorclose/repos","events_url":"https://api.github.com/users/openorclose/events{/privacy}","received_events_url":"https://api.github.com/users/openorclose/received_events","type":"User","site_admin":false},"body":"I think we should use default parameters instead.","created_at":"2018-12-27T00:24:16Z","updated_at":"2018-12-27T00:44:00Z","html_url":"https://github.com/source-academy/js-slang/pull/171#discussion_r244064039","pull_request_url":"https://api.github.com/repos/source-academy/js-slang/pulls/171","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/comments/244064039"},"html":{"href":"https://github.com/source-academy/js-slang/pull/171#discussion_r244064039"},"pull_request":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/171"}}},"pull_request":{"url":"https://api.github.com/repos/source-academy/js-slang/pulls/171","id":240753880,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNzUzODgw","html_url":"https://github.com/source-academy/js-slang/pull/171","diff_url":"https://github.com/source-academy/js-slang/pull/171.diff","patch_url":"https://github.com/source-academy/js-slang/pull/171.patch","issue_url":"https://api.github.com/repos/source-academy/js-slang/issues/171","number":171,"state":"open","locked":false,"title":"Add strict types for + and member expressions","user":{"login":"thomastanck","id":829070,"node_id":"MDQ6VXNlcjgyOTA3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/829070?v=4","gravatar_id":"","url":"https://api.github.com/users/thomastanck","html_url":"https://github.com/thomastanck","followers_url":"https://api.github.com/users/thomastanck/followers","following_url":"https://api.github.com/users/thomastanck/following{/other_user}","gists_url":"https://api.github.com/users/thomastanck/gists{/gist_id}","starred_url":"https://api.github.com/users/thomastanck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomastanck/subscriptions","organizations_url":"https://api.github.com/users/thomastanck/orgs","repos_url":"https://api.github.com/users/thomastanck/repos","events_url":"https://api.github.com/users/thomastanck/events{/privacy}","received_events_url":"https://api.github.com/users/thomastanck/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-24T10:28:23Z","updated_at":"2018-12-27T00:44:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1f76c56c33efe6dec5af0362846c67becf45287","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/source-academy/js-slang/pulls/171/commits","review_comments_url":"https://api.github.com/repos/source-academy/js-slang/pulls/171/comments","review_comment_url":"https://api.github.com/repos/source-academy/js-slang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/source-academy/js-slang/issues/171/comments","statuses_url":"https://api.github.com/repos/source-academy/js-slang/statuses/b5d72aed774cc2d58ed7d474c3ad371b73f066e0","head":{"label":"source-academy:strict-types","ref":"strict-types","sha":"b5d72aed774cc2d58ed7d474c3ad371b73f066e0","user":{"login":"source-academy","id":35620705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjIwNzA1","avatar_url":"https://avatars1.githubusercontent.com/u/35620705?v=4","gravatar_id":"","url":"https://api.github.com/users/source-academy","html_url":"https://github.com/source-academy","followers_url":"https://api.github.com/users/source-academy/followers","following_url":"https://api.github.com/users/source-academy/following{/other_user}","gists_url":"https://api.github.com/users/source-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/source-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/source-academy/subscriptions","organizations_url":"https://api.github.com/users/source-academy/orgs","repos_url":"https://api.github.com/users/source-academy/repos","events_url":"https://api.github.com/users/source-academy/events{/privacy}","received_events_url":"https://api.github.com/users/source-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":140231241,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyMzEyNDE=","name":"js-slang","full_name":"source-academy/js-slang","private":false,"owner":{"login":"source-academy","id":35620705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjIwNzA1","avatar_url":"https://avatars1.githubusercontent.com/u/35620705?v=4","gravatar_id":"","url":"https://api.github.com/users/source-academy","html_url":"https://github.com/source-academy","followers_url":"https://api.github.com/users/source-academy/followers","following_url":"https://api.github.com/users/source-academy/following{/other_user}","gists_url":"https://api.github.com/users/source-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/source-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/source-academy/subscriptions","organizations_url":"https://api.github.com/users/source-academy/orgs","repos_url":"https://api.github.com/users/source-academy/repos","events_url":"https://api.github.com/users/source-academy/events{/privacy}","received_events_url":"https://api.github.com/users/source-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/source-academy/js-slang","description":"Javascript-based intepreter for slang, written in Typescript","fork":false,"url":"https://api.github.com/repos/source-academy/js-slang","forks_url":"https://api.github.com/repos/source-academy/js-slang/forks","keys_url":"https://api.github.com/repos/source-academy/js-slang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/source-academy/js-slang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/source-academy/js-slang/teams","hooks_url":"https://api.github.com/repos/source-academy/js-slang/hooks","issue_events_url":"https://api.github.com/repos/source-academy/js-slang/issues/events{/number}","events_url":"https://api.github.com/repos/source-academy/js-slang/events","assignees_url":"https://api.github.com/repos/source-academy/js-slang/assignees{/user}","branches_url":"https://api.github.com/repos/source-academy/js-slang/branches{/branch}","tags_url":"https://api.github.com/repos/source-academy/js-slang/tags","blobs_url":"https://api.github.com/repos/source-academy/js-slang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/source-academy/js-slang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/source-academy/js-slang/git/refs{/sha}","trees_url":"https://api.github.com/repos/source-academy/js-slang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/source-academy/js-slang/statuses/{sha}","languages_url":"https://api.github.com/repos/source-academy/js-slang/languages","stargazers_url":"https://api.github.com/repos/source-academy/js-slang/stargazers","contributors_url":"https://api.github.com/repos/source-academy/js-slang/contributors","subscribers_url":"https://api.github.com/repos/source-academy/js-slang/subscribers","subscription_url":"https://api.github.com/repos/source-academy/js-slang/subscription","commits_url":"https://api.github.com/repos/source-academy/js-slang/commits{/sha}","git_commits_url":"https://api.github.com/repos/source-academy/js-slang/git/commits{/sha}","comments_url":"https://api.github.com/repos/source-academy/js-slang/comments{/number}","issue_comment_url":"https://api.github.com/repos/source-academy/js-slang/issues/comments{/number}","contents_url":"https://api.github.com/repos/source-academy/js-slang/contents/{+path}","compare_url":"https://api.github.com/repos/source-academy/js-slang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/source-academy/js-slang/merges","archive_url":"https://api.github.com/repos/source-academy/js-slang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/source-academy/js-slang/downloads","issues_url":"https://api.github.com/repos/source-academy/js-slang/issues{/number}","pulls_url":"https://api.github.com/repos/source-academy/js-slang/pulls{/number}","milestones_url":"https://api.github.com/repos/source-academy/js-slang/milestones{/number}","notifications_url":"https://api.github.com/repos/source-academy/js-slang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/source-academy/js-slang/labels{/name}","releases_url":"https://api.github.com/repos/source-academy/js-slang/releases{/id}","deployments_url":"https://api.github.com/repos/source-academy/js-slang/deployments","created_at":"2018-07-09T04:28:50Z","updated_at":"2018-12-24T10:33:15Z","pushed_at":"2018-12-24T12:09:11Z","git_url":"git://github.com/source-academy/js-slang.git","ssh_url":"git@github.com:source-academy/js-slang.git","clone_url":"https://github.com/source-academy/js-slang.git","svn_url":"https://github.com/source-academy/js-slang","homepage":null,"size":554,"stargazers_count":5,"watchers_count":5,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":7,"open_issues":9,"watchers":5,"default_branch":"master"}},"base":{"label":"source-academy:master","ref":"master","sha":"a4c8bc6c63a8c4dc5b2599b36f7d58dd54c35937","user":{"login":"source-academy","id":35620705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjIwNzA1","avatar_url":"https://avatars1.githubusercontent.com/u/35620705?v=4","gravatar_id":"","url":"https://api.github.com/users/source-academy","html_url":"https://github.com/source-academy","followers_url":"https://api.github.com/users/source-academy/followers","following_url":"https://api.github.com/users/source-academy/following{/other_user}","gists_url":"https://api.github.com/users/source-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/source-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/source-academy/subscriptions","organizations_url":"https://api.github.com/users/source-academy/orgs","repos_url":"https://api.github.com/users/source-academy/repos","events_url":"https://api.github.com/users/source-academy/events{/privacy}","received_events_url":"https://api.github.com/users/source-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":140231241,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyMzEyNDE=","name":"js-slang","full_name":"source-academy/js-slang","private":false,"owner":{"login":"source-academy","id":35620705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjIwNzA1","avatar_url":"https://avatars1.githubusercontent.com/u/35620705?v=4","gravatar_id":"","url":"https://api.github.com/users/source-academy","html_url":"https://github.com/source-academy","followers_url":"https://api.github.com/users/source-academy/followers","following_url":"https://api.github.com/users/source-academy/following{/other_user}","gists_url":"https://api.github.com/users/source-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/source-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/source-academy/subscriptions","organizations_url":"https://api.github.com/users/source-academy/orgs","repos_url":"https://api.github.com/users/source-academy/repos","events_url":"https://api.github.com/users/source-academy/events{/privacy}","received_events_url":"https://api.github.com/users/source-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/source-academy/js-slang","description":"Javascript-based intepreter for slang, written in Typescript","fork":false,"url":"https://api.github.com/repos/source-academy/js-slang","forks_url":"https://api.github.com/repos/source-academy/js-slang/forks","keys_url":"https://api.github.com/repos/source-academy/js-slang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/source-academy/js-slang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/source-academy/js-slang/teams","hooks_url":"https://api.github.com/repos/source-academy/js-slang/hooks","issue_events_url":"https://api.github.com/repos/source-academy/js-slang/issues/events{/number}","events_url":"https://api.github.com/repos/source-academy/js-slang/events","assignees_url":"https://api.github.com/repos/source-academy/js-slang/assignees{/user}","branches_url":"https://api.github.com/repos/source-academy/js-slang/branches{/branch}","tags_url":"https://api.github.com/repos/source-academy/js-slang/tags","blobs_url":"https://api.github.com/repos/source-academy/js-slang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/source-academy/js-slang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/source-academy/js-slang/git/refs{/sha}","trees_url":"https://api.github.com/repos/source-academy/js-slang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/source-academy/js-slang/statuses/{sha}","languages_url":"https://api.github.com/repos/source-academy/js-slang/languages","stargazers_url":"https://api.github.com/repos/source-academy/js-slang/stargazers","contributors_url":"https://api.github.com/repos/source-academy/js-slang/contributors","subscribers_url":"https://api.github.com/repos/source-academy/js-slang/subscribers","subscription_url":"https://api.github.com/repos/source-academy/js-slang/subscription","commits_url":"https://api.github.com/repos/source-academy/js-slang/commits{/sha}","git_commits_url":"https://api.github.com/repos/source-academy/js-slang/git/commits{/sha}","comments_url":"https://api.github.com/repos/source-academy/js-slang/comments{/number}","issue_comment_url":"https://api.github.com/repos/source-academy/js-slang/issues/comments{/number}","contents_url":"https://api.github.com/repos/source-academy/js-slang/contents/{+path}","compare_url":"https://api.github.com/repos/source-academy/js-slang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/source-academy/js-slang/merges","archive_url":"https://api.github.com/repos/source-academy/js-slang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/source-academy/js-slang/downloads","issues_url":"https://api.github.com/repos/source-academy/js-slang/issues{/number}","pulls_url":"https://api.github.com/repos/source-academy/js-slang/pulls{/number}","milestones_url":"https://api.github.com/repos/source-academy/js-slang/milestones{/number}","notifications_url":"https://api.github.com/repos/source-academy/js-slang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/source-academy/js-slang/labels{/name}","releases_url":"https://api.github.com/repos/source-academy/js-slang/releases{/id}","deployments_url":"https://api.github.com/repos/source-academy/js-slang/deployments","created_at":"2018-07-09T04:28:50Z","updated_at":"2018-12-24T10:33:15Z","pushed_at":"2018-12-24T12:09:11Z","git_url":"git://github.com/source-academy/js-slang.git","ssh_url":"git@github.com:source-academy/js-slang.git","clone_url":"https://github.com/source-academy/js-slang.git","svn_url":"https://github.com/source-academy/js-slang","homepage":null,"size":554,"stargazers_count":5,"watchers_count":5,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":7,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/171"},"html":{"href":"https://github.com/source-academy/js-slang/pull/171"},"issue":{"href":"https://api.github.com/repos/source-academy/js-slang/issues/171"},"comments":{"href":"https://api.github.com/repos/source-academy/js-slang/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/source-academy/js-slang/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/source-academy/js-slang/statuses/b5d72aed774cc2d58ed7d474c3ad371b73f066e0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"openorclose"}}