{"action":"opened","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/5269","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/5269/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/5269/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/5269/events","html_url":"https://github.com/nim-lang/Nim/issues/5269","id":202557862,"number":5269,"title":"object in VM does not have value semantic","user":{"login":"krux02","id":929961,"avatar_url":"https://avatars.githubusercontent.com/u/929961?v=3","gravatar_id":"","url":"https://api.github.com/users/krux02","html_url":"https://github.com/krux02","followers_url":"https://api.github.com/users/krux02/followers","following_url":"https://api.github.com/users/krux02/following{/other_user}","gists_url":"https://api.github.com/users/krux02/gists{/gist_id}","starred_url":"https://api.github.com/users/krux02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krux02/subscriptions","organizations_url":"https://api.github.com/users/krux02/orgs","repos_url":"https://api.github.com/users/krux02/repos","events_url":"https://api.github.com/users/krux02/events{/privacy}","received_events_url":"https://api.github.com/users/krux02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-23T15:03:41Z","updated_at":"2017-01-23T15:03:41Z","closed_at":null,"body":"\r\nblock:\r\n  echo \"block:\"\r\n\r\n  var localValue = MyType(str: \"Original strning, (OK)\", a: 0)\r\n  var valueCopy = localValue\r\n  valueCopy.a = 123\r\n  valueCopy.str = \"Modified strning, (not OK when in localValue)\"\r\n  assertEq(localValue.str, \"Original strning, (OK)\")\r\n  assertEq(localValue.a,   0)\r\n    \r\nstatic:\r\n  echo \"static:\"\r\n\r\n  var localValue = MyType(str: \"Original strning, (OK)\", a: 0)\r\n  var valueCopy = localValue\r\n  valueCopy.a = 123\r\n  valueCopy.str = \"Modified strning, (not OK when in localValue)\"\r\n  assertEq(localValue.str, \"Original strning, (OK)\")\r\n  assertEq(localValue.a,   0)\r\n"}}
{"actor":{"display_login":"krux02"}}