Here is issue: I think it should throw atleast raise warning at compile time
when NativeOverloads=true:
Source:
[JsType(JsMode.Prototype, Filename = "res/output.js")]
public class Foo
{
public JsNumber foo1(JsNumber a) { return a; }
public JsNumber foo1() { return 0; }
}
Result:
Foo = function() {};
Foo.prototype.foo1 = function() { return 0; };
Foo.prototype.foo1 = function(a) { return a;}; //it delete old method, warning
should raised at compile time
Expected:
Warning should raised at compile time
Original issue reported on code.google.com by DanelK...@gmail.com on 4 Aug 2012 at 6:46
Original issue reported on code.google.com by
DanelK...@gmail.com
on 4 Aug 2012 at 6:46