On Wed, Feb 6, 2013 at 10:43 AM, Michael A. Labriola < labri...@digitalprimates.net> wrote:
> >Is that really required? Maybe overloading needs to come with a new > -stricterthanhell option that prevents calling functions against Object. > >Then I think you wouldn't need that? > > It's probably not. At the time I was trying to add features but not > 'break' anything... hence the reason I was working on that strategy. > > Mike > But we can still do: instance["overloadedFunctionName"](obj) where obj is of type Object. Today, the compiler does not care about this call. Would -stricterthanhell option catch this? Om