{"action":"closed","issue":{"url":"https://api.github.com/repos/McStasMcXtrace/iFit/issues/54","repository_url":"https://api.github.com/repos/McStasMcXtrace/iFit","labels_url":"https://api.github.com/repos/McStasMcXtrace/iFit/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/McStasMcXtrace/iFit/issues/54/comments","events_url":"https://api.github.com/repos/McStasMcXtrace/iFit/issues/54/events","html_url":"https://github.com/McStasMcXtrace/iFit/issues/54","id":190052858,"number":54,"title":"iFunc: binary: handle UserData","user":{"login":"farhi","id":1534355,"avatar_url":"https://avatars.githubusercontent.com/u/1534355?v=3","gravatar_id":"","url":"https://api.github.com/users/farhi","html_url":"https://github.com/farhi","followers_url":"https://api.github.com/users/farhi/followers","following_url":"https://api.github.com/users/farhi/following{/other_user}","gists_url":"https://api.github.com/users/farhi/gists{/gist_id}","starred_url":"https://api.github.com/users/farhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farhi/subscriptions","organizations_url":"https://api.github.com/users/farhi/orgs","repos_url":"https://api.github.com/users/farhi/repos","events_url":"https://api.github.com/users/farhi/events{/privacy}","received_events_url":"https://api.github.com/users/farhi/received_events","type":"User","site_admin":false},"labels":[{"id":189845866,"url":"https://api.github.com/repos/McStasMcXtrace/iFit/labels/bug","name":"bug","color":"fc2929","default":true},{"id":419298017,"url":"https://api.github.com/repos/McStasMcXtrace/iFit/labels/easy","name":"easy","color":"fbca04","default":false},{"id":413683830,"url":"https://api.github.com/repos/McStasMcXtrace/iFit/labels/priority","name":"priority","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T13:54:19Z","updated_at":"2016-12-21T16:26:04Z","closed_at":"2016-12-21T16:26:04Z","body":"The UserData from the two objects should be handled properly.\r\n\r\n1. when the two objects have a _UserData_, store them as _UserData.a_ and _UserData.b_, as done now\r\n2. make a copy of these fields when entering evaluation, e.g. _iFunc_UserData = this.UserData_\r\n3. locally set _this.UserData_ to either .a or .b for evaluation of each object, e.g. t_his.UserData = iFunc_UserData.a_ or _this.UserData = iFunc_UserData.b_\r\n4. finally, restore the _UserData_ from step 2, e.g. _this.UserData = iFunc_UserData_"}}
{"actor":{"display_login":"farhi"}}