{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7","id":34976394,"html_url":"https://github.com/fastbuild/fastbuild/pull/7","diff_url":"https://github.com/fastbuild/fastbuild/pull/7.diff","patch_url":"https://github.com/fastbuild/fastbuild/pull/7.patch","issue_url":"https://api.github.com/repos/fastbuild/fastbuild/issues/7","number":7,"state":"closed","locked":false,"title":"Concatenating structs concatenates members instead of overwriting them","user":{"login":"poppolopoppo","id":1139238,"avatar_url":"https://avatars.githubusercontent.com/u/1139238?v=3","gravatar_id":"","url":"https://api.github.com/users/poppolopoppo","html_url":"https://github.com/poppolopoppo","followers_url":"https://api.github.com/users/poppolopoppo/followers","following_url":"https://api.github.com/users/poppolopoppo/following{/other_user}","gists_url":"https://api.github.com/users/poppolopoppo/gists{/gist_id}","starred_url":"https://api.github.com/users/poppolopoppo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poppolopoppo/subscriptions","organizations_url":"https://api.github.com/users/poppolopoppo/orgs","repos_url":"https://api.github.com/users/poppolopoppo/repos","events_url":"https://api.github.com/users/poppolopoppo/events{/privacy}","received_events_url":"https://api.github.com/users/poppolopoppo/received_events","type":"User","site_admin":false},"body":"Example :\r\n```\r\n// struct concatenation\r\n{\r\n\t.StructA =\r\n\t[\r\n\t\t.MemberA = \"member A\"\r\n\t]\r\n\t.StructB =\r\n\t[\r\n\t\t.MemberA = \"zzz\" // this will be replaced <- NOW MORE, SEE BELOW\r\n\t\t.MemberB = \"member B\"\r\n\t]\r\n\t.StructB + .StructA // NOW .StructB has .MemberA == \"member Azzz\"\r\n\r\n\tUsing( .StructB )\r\n\tPrint( \"$MemberA$ + $MemberB$\" )\r\n}\r\n```\r\n\r\nThis modification allows the following pattern, which is usefull to reduce BFF verbosity :\r\n```\r\n.DebugConfig \t\t[ .CompilerOptions = ' /D_DEBUG'  ]\r\n.ReleaseConfig \t[ .CompilerOptions = ' /DNDEBUG'  ]\r\n\r\n.X86Platform \t\t[ .CompilerOptions = ' /D_MX86_' ]\r\n.X64Platform \t\t[ .CompilerOptions = ' /D_MX64_' ]\r\n\r\n.X86Debug \t\t= .X86Platform + .DebugConfig   // ' /D_MX86_ /D_DEBUG'\r\n.X86Release \t\t= .X86Platform + .ReleaseConfig // ' /D_MX86_ /DNDEBUG'\r\n\r\n.X64Debug \t\t= .X64Platform + .DebugConfig   // ' /D_MX64_ /D_DEBUG'\r\n.X64Release \t\t= .X64Platform + .ReleaseConfig // ' /D_MX64_ /DNDEBUG'\r\n```\r\n\r\nSigned-off-by: poppolopoppo <frostiebek@gmail.com>","created_at":"2015-05-08T02:41:45Z","updated_at":"2015-05-20T22:47:23Z","closed_at":"2015-05-20T22:47:23Z","merged_at":null,"merge_commit_sha":"08df38f433ab6c98f2656b57ce7bea8b59f54b54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7/commits","review_comments_url":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7/comments","review_comment_url":"https://api.github.com/repos/fastbuild/fastbuild/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastbuild/fastbuild/issues/7/comments","statuses_url":"https://api.github.com/repos/fastbuild/fastbuild/statuses/5a131418284d2788d6fd47f4524fe4bb1ac8d1da","head":{"label":"poppolopoppo:master","ref":"master","sha":"5a131418284d2788d6fd47f4524fe4bb1ac8d1da","user":{"login":"poppolopoppo","id":1139238,"avatar_url":"https://avatars.githubusercontent.com/u/1139238?v=3","gravatar_id":"","url":"https://api.github.com/users/poppolopoppo","html_url":"https://github.com/poppolopoppo","followers_url":"https://api.github.com/users/poppolopoppo/followers","following_url":"https://api.github.com/users/poppolopoppo/following{/other_user}","gists_url":"https://api.github.com/users/poppolopoppo/gists{/gist_id}","starred_url":"https://api.github.com/users/poppolopoppo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poppolopoppo/subscriptions","organizations_url":"https://api.github.com/users/poppolopoppo/orgs","repos_url":"https://api.github.com/users/poppolopoppo/repos","events_url":"https://api.github.com/users/poppolopoppo/events{/privacy}","received_events_url":"https://api.github.com/users/poppolopoppo/received_events","type":"User","site_admin":false},"repo":{"id":35177009,"name":"fastbuild","full_name":"poppolopoppo/fastbuild","owner":{"login":"poppolopoppo","id":1139238,"avatar_url":"https://avatars.githubusercontent.com/u/1139238?v=3","gravatar_id":"","url":"https://api.github.com/users/poppolopoppo","html_url":"https://github.com/poppolopoppo","followers_url":"https://api.github.com/users/poppolopoppo/followers","following_url":"https://api.github.com/users/poppolopoppo/following{/other_user}","gists_url":"https://api.github.com/users/poppolopoppo/gists{/gist_id}","starred_url":"https://api.github.com/users/poppolopoppo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poppolopoppo/subscriptions","organizations_url":"https://api.github.com/users/poppolopoppo/orgs","repos_url":"https://api.github.com/users/poppolopoppo/repos","events_url":"https://api.github.com/users/poppolopoppo/events{/privacy}","received_events_url":"https://api.github.com/users/poppolopoppo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poppolopoppo/fastbuild","description":"","fork":true,"url":"https://api.github.com/repos/poppolopoppo/fastbuild","forks_url":"https://api.github.com/repos/poppolopoppo/fastbuild/forks","keys_url":"https://api.github.com/repos/poppolopoppo/fastbuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poppolopoppo/fastbuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poppolopoppo/fastbuild/teams","hooks_url":"https://api.github.com/repos/poppolopoppo/fastbuild/hooks","issue_events_url":"https://api.github.com/repos/poppolopoppo/fastbuild/issues/events{/number}","events_url":"https://api.github.com/repos/poppolopoppo/fastbuild/events","assignees_url":"https://api.github.com/repos/poppolopoppo/fastbuild/assignees{/user}","branches_url":"https://api.github.com/repos/poppolopoppo/fastbuild/branches{/branch}","tags_url":"https://api.github.com/repos/poppolopoppo/fastbuild/tags","blobs_url":"https://api.github.com/repos/poppolopoppo/fastbuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poppolopoppo/fastbuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poppolopoppo/fastbuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/poppolopoppo/fastbuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poppolopoppo/fastbuild/statuses/{sha}","languages_url":"https://api.github.com/repos/poppolopoppo/fastbuild/languages","stargazers_url":"https://api.github.com/repos/poppolopoppo/fastbuild/stargazers","contributors_url":"https://api.github.com/repos/poppolopoppo/fastbuild/contributors","subscribers_url":"https://api.github.com/repos/poppolopoppo/fastbuild/subscribers","subscription_url":"https://api.github.com/repos/poppolopoppo/fastbuild/subscription","commits_url":"https://api.github.com/repos/poppolopoppo/fastbuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/poppolopoppo/fastbuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/poppolopoppo/fastbuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/poppolopoppo/fastbuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/poppolopoppo/fastbuild/contents/{+path}","compare_url":"https://api.github.com/repos/poppolopoppo/fastbuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poppolopoppo/fastbuild/merges","archive_url":"https://api.github.com/repos/poppolopoppo/fastbuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poppolopoppo/fastbuild/downloads","issues_url":"https://api.github.com/repos/poppolopoppo/fastbuild/issues{/number}","pulls_url":"https://api.github.com/repos/poppolopoppo/fastbuild/pulls{/number}","milestones_url":"https://api.github.com/repos/poppolopoppo/fastbuild/milestones{/number}","notifications_url":"https://api.github.com/repos/poppolopoppo/fastbuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poppolopoppo/fastbuild/labels{/name}","releases_url":"https://api.github.com/repos/poppolopoppo/fastbuild/releases{/id}","created_at":"2015-05-06T18:52:11Z","updated_at":"2015-05-08T02:33:28Z","pushed_at":"2015-05-20T22:47:23Z","git_url":"git://github.com/poppolopoppo/fastbuild.git","ssh_url":"git@github.com:poppolopoppo/fastbuild.git","clone_url":"https://github.com/poppolopoppo/fastbuild.git","svn_url":"https://github.com/poppolopoppo/fastbuild","homepage":null,"size":1709,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fastbuild:master","ref":"master","sha":"5a131418284d2788d6fd47f4524fe4bb1ac8d1da","user":{"login":"fastbuild","id":11589493,"avatar_url":"https://avatars.githubusercontent.com/u/11589493?v=3","gravatar_id":"","url":"https://api.github.com/users/fastbuild","html_url":"https://github.com/fastbuild","followers_url":"https://api.github.com/users/fastbuild/followers","following_url":"https://api.github.com/users/fastbuild/following{/other_user}","gists_url":"https://api.github.com/users/fastbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/fastbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastbuild/subscriptions","organizations_url":"https://api.github.com/users/fastbuild/orgs","repos_url":"https://api.github.com/users/fastbuild/repos","events_url":"https://api.github.com/users/fastbuild/events{/privacy}","received_events_url":"https://api.github.com/users/fastbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":32647696,"name":"fastbuild","full_name":"fastbuild/fastbuild","owner":{"login":"fastbuild","id":11589493,"avatar_url":"https://avatars.githubusercontent.com/u/11589493?v=3","gravatar_id":"","url":"https://api.github.com/users/fastbuild","html_url":"https://github.com/fastbuild","followers_url":"https://api.github.com/users/fastbuild/followers","following_url":"https://api.github.com/users/fastbuild/following{/other_user}","gists_url":"https://api.github.com/users/fastbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/fastbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastbuild/subscriptions","organizations_url":"https://api.github.com/users/fastbuild/orgs","repos_url":"https://api.github.com/users/fastbuild/repos","events_url":"https://api.github.com/users/fastbuild/events{/privacy}","received_events_url":"https://api.github.com/users/fastbuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fastbuild/fastbuild","description":"","fork":false,"url":"https://api.github.com/repos/fastbuild/fastbuild","forks_url":"https://api.github.com/repos/fastbuild/fastbuild/forks","keys_url":"https://api.github.com/repos/fastbuild/fastbuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastbuild/fastbuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastbuild/fastbuild/teams","hooks_url":"https://api.github.com/repos/fastbuild/fastbuild/hooks","issue_events_url":"https://api.github.com/repos/fastbuild/fastbuild/issues/events{/number}","events_url":"https://api.github.com/repos/fastbuild/fastbuild/events","assignees_url":"https://api.github.com/repos/fastbuild/fastbuild/assignees{/user}","branches_url":"https://api.github.com/repos/fastbuild/fastbuild/branches{/branch}","tags_url":"https://api.github.com/repos/fastbuild/fastbuild/tags","blobs_url":"https://api.github.com/repos/fastbuild/fastbuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastbuild/fastbuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastbuild/fastbuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastbuild/fastbuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastbuild/fastbuild/statuses/{sha}","languages_url":"https://api.github.com/repos/fastbuild/fastbuild/languages","stargazers_url":"https://api.github.com/repos/fastbuild/fastbuild/stargazers","contributors_url":"https://api.github.com/repos/fastbuild/fastbuild/contributors","subscribers_url":"https://api.github.com/repos/fastbuild/fastbuild/subscribers","subscription_url":"https://api.github.com/repos/fastbuild/fastbuild/subscription","commits_url":"https://api.github.com/repos/fastbuild/fastbuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastbuild/fastbuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastbuild/fastbuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastbuild/fastbuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastbuild/fastbuild/contents/{+path}","compare_url":"https://api.github.com/repos/fastbuild/fastbuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastbuild/fastbuild/merges","archive_url":"https://api.github.com/repos/fastbuild/fastbuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastbuild/fastbuild/downloads","issues_url":"https://api.github.com/repos/fastbuild/fastbuild/issues{/number}","pulls_url":"https://api.github.com/repos/fastbuild/fastbuild/pulls{/number}","milestones_url":"https://api.github.com/repos/fastbuild/fastbuild/milestones{/number}","notifications_url":"https://api.github.com/repos/fastbuild/fastbuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastbuild/fastbuild/labels{/name}","releases_url":"https://api.github.com/repos/fastbuild/fastbuild/releases{/id}","created_at":"2015-03-21T19:53:07Z","updated_at":"2015-05-18T09:46:39Z","pushed_at":"2015-05-20T22:47:23Z","git_url":"git://github.com/fastbuild/fastbuild.git","ssh_url":"git@github.com:fastbuild/fastbuild.git","clone_url":"https://github.com/fastbuild/fastbuild.git","svn_url":"https://github.com/fastbuild/fastbuild","homepage":null,"size":2569,"stargazers_count":28,"watchers_count":28,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7"},"html":{"href":"https://github.com/fastbuild/fastbuild/pull/7"},"issue":{"href":"https://api.github.com/repos/fastbuild/fastbuild/issues/7"},"comments":{"href":"https://api.github.com/repos/fastbuild/fastbuild/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/fastbuild/fastbuild/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastbuild/fastbuild/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/fastbuild/fastbuild/statuses/5a131418284d2788d6fd47f4524fe4bb1ac8d1da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}