HaxeFoundation/haxe — pull request #2659 by nadako (2014-02-23 14:34:01+00:00)
Title: Do not infer Float in JsonParser.parseNumber as it's supposed to return Int for parsed int values.

Subj. Without the `Dynamic` hint, parseNumber function always returns inferred Float and that is actually adding an extra cast on static platforms such as C#, however it seems like this function is supposed to return either Int (if parsed with parseInt) or Float, so it should be returned as Dynamic. This of course boxes the returned value (i.e. object is returned on C#), but that's okay because it will be boxed in parseRec anyway.