[JsType(JsMode.Prototype, Filename = "res/output.js", NativeOverloads=false)]
public class Foo
{
[JsMethod(Export = false)]
public JsNumber foo1() { return 0; }
public JsNumber foo1(JsNumber a) { return a; }
}
Output:
Foo = function() {};
Foo.prototype.foo1$$Number = function(a) { return a; }; //$$Number is redundant
Expect:
$$Number is redundant because no other method exported. The issue still exists
when the other method attribute already renamed with
[JsMethod(Name="something")].
I expect generated output always use NativeOverloads when other overload not
exported or already renamed.
Original issue reported on code.google.com by DanelK...@gmail.com on 4 Aug 2012 at 6:43
Original issue reported on code.google.com by
DanelK...@gmail.com
on 4 Aug 2012 at 6:43