{"action":"created","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1320","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1320/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1320/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1320/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1320","id":153640719,"number":1320,"title":"Console.WriteLine has no overload with params formatting.","user":{"login":"michaelcheers","id":10186738,"avatar_url":"https://avatars.githubusercontent.com/u/10186738?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcheers","html_url":"https://github.com/michaelcheers","followers_url":"https://api.github.com/users/michaelcheers/followers","following_url":"https://api.github.com/users/michaelcheers/following{/other_user}","gists_url":"https://api.github.com/users/michaelcheers/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcheers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcheers/subscriptions","organizations_url":"https://api.github.com/users/michaelcheers/orgs","repos_url":"https://api.github.com/users/michaelcheers/repos","events_url":"https://api.github.com/users/michaelcheers/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcheers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/feature","name":"feature","color":"2ECC40"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/24","html_url":"https://github.com/bridgedotnet/Bridge/milestones/1.14","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/24/labels","id":1723817,"number":24,"title":"1.14","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":19,"closed_issues":2,"state":"open","created_at":"2016-04-21T20:30:16Z","updated_at":"2016-05-08T17:43:10Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-08T07:05:10Z","updated_at":"2016-05-08T23:03:59Z","closed_at":null,"body":"### Expected\r\n\r\nCompile successfully and output \"1 2 3 4 5 6 7 8 9\".\r\n\r\n### Actual\r\n\r\nC# Compilation Failed\r\n\r\nMicrosoft (R) Visual C# Compiler version 4.0.30319.34209\r\n\r\n(31,3): error CS1501: No overload for method 'WriteLine' takes 10 arguments\r\n\\\\fs6-n02\\stor14wc1ord1\\956235\\live.bridge.net\\web\\content\\Bridge\\Builder\\Bridge.dll: (Location of symbol related to previous error)\r\n\r\n\r\n### Steps To Reproduce\r\n[Bridge Fiddle](http://live.bridge.net/#4fa5887718907a03e9fde49c9228bfcc)\r\n[Dot Net Fiddle](https://dotnetfiddle.net/j5zNem)\r\n```csharp\r\npublic class App\r\n{\r\n    [Ready]\r\n    public static void Main()\r\n    {\r\n\t\tConsole.WriteLine(\"{0} {1} {2} {3} {4} {5} {6} {7} {8}\", 1, 2, 3, 4, 5, 6, 7, 8, 9);\r\n    }\r\n}\r\n```\r\nThe solution is just to implement this:\r\n```csharp\r\n[Template(\"console.log(Bridge.String.format({format}, {args}))\")]\r\npublic static extern void WriteLine(\r\n\tstring format,\r\n\tparams object[] args);\r\n```"},"comment":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/comments/217751604","html_url":"https://github.com/bridgedotnet/Bridge/issues/1320#issuecomment-217751604","issue_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1320","id":217751604,"user":{"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},"created_at":"2016-05-08T23:03:58Z","updated_at":"2016-05-08T23:03:58Z","body":"I added the missing `params`. Included the fix in the existing pull request. \r\n\r\nhttps://github.com/bridgedotnet/Bridge/pull/1319/commits/fd3bb5fae2e22a0d4fa70254fdcef727e5e641c1"}}