{"action":"opened","issue":{"url":"https://api.github.com/repos/erik-kallen/SaltarelleCompiler/issues/377","labels_url":"https://api.github.com/repos/erik-kallen/SaltarelleCompiler/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/erik-kallen/SaltarelleCompiler/issues/377/comments","events_url":"https://api.github.com/repos/erik-kallen/SaltarelleCompiler/issues/377/events","html_url":"https://github.com/erik-kallen/SaltarelleCompiler/issues/377","id":53616075,"number":377,"title":"Null compare issue","user":{"login":"n9","id":1651867,"avatar_url":"https://avatars.githubusercontent.com/u/1651867?v=3","gravatar_id":"","url":"https://api.github.com/users/n9","html_url":"https://github.com/n9","followers_url":"https://api.github.com/users/n9/followers","following_url":"https://api.github.com/users/n9/following{/other_user}","gists_url":"https://api.github.com/users/n9/gists{/gist_id}","starred_url":"https://api.github.com/users/n9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n9/subscriptions","organizations_url":"https://api.github.com/users/n9/orgs","repos_url":"https://api.github.com/users/n9/repos","events_url":"https://api.github.com/users/n9/events{/privacy}","received_events_url":"https://api.github.com/users/n9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-07T10:03:44Z","updated_at":"2015-01-07T10:03:44Z","closed_at":null,"body":"Let's have the following C# code:\r\n\r\n    public class Foo\r\n    {\r\n        public static implicit operator string(Foo foo)\r\n        {\r\n            return null;\r\n        }\r\n    }\r\n\r\n    public class Test\r\n    {\r\n        public static bool TestFoo(Foo foo)\r\n        {\r\n            return foo == null;\r\n        }\r\n    }\r\n\r\nThe method `Test.TestFoo` is compiled into:\r\n\r\n\t$Test.testFoo = function(foo) {\r\n\t\treturn ss.isNullOrUndefined($Foo.op_Implicit(foo));\r\n\t};\r\n\r\nI think, it should should not invoke the implicit operator `$Foo.op_Implicit()`."}}