{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/4276","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/4276/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/4276/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/4276/events","html_url":"https://github.com/prettier/prettier/issues/4276","id":312066887,"number":4276,"title":"Block comment attached to ContinueStatement is not printed","user":{"login":"evilebottnawi","id":4567934,"avatar_url":"https://avatars3.githubusercontent.com/u/4567934?v=4","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"labels":[{"id":520495035,"url":"https://api.github.com/repos/prettier/prettier/labels/area:comments","name":"area:comments","color":"fbca04","default":false},{"id":707748687,"url":"https://api.github.com/repos/prettier/prettier/labels/lang:javascript","name":"lang:javascript","color":"006b75","default":false},{"id":532695375,"url":"https://api.github.com/repos/prettier/prettier/labels/priority:high","name":"priority:high","color":"b60205","default":false},{"id":491115803,"url":"https://api.github.com/repos/prettier/prettier/labels/type:bug","name":"type:bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":{"login":"duailibe","id":1574588,"avatar_url":"https://avatars3.githubusercontent.com/u/1574588?v=4","gravatar_id":"","url":"https://api.github.com/users/duailibe","html_url":"https://github.com/duailibe","followers_url":"https://api.github.com/users/duailibe/followers","following_url":"https://api.github.com/users/duailibe/following{/other_user}","gists_url":"https://api.github.com/users/duailibe/gists{/gist_id}","starred_url":"https://api.github.com/users/duailibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duailibe/subscriptions","organizations_url":"https://api.github.com/users/duailibe/orgs","repos_url":"https://api.github.com/users/duailibe/repos","events_url":"https://api.github.com/users/duailibe/events{/privacy}","received_events_url":"https://api.github.com/users/duailibe/received_events","type":"User","site_admin":false},"assignees":[{"login":"duailibe","id":1574588,"avatar_url":"https://avatars3.githubusercontent.com/u/1574588?v=4","gravatar_id":"","url":"https://api.github.com/users/duailibe","html_url":"https://github.com/duailibe","followers_url":"https://api.github.com/users/duailibe/followers","following_url":"https://api.github.com/users/duailibe/following{/other_user}","gists_url":"https://api.github.com/users/duailibe/gists{/gist_id}","starred_url":"https://api.github.com/users/duailibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duailibe/subscriptions","organizations_url":"https://api.github.com/users/duailibe/orgs","repos_url":"https://api.github.com/users/duailibe/repos","events_url":"https://api.github.com/users/duailibe/events{/privacy}","received_events_url":"https://api.github.com/users/duailibe/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-04-06T18:06:09Z","updated_at":"2018-04-07T13:56:32Z","closed_at":null,"author_association":"COLLABORATOR","body":"<!--\r\n\r\nBEFORE SUBMITTING AN ISSUE:\r\n\r\n1. Search for your issue on GitHub: https://github.com/prettier/prettier/issues\r\n   A large number of opened issues are duplicates of existing issues.\r\n   If someone has already opened an issue for what you are experiencing,\r\n   you do not need to open a new issue — please add a 👍 reaction to the\r\n   existing issue instead.\r\n   \r\n2. We get a lot of requests for adding options, but Prettier is \r\n   built on the principle of being opinionated about code formatting.\r\n   This means we have a very high bar for adding new options.\r\n   Find out more: https://prettier.io/docs/en/option-philosophy.html\r\n\r\n3. If your issue is with a prettier editor extension or add-on, please open the\r\n   issue in the repo for that extension or add-on, instead of this repo.\r\n\r\nFor ugly or incorrect code issues: Please use the below template.\r\n\r\nTip! Don't write this stuff manually.\r\n\r\n1. Go to https://prettier.io/playground\r\n2. Paste your code and set options\r\n3. Press the \"Report issue\" button in the lower right\r\n\r\n-->\r\n\r\n**Prettier 1.11.1**\r\n[Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEAzCAnABACgCQCWWAvFgAwDcWhWAPFgKxUDUzhAlFsADpRb9YCqXDWKkATO14CZWSLAJQArnCwB6AFRYAwhAC2ehDCwa1FXgF8QAGhAQADjALQAzslABDDBggB3AApeCG4oHgBuEAQAJjYgHi4wyKgeADYucLYARhgeYADWcDAAyva5igDmyDAYKrZREGBJqem2iukYMP455XoeTWkZIABWLgAeAEI5+YVFHoYAMopw-S12SjD26+Irg6UY7cggmR6ZAJ4p0LH2GIowAOrRMAAWyAAcZLbXEOl3OfaH1zg7TCy1sOSg5TgAFEoDEkB8QODIUUYF5EvCwXAAI5KAgYOBdDw9PpIZIDWzpPQEKo1QYuCopOAARSUEHgO1sqMyDyiz2Q4k5OQIKQqugMJJAUGgoJASnSABUTiEyekLBYgA.)\r\n\r\n**Input:**\r\n```jsx\r\nfor ($i = 0; $i < 5; ++$i) {\r\n    if ($i == 2)\r\n        continue /* Comment */;\r\n}\r\n```\r\n\r\n**Output:**\r\n```jsx\r\nError: Comment \"Comment\" was not printed. Please report this error!\r\n    at https://prettier.io/lib/index.js:2312:75\r\n    at Array.forEach (<anonymous>)\r\n    at ensureAllCommentsPrinted (https://prettier.io/lib/index.js:2312:22)\r\n    at _formatWithCursor (https://prettier.io/lib/index.js:2313:949)\r\n    at _format (https://prettier.io/lib/index.js:2314:239)\r\n    at formatRange (https://prettier.io/lib/index.js:2331:215)\r\n    at _formatWithCursor (https://prettier.io/lib/index.js:2313:288)\r\n    at _format (https://prettier.io/lib/index.js:2314:239)\r\n    at Object.format (https://prettier.io/lib/index.js:2333:277)\r\n    at formatCode (https://prettier.io/worker.js:130:21)\r\n    at self.onmessage (https://prettier.io/worker.js:80:19)\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nComment should be printed :+1: \r\n\r\nWe have some problem in `plugin-php` :smile: "},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/379471174","html_url":"https://github.com/prettier/prettier/issues/4276#issuecomment-379471174","issue_url":"https://api.github.com/repos/prettier/prettier/issues/4276","id":379471174,"user":{"login":"evilebottnawi","id":4567934,"avatar_url":"https://avatars3.githubusercontent.com/u/4567934?v=4","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T13:56:32Z","updated_at":"2018-04-07T13:56:32Z","author_association":"COLLABORATOR","body":"@suchipi yes, php code in some places is valid js code, it is very funny :smile: "}}
{"actor":{"display_login":"evilebottnawi"}}