{"issue":{"created_at":"2011-12-12T01:31:39Z","state":"open","updated_at":"2011-12-12T01:31:39Z","comments":0,"user":{"gravatar_id":"09db625490bbe367c4cb8bad064e6725","id":198130,"url":"https://api.github.com/users/kevingadd","avatar_url":"https://secure.gravatar.com/avatar/09db625490bbe367c4cb8bad064e6725?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"kevingadd"},"body":"When translated, https://github.com/kevingadd/JSIL/blob/master/Tests/SpecialTestCases/StringSwitch.cs produces a series of nested if statements that use gotos, instead of a switch statement.\r\n\r\nI think this is because ILSpy fails to recognize it as a switch statement and leaves it alone. A new transform pass similar to issue #39's might be able to detect this pattern and turn it back into a switch statement.","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2518751,"number":48,"labels":[{"name":"Performance","color":"02e10c","url":"https://api.github.com/repos/kevingadd/JSIL/labels/Performance"},{"name":"Usability","color":"0b02e1","url":"https://api.github.com/repos/kevingadd/JSIL/labels/Usability"}],"title":"StringSwitch.cs produces nested if statements with gotos instead of a switch statement","html_url":"https://github.com/kevingadd/JSIL/issues/48","closed_at":null,"url":"https://api.github.com/repos/kevingadd/JSIL/issues/48","milestone":null},"action":"opened"}