{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/23725","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/23725/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/23725/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/23725/events","html_url":"https://github.com/dart-lang/sdk/issues/23725","id":91277316,"number":23725,"title":"Switch/Case : Can't give one processing for several values (the \"not implemented\" value, without break, is processed in \"Default\")","user":{"login":"LSMetag","id":7227332,"avatar_url":"https://avatars.githubusercontent.com/u/7227332?v=3","gravatar_id":"","url":"https://api.github.com/users/LSMetag","html_url":"https://github.com/LSMetag","followers_url":"https://api.github.com/users/LSMetag/followers","following_url":"https://api.github.com/users/LSMetag/following{/other_user}","gists_url":"https://api.github.com/users/LSMetag/gists{/gist_id}","starred_url":"https://api.github.com/users/LSMetag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LSMetag/subscriptions","organizations_url":"https://api.github.com/users/LSMetag/orgs","repos_url":"https://api.github.com/users/LSMetag/repos","events_url":"https://api.github.com/users/LSMetag/events{/privacy}","received_events_url":"https://api.github.com/users/LSMetag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-NONE","name":"Area-NONE","color":"eb6420"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/NeedsInfo","name":"NeedsInfo","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-26T15:19:51Z","updated_at":"2015-07-01T22:10:28Z","closed_at":null,"body":"Hi !\r\n\r\nI just saw a minor bug in Dart 1.11. If, in a \"switch\" condition, I try to assign the same statement for several values, the not implemented value will be processed in the \"Default\" part, rather than processed by the following part.\r\n\r\nAn example\r\n\r\n     switch(key)\r\n                {\r\n                  case \"image\":break;\r\n                  case \"email\":break;\r\n                  case \"submit\":\r\n                  case \"cancel\": popup.appendHtml(\"<span>...</span>\");break;\r\n                  default : popup.appendHtml(\"<p>...</p>\");break;\r\n                }\r\n\r\nThe \"submit\" case generates a \"<p\" tag instead of a \"span\" tag.\r\n\r\nThank you for all your hard work. I love Dart !!!!"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/117838889","html_url":"https://github.com/dart-lang/sdk/issues/23725#issuecomment-117838889","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/23725","id":117838889,"user":{"login":"LSMetag","id":7227332,"avatar_url":"https://avatars.githubusercontent.com/u/7227332?v=3","gravatar_id":"","url":"https://api.github.com/users/LSMetag","html_url":"https://github.com/LSMetag","followers_url":"https://api.github.com/users/LSMetag/followers","following_url":"https://api.github.com/users/LSMetag/following{/other_user}","gists_url":"https://api.github.com/users/LSMetag/gists{/gist_id}","starred_url":"https://api.github.com/users/LSMetag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LSMetag/subscriptions","organizations_url":"https://api.github.com/users/LSMetag/orgs","repos_url":"https://api.github.com/users/LSMetag/repos","events_url":"https://api.github.com/users/LSMetag/events{/privacy}","received_events_url":"https://api.github.com/users/LSMetag/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T22:10:28Z","updated_at":"2015-07-01T22:10:28Z","body":"I retested, inspecting with Firebug 2 instead of Firebug 3 alpha... You are right, there is no error.\r\n\r\nYou can close this ticket. I am very sorry !!!\r\n"}}