{"action":"opened","issue":{"url":"https://api.github.com/repos/SINTEF-9012/ThingML/issues/68","labels_url":"https://api.github.com/repos/SINTEF-9012/ThingML/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/SINTEF-9012/ThingML/issues/68/comments","events_url":"https://api.github.com/repos/SINTEF-9012/ThingML/issues/68/events","html_url":"https://github.com/SINTEF-9012/ThingML/issues/68","id":53402191,"number":68,"title":"Problem in JS when a transition has multiple events","user":{"login":"brice-morin","id":576169,"avatar_url":"https://avatars.githubusercontent.com/u/576169?v=3","gravatar_id":"","url":"https://api.github.com/users/brice-morin","html_url":"https://github.com/brice-morin","followers_url":"https://api.github.com/users/brice-morin/followers","following_url":"https://api.github.com/users/brice-morin/following{/other_user}","gists_url":"https://api.github.com/users/brice-morin/gists{/gist_id}","starred_url":"https://api.github.com/users/brice-morin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brice-morin/subscriptions","organizations_url":"https://api.github.com/users/brice-morin/orgs","repos_url":"https://api.github.com/users/brice-morin/repos","events_url":"https://api.github.com/users/brice-morin/events{/privacy}","received_events_url":"https://api.github.com/users/brice-morin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SINTEF-9012/ThingML/labels/Compilers","name":"Compilers","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"brice-morin","id":576169,"avatar_url":"https://avatars.githubusercontent.com/u/576169?v=3","gravatar_id":"","url":"https://api.github.com/users/brice-morin","html_url":"https://github.com/brice-morin","followers_url":"https://api.github.com/users/brice-morin/followers","following_url":"https://api.github.com/users/brice-morin/following{/other_user}","gists_url":"https://api.github.com/users/brice-morin/gists{/gist_id}","starred_url":"https://api.github.com/users/brice-morin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brice-morin/subscriptions","organizations_url":"https://api.github.com/users/brice-morin/orgs","repos_url":"https://api.github.com/users/brice-morin/repos","events_url":"https://api.github.com/users/brice-morin/events{/privacy}","received_events_url":"https://api.github.com/users/brice-morin/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-01-05T14:41:28Z","updated_at":"2015-01-05T14:41:28Z","closed_at":null,"body":"The following ThingML code:\r\n```\r\ntransition switch_on -> LedOn \r\n            event Led?led_on \r\n            event Led?led_toggle\r\n```\r\n\r\nWill produce erroneous JS code, where the transitions are duplicated (4 in total instead of two), leading to a runtime exception as the behavior is not deterministic."}}