{"action":"created","issue":{"url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/1","repository_url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz","labels_url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/1/comments","events_url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/1/events","html_url":"https://github.com/cui-unige/petri-nets-gokguz/issues/1","id":183280426,"number":1,"title":"erreur \"assertion failed\"","user":{"login":"gokguz","id":22637335,"avatar_url":"https://avatars.githubusercontent.com/u/22637335?v=3","gravatar_id":"","url":"https://api.github.com/users/gokguz","html_url":"https://github.com/gokguz","followers_url":"https://api.github.com/users/gokguz/followers","following_url":"https://api.github.com/users/gokguz/following{/other_user}","gists_url":"https://api.github.com/users/gokguz/gists{/gist_id}","starred_url":"https://api.github.com/users/gokguz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokguz/subscriptions","organizations_url":"https://api.github.com/users/gokguz/orgs","repos_url":"https://api.github.com/users/gokguz/repos","events_url":"https://api.github.com/users/gokguz/events{/privacy}","received_events_url":"https://api.github.com/users/gokguz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-16T17:56:17Z","updated_at":"2016-10-18T12:27:13Z","closed_at":null,"body":"Hello,\r\n\r\nJ'ai une erreur \"assertion falied\". Je comprends que le test ne passe pas mais je n'arrive pas à trouver d'où elle provient. Est ce qu'il y a un moyen de déboguer étape par étape?\r\n\r\nVoici l'erreur:\r\n\r\n`\r\n#test Reachability graph can compute the reachability graph of a Petri net (depth first)\r\n./src/state/init.lua:54: assertion failed!\r\n\r\nstack traceback:\r\n\t./src/state/init.lua:54: in function 'state.enabled'\r\n\t./src/graph/init.lua:63: in function 'graph.__call'\r\n\tsrc/graph/reachability_spec.lua:25: in function <src/graph/reachability_spec.lua:23>\r\n`\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/comments/254491934","html_url":"https://github.com/cui-unige/petri-nets-gokguz/issues/1#issuecomment-254491934","issue_url":"https://api.github.com/repos/cui-unige/petri-nets-gokguz/issues/1","id":254491934,"user":{"login":"saucisson","id":1818862,"avatar_url":"https://avatars.githubusercontent.com/u/1818862?v=3","gravatar_id":"","url":"https://api.github.com/users/saucisson","html_url":"https://github.com/saucisson","followers_url":"https://api.github.com/users/saucisson/followers","following_url":"https://api.github.com/users/saucisson/following{/other_user}","gists_url":"https://api.github.com/users/saucisson/gists{/gist_id}","starred_url":"https://api.github.com/users/saucisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saucisson/subscriptions","organizations_url":"https://api.github.com/users/saucisson/orgs","repos_url":"https://api.github.com/users/saucisson/repos","events_url":"https://api.github.com/users/saucisson/events{/privacy}","received_events_url":"https://api.github.com/users/saucisson/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T12:27:13Z","updated_at":"2016-10-18T12:27:13Z","body":"Comme indiqué dans le README, `State.__call(state,transition)` s'écrit en fait `state (transition)`. De même, `State:enabled(state)` s'écrit `state:enabled ()`. C'est cette dernière ligne qui génère une erreur. En effet, lorsque tu écris `objet:methode (...)` en Lua, l'appel effectué est `objet.methode (objet, ...)`, ce qui veut dire ici `State.enabled (State, state)`.\r\n\r\nTu n'es pas le premier à utiliser une syntaxe comme `State.__call(state,transition)`. Pourquoi as-tu écrit ça au lieu de recopier ce qui est écrit dans le README ?"}}
{"actor":{"display_login":"saucisson"}}