{"action":"closed","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2080","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2080/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2080/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/2080/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/2080","id":190813163,"number":2080,"title":"OR assignment operator causes compilation failure when used with class properties","user":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"labels":[{"id":74689535,"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136","default":false}],"state":"closed","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/33","html_url":"https://github.com/bridgedotnet/Bridge/milestones/15.5","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/33/labels","id":2105980,"number":33,"title":"15.5","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":31,"state":"open","created_at":"2016-11-01T04:05:41Z","updated_at":"2016-11-25T00:54:55Z","due_on":"2016-12-05T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-11-21T19:31:25Z","updated_at":"2016-11-25T00:54:55Z","closed_at":"2016-11-25T00:54:55Z","body":"Reported on the [forum](http://forums.bridge.net/forum/bridge-net-pro/bugs/3082-or-assignment-operator-causes-compilation-failure-when-used-with-class-properties).\r\n\r\n### Expected\r\nValid js code\r\n\r\n### Actual\r\nInvalid js code\r\n```\r\nSyntaxError: missing ) after argument list\r\n```\r\n\r\n### Steps To Reproduce\r\n\r\n[Deck](http://deck.net/0e53c9af4bcbe6b5b032ded876047c70)\r\n\r\n```cs\r\npublic class Program\r\n{\r\n    public static void Main()\r\n    {\r\n        // First check oprator with a simple variable\r\n        bool testVariable = true;\r\n        bool newValue1 = false;\r\n        testVariable |= newValue1;\r\n        Console.WriteLine(\"Result 1: {0}\", testVariable);\r\n        \r\n        // Now check operator with a property on a class\r\n        TestClass myTestClass = new TestClass();\r\n        myTestClass.TestProperty = true;\r\n        bool newValue2 = false;\r\n        myTestClass.TestProperty |= newValue2;\r\n        Console.WriteLine(\"Result 2: {0}\", myTestClass.TestProperty);\r\n    }\r\n    \r\n    class TestClass\r\n    {\r\n        public bool TestProperty { get; set; }\r\n    }\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"LeonidVeriga"}}