{"action":"closed","issue":{"url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler/issues/380","repository_url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler","labels_url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler/issues/380/comments","events_url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler/issues/380/events","html_url":"https://github.com/Saltarelle/SaltarelleCompiler/issues/380","id":56922977,"number":380,"title":"InlineCode redundancies","user":{"login":"TriEdgeAIDeprecated","id":664488,"avatar_url":"https://avatars.githubusercontent.com/u/664488?v=3","gravatar_id":"","url":"https://api.github.com/users/TriEdgeAIDeprecated","html_url":"https://github.com/TriEdgeAIDeprecated","followers_url":"https://api.github.com/users/TriEdgeAIDeprecated/followers","following_url":"https://api.github.com/users/TriEdgeAIDeprecated/following{/other_user}","gists_url":"https://api.github.com/users/TriEdgeAIDeprecated/gists{/gist_id}","starred_url":"https://api.github.com/users/TriEdgeAIDeprecated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TriEdgeAIDeprecated/subscriptions","organizations_url":"https://api.github.com/users/TriEdgeAIDeprecated/orgs","repos_url":"https://api.github.com/users/TriEdgeAIDeprecated/repos","events_url":"https://api.github.com/users/TriEdgeAIDeprecated/events{/privacy}","received_events_url":"https://api.github.com/users/TriEdgeAIDeprecated/received_events","type":"User","site_admin":false},"labels":[{"id":1839637,"url":"https://api.github.com/repos/Saltarelle/SaltarelleCompiler/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-02-07T19:38:30Z","updated_at":"2016-12-16T18:10:53Z","closed_at":"2016-12-16T18:10:53Z","body":"Not sure if this is an issue, but here goes:\n\nExample C# Code:\n\n```\n[InlineCode(\"{a} * {a} + {b}\")]\nvoid DoStuff(int a, int b) { ... }\n\nDoStuff(x + x, y);\n```\n\nWill get translated to:\n\n```\n(x + x) * (x + x) + y;\n```\n\nWhile this seems a better translation:\n\n```\nvar _arg0 = x + x;\n_arg0 * arg0 + y;\n```\n\nMaybe you could introduce an optional boolean in InlineCode which would determine whether such redundancies should be dealt with or not?\n"}}
{"actor":{"display_login":"geoffreymcgill"}}