On 2/6/13 10:51 AM, "Om" <bigosma...@gmail.com> wrote: > > 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 I think it would have to. But that example is easy compared to: var foo:String; instance[foo](); No way to know that foo will really be. It looks like overloading may have to go hand-in-hand with function typing if we want to take the C++ approach to overloading. -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
- Re: Language features Roland Zwaga
- Re: Language features Nick Collins
- Re: Language features Alex Harui
- RE: Language features Kessler CTR Mark J
- Re: Language features Alex Harui
- RE: Language features Michael A. Labriola
- Re: Language features Alex Harui
- RE: Language features Michael A. Labriola
- Re: Language features Om
- Re: Language features Roland Zwaga
- Re: Language features Alex Harui
- RE: Language features Michael A. Labriola
- Re: Language features Roland Zwaga
- RE: Language features Michael A. Labriola
- Re: Language features Hugo Miguel Pereira Matinho
- Re: Language features Frédéric THOMAS
- RE: Language features Tianzhen Lin
- Re: Language features Nicholas Kwiatkowski
- Re: Language features Roland Zwaga
- RE: Language features Frank Pepermans
- RE: Language features Michael Schmalle