{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5239","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5239/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5239/comments","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5239/events","html_url":"https://github.com/D-Programming-Language/dmd/pull/5239","id":114071073,"number":5239,"title":"Fix code style corruption introduced by ddm conversion","user":{"login":"9rnsr","id":254394,"avatar_url":"https://avatars.githubusercontent.com/u/254394?v=3","gravatar_id":"","url":"https://api.github.com/users/9rnsr","html_url":"https://github.com/9rnsr","followers_url":"https://api.github.com/users/9rnsr/followers","following_url":"https://api.github.com/users/9rnsr/following{/other_user}","gists_url":"https://api.github.com/users/9rnsr/gists{/gist_id}","starred_url":"https://api.github.com/users/9rnsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rnsr/subscriptions","organizations_url":"https://api.github.com/users/9rnsr/orgs","repos_url":"https://api.github.com/users/9rnsr/repos","events_url":"https://api.github.com/users/9rnsr/events{/privacy}","received_events_url":"https://api.github.com/users/9rnsr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T15:12:08Z","updated_at":"2015-10-29T15:14:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5239","html_url":"https://github.com/D-Programming-Language/dmd/pull/5239","diff_url":"https://github.com/D-Programming-Language/dmd/pull/5239.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/5239.patch"},"body":"This is the *last* PR for my code style frustration. magicport was great tool, but also it was not perfect.\r\n\r\nPoints:\r\n\r\n- Resurrect line spaces. In C-dmd code they had been used for the separator of small code blocks. If it doesn't exist, we need to find the block gaps before understanding the code. It will become huge cost for the code reading repetition.\r\n\r\n- Resurrect line wrappings. Too long line is difficult to read.\r\n\r\n- Fix indent level in switch statement blocks. The scope statement being immediately below case label had confused magicport conversion. And, current indent level style is not consistent with glue & backend code.\r\n\r\n- Place one import declaration per line. This style is diff-friendly when imports will be added/removed.\r\n"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments/152210629","html_url":"https://github.com/D-Programming-Language/dmd/pull/5239#issuecomment-152210629","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5239","id":152210629,"user":{"login":"9rnsr","id":254394,"avatar_url":"https://avatars.githubusercontent.com/u/254394?v=3","gravatar_id":"","url":"https://api.github.com/users/9rnsr","html_url":"https://github.com/9rnsr","followers_url":"https://api.github.com/users/9rnsr/followers","following_url":"https://api.github.com/users/9rnsr/following{/other_user}","gists_url":"https://api.github.com/users/9rnsr/gists{/gist_id}","starred_url":"https://api.github.com/users/9rnsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9rnsr/subscriptions","organizations_url":"https://api.github.com/users/9rnsr/orgs","repos_url":"https://api.github.com/users/9rnsr/repos","events_url":"https://api.github.com/users/9rnsr/events{/privacy}","received_events_url":"https://api.github.com/users/9rnsr/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T15:14:34Z","updated_at":"2015-10-29T15:14:34Z","body":"Most of line space positions are same with the c-source files in `last-cdmd` and `v2.068.2` tags. "}}