{"action":"created","comment":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments/233736851","pull_request_review_id":175220749,"id":233736851,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzczNjg1MQ==","diff_hunk":"@@ -0,0 +1,134 @@\n+/*\n+ *  Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ *  WSO2 Inc. licenses this file to you under the Apache License,\n+ *  Version 2.0 (the \"License\"); you may not use this file except\n+ *  in compliance with the License.\n+ *  You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *  Unless required by applicable law or agreed to in writing,\n+ *  software distributed under the License is distributed on an\n+ *  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ *  KIND, either express or implied.  See the License for the\n+ *  specific language governing permissions and limitations\n+ *  under the License.\n+ */\n+package org.wso2.ballerinalang.compiler.tree.expressions;\n+\n+import org.ballerinalang.model.elements.Flag;\n+import org.ballerinalang.model.tree.AnnotatableNode;\n+import org.ballerinalang.model.tree.AnnotationAttachmentNode;\n+import org.ballerinalang.model.tree.DeprecatedNode;\n+import org.ballerinalang.model.tree.DocumentableNode;\n+import org.ballerinalang.model.tree.IdentifierNode;\n+import org.ballerinalang.model.tree.MarkdownDocumentationNode;\n+import org.ballerinalang.model.tree.NodeKind;\n+import org.ballerinalang.model.tree.TopLevelNode;\n+import org.ballerinalang.model.tree.types.TypeNode;\n+import org.wso2.ballerinalang.compiler.semantics.model.symbols.BConstantSymbol;\n+import org.wso2.ballerinalang.compiler.tree.BLangAnnotationAttachment;\n+import org.wso2.ballerinalang.compiler.tree.BLangDeprecatedNode;\n+import org.wso2.ballerinalang.compiler.tree.BLangIdentifier;\n+import org.wso2.ballerinalang.compiler.tree.BLangMarkdownDocumentation;\n+import org.wso2.ballerinalang.compiler.tree.BLangNodeVisitor;\n+import org.wso2.ballerinalang.compiler.tree.BLangTypeDefinition;\n+import org.wso2.ballerinalang.compiler.tree.types.BLangType;\n+\n+import java.util.ArrayList;\n+import java.util.EnumSet;\n+import java.util.List;\n+import java.util.Set;\n+\n+/**\n+ * @since 0.985.0\n+ */\n+public class BLangConstant extends BLangLiteral implements AnnotatableNode, DocumentableNode, TopLevelNode {","path":"compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/tree/expressions/BLangConstant.java","position":47,"original_position":47,"commit_id":"1be92abe0cc7fd6dab221929187a76daf0cea4f7","original_commit_id":"1be92abe0cc7fd6dab221929187a76daf0cea4f7","user":{"login":"lankavitharana","id":6400879,"node_id":"MDQ6VXNlcjY0MDA4Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/6400879?v=4","gravatar_id":"","url":"https://api.github.com/users/lankavitharana","html_url":"https://github.com/lankavitharana","followers_url":"https://api.github.com/users/lankavitharana/followers","following_url":"https://api.github.com/users/lankavitharana/following{/other_user}","gists_url":"https://api.github.com/users/lankavitharana/gists{/gist_id}","starred_url":"https://api.github.com/users/lankavitharana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lankavitharana/subscriptions","organizations_url":"https://api.github.com/users/lankavitharana/orgs","repos_url":"https://api.github.com/users/lankavitharana/repos","events_url":"https://api.github.com/users/lankavitharana/events{/privacy}","received_events_url":"https://api.github.com/users/lankavitharana/received_events","type":"User","site_admin":false},"body":"you should create an interface node for this(check LiteralNode.java) and extend that instead of extending BLangLiteral.java directly","created_at":"2018-11-15T07:40:16Z","updated_at":"2018-11-15T07:40:16Z","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/11212#discussion_r233736851","pull_request_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments/233736851"},"html":{"href":"https://github.com/ballerina-platform/ballerina-lang/pull/11212#discussion_r233736851"},"pull_request":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212"}}},"pull_request":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212","id":228330741,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MzMwNzQx","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/11212","diff_url":"https://github.com/ballerina-platform/ballerina-lang/pull/11212.diff","patch_url":"https://github.com/ballerina-platform/ballerina-lang/pull/11212.patch","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/11212","number":11212,"state":"open","locked":false,"title":"Add constants support","user":{"login":"Shan1024","id":4003115,"node_id":"MDQ6VXNlcjQwMDMxMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003115?v=4","gravatar_id":"","url":"https://api.github.com/users/Shan1024","html_url":"https://github.com/Shan1024","followers_url":"https://api.github.com/users/Shan1024/followers","following_url":"https://api.github.com/users/Shan1024/following{/other_user}","gists_url":"https://api.github.com/users/Shan1024/gists{/gist_id}","starred_url":"https://api.github.com/users/Shan1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shan1024/subscriptions","organizations_url":"https://api.github.com/users/Shan1024/orgs","repos_url":"https://api.github.com/users/Shan1024/repos","events_url":"https://api.github.com/users/Shan1024/events{/privacy}","received_events_url":"https://api.github.com/users/Shan1024/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nThis PR adds constant support to Ballerina. \r\n\r\nThis PR also -\r\n\r\n* Improves cyclic dependency identifying logic in type definitions (Resolves  #11192)\r\n* Adds `isAssignable` check for proper subsets (Resolves #11200)\r\n* Fix order issue in printing finite types in error messages (Resolves #11215)\r\n\r\n### Properties\r\n* Compile time known value.\r\n* Can only have simple literals(`boolean`, `byte`, `int`, `float`, `string`) as RHS at the moment. `XML`, `JSON` support is planned.\r\n* Is a top-level node. So can be documented using Ballerina flavoured markdown documentation. Docs will be generated as well.\r\n\r\n### Syntax\r\n#### Declaration without type\r\n\r\n```ballerina\r\nconst name = “Ballerina”;\r\n```\r\n\r\n#### Declaration with type\r\n\r\n```ballerina\r\nconst string name = “Ballerina”;\r\n```\r\n\r\n**Note** - Both above declarations are identical.\r\n\r\n### Examples\r\n\r\n```ballerina\r\nconst A = “ABC”; // Valid.\r\nconst string B = “DEF”; // Valid.\r\n\r\ntype T string;\r\nconst T t = “Hello”; // Valid because the type of the constant is `string`.\r\n\r\nfunction printString(string s) {\r\n    io:println(s);\r\n}\r\n\r\nfunction test() {\r\n \r\n    printString(A); // Valid. Same as `printString(“A”);`\r\n\r\n    printString(B); // Valid. Same as `printString(“B”);`\r\n\r\n    string greetA = “Hello” + A; // Valid. \r\n    // Same as  `string greetB = “Hello” + “A”;`.\r\n\r\n    string greetB = “Hello” + B; // Valid. \r\n    // Same as  `string greetB = “Hello” + “B”;`.\r\n\r\n    boolean isA = “A” == A; // Valid. Same as `boolean isA = “A” == “A”;`\r\n\r\n    boolean isB = “B” == B; // Valid. Same as `boolean isB = “B” == “B”;`\r\n\r\n    isA = A.equalsIgnoreCase(“A”); // Valid.\r\n\r\n    isB = B.equalsIgnoreCase(“B”); // Valid.\r\n}\r\n\r\n// Constants can be used in type definitions.\r\ntype AB A|B;\r\n\r\nconst A = “A”;\r\nconst B = “B”;\r\n```\r\n\r\n### Todos\r\n\r\n* Add `XML`, `JSON` support.\r\n\r\n### Improvements\r\n\r\nSupport expressions for RHS of the constants where the value can be calculated at the compile time.\r\n```ballerina\r\nconst a = 2 * 2; // Desugar RHS to 4.\r\n\r\nconst b = 1;\r\nconst c = b + 1; // Desugar RHS to 2.\r\n```\r\n\r\n### Future Optimizations\r\n\r\nInlining expression values which can be computed at the compile time. This will reduce the number of instructions.\r\n\r\n```ballerina\r\nconst a = 2;\r\n\r\nfunction test() {\r\n\r\n    // Can be simplified to `int val1 = 4;`.\r\n    int val1 = a + 2;\r\n\r\n    // Equivalant to `int a = ((1 + 2) + a);` which can be \r\n    // simplified to at least `int a = 3 + a;` even if the `a` is \r\n    // not a constant. Since `a` is a constant, can be simplified \r\n    // to `int val2 = 5;`.\r\n    int val2 = 1 + 2 + a;\r\n\r\n    // Equivalant to `int a = ((a + 2) + 3);`. Can be simplified \r\n    // to `int a = 7;`, since `a` is a constant.\r\n    int val3 = a + 2 + 3; \r\n}\r\n```\r\n","created_at":"2018-11-05T12:08:06Z","updated_at":"2018-11-15T07:40:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88050efc9650b5cd35c41df554845107f693b510","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":828131123,"node_id":"MDU6TGFiZWw4MjgxMzExMjM=","url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Component/Compiler","name":"Component/Compiler","color":"0b6664","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212/commits","review_comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212/comments","review_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/11212/comments","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/1be92abe0cc7fd6dab221929187a76daf0cea4f7","head":{"label":"Shan1024:add-const-support-new","ref":"add-const-support-new","sha":"1be92abe0cc7fd6dab221929187a76daf0cea4f7","user":{"login":"Shan1024","id":4003115,"node_id":"MDQ6VXNlcjQwMDMxMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003115?v=4","gravatar_id":"","url":"https://api.github.com/users/Shan1024","html_url":"https://github.com/Shan1024","followers_url":"https://api.github.com/users/Shan1024/followers","following_url":"https://api.github.com/users/Shan1024/following{/other_user}","gists_url":"https://api.github.com/users/Shan1024/gists{/gist_id}","starred_url":"https://api.github.com/users/Shan1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shan1024/subscriptions","organizations_url":"https://api.github.com/users/Shan1024/orgs","repos_url":"https://api.github.com/users/Shan1024/repos","events_url":"https://api.github.com/users/Shan1024/events{/privacy}","received_events_url":"https://api.github.com/users/Shan1024/received_events","type":"User","site_admin":false},"repo":{"id":82647294,"node_id":"MDEwOlJlcG9zaXRvcnk4MjY0NzI5NA==","name":"ballerina","full_name":"Shan1024/ballerina","private":false,"owner":{"login":"Shan1024","id":4003115,"node_id":"MDQ6VXNlcjQwMDMxMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003115?v=4","gravatar_id":"","url":"https://api.github.com/users/Shan1024","html_url":"https://github.com/Shan1024","followers_url":"https://api.github.com/users/Shan1024/followers","following_url":"https://api.github.com/users/Shan1024/following{/other_user}","gists_url":"https://api.github.com/users/Shan1024/gists{/gist_id}","starred_url":"https://api.github.com/users/Shan1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shan1024/subscriptions","organizations_url":"https://api.github.com/users/Shan1024/orgs","repos_url":"https://api.github.com/users/Shan1024/repos","events_url":"https://api.github.com/users/Shan1024/events{/privacy}","received_events_url":"https://api.github.com/users/Shan1024/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Shan1024/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":true,"url":"https://api.github.com/repos/Shan1024/ballerina","forks_url":"https://api.github.com/repos/Shan1024/ballerina/forks","keys_url":"https://api.github.com/repos/Shan1024/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shan1024/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shan1024/ballerina/teams","hooks_url":"https://api.github.com/repos/Shan1024/ballerina/hooks","issue_events_url":"https://api.github.com/repos/Shan1024/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/Shan1024/ballerina/events","assignees_url":"https://api.github.com/repos/Shan1024/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/Shan1024/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/Shan1024/ballerina/tags","blobs_url":"https://api.github.com/repos/Shan1024/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shan1024/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shan1024/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shan1024/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shan1024/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/Shan1024/ballerina/languages","stargazers_url":"https://api.github.com/repos/Shan1024/ballerina/stargazers","contributors_url":"https://api.github.com/repos/Shan1024/ballerina/contributors","subscribers_url":"https://api.github.com/repos/Shan1024/ballerina/subscribers","subscription_url":"https://api.github.com/repos/Shan1024/ballerina/subscription","commits_url":"https://api.github.com/repos/Shan1024/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shan1024/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shan1024/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shan1024/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shan1024/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/Shan1024/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shan1024/ballerina/merges","archive_url":"https://api.github.com/repos/Shan1024/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shan1024/ballerina/downloads","issues_url":"https://api.github.com/repos/Shan1024/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/Shan1024/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/Shan1024/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/Shan1024/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shan1024/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/Shan1024/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/Shan1024/ballerina/deployments","created_at":"2017-02-21T06:58:09Z","updated_at":"2018-11-09T16:45:36Z","pushed_at":"2018-11-15T06:26:22Z","git_url":"git://github.com/Shan1024/ballerina.git","ssh_url":"git@github.com:Shan1024/ballerina.git","clone_url":"https://github.com/Shan1024/ballerina.git","svn_url":"https://github.com/Shan1024/ballerina","homepage":"","size":276781,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-platform:df-analysis","ref":"df-analysis","sha":"e7e794db5aea763af61b94526b3059f17730f21c","user":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"node_id":"MDEwOlJlcG9zaXRvcnk3MzkzMDMwNQ==","name":"ballerina-lang","full_name":"ballerina-platform/ballerina-lang","private":false,"owner":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ballerina-platform/ballerina-lang","description":"Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes.","fork":false,"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","forks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/forks","keys_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/teams","hooks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/hooks","issue_events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/events","assignees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/tags","blobs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/languages","stargazers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/stargazers","contributors_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contributors","subscribers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscribers","subscription_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscription","commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/merges","archive_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/downloads","issues_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2018-11-15T03:30:44Z","pushed_at":"2018-11-15T07:10:50Z","git_url":"git://github.com/ballerina-platform/ballerina-lang.git","ssh_url":"git@github.com:ballerina-platform/ballerina-lang.git","clone_url":"https://github.com/ballerina-platform/ballerina-lang.git","svn_url":"https://github.com/ballerina-platform/ballerina-lang","homepage":"","size":274807,"stargazers_count":1483,"watchers_count":1483,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":408,"mirror_url":null,"archived":false,"open_issues_count":618,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":408,"open_issues":618,"watchers":1483,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212"},"html":{"href":"https://github.com/ballerina-platform/ballerina-lang/pull/11212"},"issue":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/11212"},"comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/11212/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/11212/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/1be92abe0cc7fd6dab221929187a76daf0cea4f7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lankavitharana"}}