{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/46369444","id":46369444,"diff_hunk":"@@ -621,6 +625,10 @@ namespace ts {\n         return node && (node.kind === SyntaxKind.ClassDeclaration || node.kind === SyntaxKind.ClassExpression);\r\n     }\r\n \r\n+export function isStructLike(node: Node): node is StructLikeDeclaration {\r","path":"src/compiler/utilities.ts","position":64,"original_position":64,"commit_id":"a714a0315c352e2907d34a7b92a639d3da1bd0b9","original_commit_id":"a714a0315c352e2907d34a7b92a639d3da1bd0b9","user":{"login":"weswigham","id":2932786,"avatar_url":"https://avatars.githubusercontent.com/u/2932786?v=3","gravatar_id":"","url":"https://api.github.com/users/weswigham","html_url":"https://github.com/weswigham","followers_url":"https://api.github.com/users/weswigham/followers","following_url":"https://api.github.com/users/weswigham/following{/other_user}","gists_url":"https://api.github.com/users/weswigham/gists{/gist_id}","starred_url":"https://api.github.com/users/weswigham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswigham/subscriptions","organizations_url":"https://api.github.com/users/weswigham/orgs","repos_url":"https://api.github.com/users/weswigham/repos","events_url":"https://api.github.com/users/weswigham/events{/privacy}","received_events_url":"https://api.github.com/users/weswigham/received_events","type":"User","site_admin":false},"body":"Whitespace?","created_at":"2015-12-02T02:05:10Z","updated_at":"2015-12-02T02:05:10Z","html_url":"https://github.com/Microsoft/TypeScript/pull/5879#discussion_r46369444","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/46369444"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/5879#discussion_r46369444"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879","id":52341515,"html_url":"https://github.com/Microsoft/TypeScript/pull/5879","diff_url":"https://github.com/Microsoft/TypeScript/pull/5879.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/5879.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5879","number":5879,"state":"closed","locked":false,"title":"[New features] Primitive types and struct type","user":{"login":"wangyanxing","id":5952436,"avatar_url":"https://avatars.githubusercontent.com/u/5952436?v=3","gravatar_id":"","url":"https://api.github.com/users/wangyanxing","html_url":"https://github.com/wangyanxing","followers_url":"https://api.github.com/users/wangyanxing/followers","following_url":"https://api.github.com/users/wangyanxing/following{/other_user}","gists_url":"https://api.github.com/users/wangyanxing/gists{/gist_id}","starred_url":"https://api.github.com/users/wangyanxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangyanxing/subscriptions","organizations_url":"https://api.github.com/users/wangyanxing/orgs","repos_url":"https://api.github.com/users/wangyanxing/repos","events_url":"https://api.github.com/users/wangyanxing/events{/privacy}","received_events_url":"https://api.github.com/users/wangyanxing/received_events","type":"User","site_admin":false},"body":"This PR is a part of a graduate project of San Francisco State University. \r\n\r\nProject draft:\r\n\r\nThe growth of the Web has been explosive. As the most important component of the front-end technology stack, JavaScript is always playing a significant role. It’s easy, fast and extendable. However, JavaScript also has its drawbacks, for instance, no static type checking. TypeScript is a strict superset of JavaScript invented by Microsoft. It brings a complete static type checking mechanism and modern object-oriented syntax features. \r\nThis project extends the TypeScript compiler and provides more strict and specific primitive types and new Struct syntax. The main goal is to enhance type safety as well as generate more efficient code.\r\n\r\nAuthor: Yanxing Wang, Jie Dong\r\nSupervisor: Dr. Arno Puder ","created_at":"2015-12-02T01:22:23Z","updated_at":"2015-12-02T02:05:10Z","closed_at":"2015-12-02T01:38:14Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5879/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/a714a0315c352e2907d34a7b92a639d3da1bd0b9","head":{"label":"cjlm007:primtype_strbackend","ref":"primtype_strbackend","sha":"a714a0315c352e2907d34a7b92a639d3da1bd0b9","user":{"login":"cjlm007","id":15258860,"avatar_url":"https://avatars.githubusercontent.com/u/15258860?v=3","gravatar_id":"","url":"https://api.github.com/users/cjlm007","html_url":"https://github.com/cjlm007","followers_url":"https://api.github.com/users/cjlm007/followers","following_url":"https://api.github.com/users/cjlm007/following{/other_user}","gists_url":"https://api.github.com/users/cjlm007/gists{/gist_id}","starred_url":"https://api.github.com/users/cjlm007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjlm007/subscriptions","organizations_url":"https://api.github.com/users/cjlm007/orgs","repos_url":"https://api.github.com/users/cjlm007/repos","events_url":"https://api.github.com/users/cjlm007/events{/privacy}","received_events_url":"https://api.github.com/users/cjlm007/received_events","type":"User","site_admin":false},"repo":{"id":44791190,"name":"TypeScript","full_name":"cjlm007/TypeScript","owner":{"login":"cjlm007","id":15258860,"avatar_url":"https://avatars.githubusercontent.com/u/15258860?v=3","gravatar_id":"","url":"https://api.github.com/users/cjlm007","html_url":"https://github.com/cjlm007","followers_url":"https://api.github.com/users/cjlm007/followers","following_url":"https://api.github.com/users/cjlm007/following{/other_user}","gists_url":"https://api.github.com/users/cjlm007/gists{/gist_id}","starred_url":"https://api.github.com/users/cjlm007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjlm007/subscriptions","organizations_url":"https://api.github.com/users/cjlm007/orgs","repos_url":"https://api.github.com/users/cjlm007/repos","events_url":"https://api.github.com/users/cjlm007/events{/privacy}","received_events_url":"https://api.github.com/users/cjlm007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjlm007/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/cjlm007/TypeScript","forks_url":"https://api.github.com/repos/cjlm007/TypeScript/forks","keys_url":"https://api.github.com/repos/cjlm007/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjlm007/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjlm007/TypeScript/teams","hooks_url":"https://api.github.com/repos/cjlm007/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/cjlm007/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/cjlm007/TypeScript/events","assignees_url":"https://api.github.com/repos/cjlm007/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/cjlm007/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/cjlm007/TypeScript/tags","blobs_url":"https://api.github.com/repos/cjlm007/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjlm007/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjlm007/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjlm007/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjlm007/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/cjlm007/TypeScript/languages","stargazers_url":"https://api.github.com/repos/cjlm007/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/cjlm007/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/cjlm007/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/cjlm007/TypeScript/subscription","commits_url":"https://api.github.com/repos/cjlm007/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjlm007/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjlm007/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjlm007/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjlm007/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/cjlm007/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjlm007/TypeScript/merges","archive_url":"https://api.github.com/repos/cjlm007/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjlm007/TypeScript/downloads","issues_url":"https://api.github.com/repos/cjlm007/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/cjlm007/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/cjlm007/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/cjlm007/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjlm007/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/cjlm007/TypeScript/releases{/id}","created_at":"2015-10-23T04:40:13Z","updated_at":"2015-10-23T04:41:11Z","pushed_at":"2015-11-26T06:07:33Z","git_url":"git://github.com/cjlm007/TypeScript.git","ssh_url":"git@github.com:cjlm007/TypeScript.git","clone_url":"https://github.com/cjlm007/TypeScript.git","svn_url":"https://github.com/cjlm007/TypeScript","homepage":"http://www.typescriptlang.org","size":219273,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"primtype_strbackend"}},"base":{"label":"Microsoft:master","ref":"master","sha":"19d7e629da07003de971a70fdf91aa5a560931ea","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":20929025,"name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript","forks_url":"https://api.github.com/repos/Microsoft/TypeScript/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript/releases{/id}","created_at":"2014-06-17T15:28:39Z","updated_at":"2015-12-02T01:59:43Z","pushed_at":"2015-12-02T02:02:15Z","git_url":"git://github.com/Microsoft/TypeScript.git","ssh_url":"git@github.com:Microsoft/TypeScript.git","clone_url":"https://github.com/Microsoft/TypeScript.git","svn_url":"https://github.com/Microsoft/TypeScript","homepage":"http://www.typescriptlang.org","size":410993,"stargazers_count":7920,"watchers_count":7920,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":918,"mirror_url":null,"open_issues_count":926,"forks":918,"open_issues":926,"watchers":7920,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/5879"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/5879"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/5879/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/5879/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/a714a0315c352e2907d34a7b92a639d3da1bd0b9"}}}}