{"action":"created","issue":{"url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/513","repository_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx","labels_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/513/comments","events_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/513/events","html_url":"https://github.com/STEllAR-GROUP/phylanx/issues/513","id":338622566,"node_id":"MDU6SXNzdWUzMzg2MjI1NjY=","number":513,"title":"store function should only be called for the primitives that support it","user":{"login":"weilewei","id":22727965,"node_id":"MDQ6VXNlcjIyNzI3OTY1","avatar_url":"https://avatars2.githubusercontent.com/u/22727965?v=4","gravatar_id":"","url":"https://api.github.com/users/weilewei","html_url":"https://github.com/weilewei","followers_url":"https://api.github.com/users/weilewei/followers","following_url":"https://api.github.com/users/weilewei/following{/other_user}","gists_url":"https://api.github.com/users/weilewei/gists{/gist_id}","starred_url":"https://api.github.com/users/weilewei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilewei/subscriptions","organizations_url":"https://api.github.com/users/weilewei/orgs","repos_url":"https://api.github.com/users/weilewei/repos","events_url":"https://api.github.com/users/weilewei/events{/privacy}","received_events_url":"https://api.github.com/users/weilewei/received_events","type":"User","site_admin":false},"labels":[{"id":847922567,"node_id":"MDU6TGFiZWw4NDc5MjI1Njc=","url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/labels/category:%20@Phylanx","name":"category: @Phylanx","color":"02e10c","default":false},{"id":677558127,"node_id":"MDU6TGFiZWw2Nzc1NTgxMjc=","url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/labels/tag:%20duplicate","name":"tag: duplicate","color":"e102d8","default":false},{"id":677558775,"node_id":"MDU6TGFiZWw2Nzc1NTg3NzU=","url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/labels/type:%20defect","name":"type: defect","color":"e10c02","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/milestones/1","html_url":"https://github.com/STEllAR-GROUP/phylanx/milestone/1","labels_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/milestones/1/labels","id":2724904,"node_id":"MDk6TWlsZXN0b25lMjcyNDkwNA==","number":1,"title":"0.0.1","description":"","creator":{"login":"hkaiser","id":568063,"node_id":"MDQ6VXNlcjU2ODA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/568063?v=4","gravatar_id":"","url":"https://api.github.com/users/hkaiser","html_url":"https://github.com/hkaiser","followers_url":"https://api.github.com/users/hkaiser/followers","following_url":"https://api.github.com/users/hkaiser/following{/other_user}","gists_url":"https://api.github.com/users/hkaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaiser/subscriptions","organizations_url":"https://api.github.com/users/hkaiser/orgs","repos_url":"https://api.github.com/users/hkaiser/repos","events_url":"https://api.github.com/users/hkaiser/events{/privacy}","received_events_url":"https://api.github.com/users/hkaiser/received_events","type":"User","site_admin":false},"open_issues":72,"closed_issues":410,"state":"open","created_at":"2017-08-27T01:38:21Z","updated_at":"2018-07-05T15:54:29Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-07-05T15:27:37Z","updated_at":"2018-07-05T15:54:29Z","closed_at":"2018-07-05T15:54:29Z","author_association":"NONE","body":"I expect the following code can return `2` for `a`, but it failed.\r\nThe code\r\n```py\r\nfrom phylanx.ast import *\r\nimport numpy as np\r\n\r\n\r\n@Phylanx\r\ndef foo1(x):\r\n    x += 1\r\n    return x\r\n\r\n\r\na = 1\r\nfoo1(a)\r\n```\r\ncomplains\r\n```py\r\nTraceback (most recent call last):\r\n  File \"PATH/PycharmProjects/nn/add_test.py\", line 12, in <module>\r\n    foo1(a)\r\n  File \"PATH/.local/lib/python3.6/site-packages/phylanx-0.0.1-py3.6-linux-x86_64.egg/phylanx/ast/transformation.py\", line 702, in __call__\r\n    return et.eval(self.f.__name__, self.cs, *nargs)\r\nRuntimeError: <unknown>(7, 4): access-argument$x:: store function should only be called for the primitives that support it (e.g. variables): HPX(invalid_status)\r\n\r\nProcess finished with exit code 1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/comments/402769462","html_url":"https://github.com/STEllAR-GROUP/phylanx/issues/513#issuecomment-402769462","issue_url":"https://api.github.com/repos/STEllAR-GROUP/phylanx/issues/513","id":402769462,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjc2OTQ2Mg==","user":{"login":"hkaiser","id":568063,"node_id":"MDQ6VXNlcjU2ODA2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/568063?v=4","gravatar_id":"","url":"https://api.github.com/users/hkaiser","html_url":"https://github.com/hkaiser","followers_url":"https://api.github.com/users/hkaiser/followers","following_url":"https://api.github.com/users/hkaiser/following{/other_user}","gists_url":"https://api.github.com/users/hkaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaiser/subscriptions","organizations_url":"https://api.github.com/users/hkaiser/orgs","repos_url":"https://api.github.com/users/hkaiser/repos","events_url":"https://api.github.com/users/hkaiser/events{/privacy}","received_events_url":"https://api.github.com/users/hkaiser/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T15:54:29Z","updated_at":"2018-07-05T15:54:29Z","author_association":"MEMBER","body":"This is a known issue (has been reported before here: #482). Closing."}}
{"actor":{"display_login":"hkaiser"}}