{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/a749cd6560a3b7e5a368d15faa7f2bc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a749cd6560a3b7e5a368d15faa7f2bc0","url":"https://api.github.com/users/matra774","login":"matra774","id":1160680},"milestone":null,"assignee":null,"updated_at":"2011-11-12T21:29:10Z","labels":[],"comments":0,"closed_at":null,"url":"https://api.github.com/repos/kevingadd/JSIL/issues/36","body":"Hi,\r\n\r\nThe following code\r\n    \r\n     var cache = new Dictionary<string, string>()\r\n      {\r\n        {\"key1\",\"value1\" },\r\n      };\r\n\r\nGenerates wrong Javascript. Note that only key is initialized, but not the value. I'm guessing that the wrong initializer is called. The following code is generated:\r\n\r\n    var cache = JSIL.Cast(JSIL.New(System.Collections.Generic.Dictionary$b2.Of(System.String, System.String), \"_ctor$0\", [])\r\n    .__Initialize__([\"key1\"]), System.Collections.Generic.Dictionary$b2.Of(System.String, System.String));\r\n\r\nHere is the version of JavaScript with all optimizations turned off:\r\n\r\n    var cache = JSIL.Cast((JSIL.New(System.Collections.Generic.Dictionary$b2.Of(System.String, System.String), \"_ctor$0\", [])\r\n    = new JSIL.CollectionInitializer(\"key1\")), System.Collections.Generic.Dictionary$b2.Of(System.String, System.String));\r\n\r\nMatra","html_url":"https://github.com/kevingadd/JSIL/issues/36","title":"Bug: Dictionary initializer only initializes keys, but not values","number":36,"id":2218893,"created_at":"2011-11-12T21:29:10Z"},"action":"opened"}