{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5295","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5295/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5295/comments","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5295/events","html_url":"https://github.com/D-Programming-Language/dmd/pull/5295","id":120064855,"number":5295,"title":"Fix issue 15396 - static immutable doesn't work in case statement","user":{"login":"mathias-lang-sociomantic","id":11289420,"avatar_url":"https://avatars.githubusercontent.com/u/11289420?v=3","gravatar_id":"","url":"https://api.github.com/users/mathias-lang-sociomantic","html_url":"https://github.com/mathias-lang-sociomantic","followers_url":"https://api.github.com/users/mathias-lang-sociomantic/followers","following_url":"https://api.github.com/users/mathias-lang-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/mathias-lang-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/mathias-lang-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathias-lang-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/mathias-lang-sociomantic/orgs","repos_url":"https://api.github.com/users/mathias-lang-sociomantic/repos","events_url":"https://api.github.com/users/mathias-lang-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/mathias-lang-sociomantic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T00:11:05Z","updated_at":"2015-12-03T06:17:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5295","html_url":"https://github.com/D-Programming-Language/dmd/pull/5295","diff_url":"https://github.com/D-Programming-Language/dmd/pull/5295.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/5295.patch"},"body":"We should pass `WANTexpand` to `optimize` in addition to `WANTvalue` in order to get the value out of `static immutable` (and `static const`) variable."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments/161528350","html_url":"https://github.com/D-Programming-Language/dmd/pull/5295#issuecomment-161528350","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5295","id":161528350,"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-12-03T06:17:33Z","updated_at":"2015-12-03T06:17:33Z","body":"Looks good to me. Thanks!"}}