On Fri, May 27, 2011 at 4:03 PM, Peter Michaux <[email protected]> wrote: > On Fri, May 27, 2011 at 12:55 PM, Sam Tobin-Hochstadt <[email protected]> > wrote: >> On Fri, May 27, 2011 at 1:59 PM, Peter Michaux <[email protected]> >> wrote: >>> >>> A minifier could, couldn't it? >>> >>> function foo(a::MyType) {} >>> >>> would be minified to >>> >>> function foo(a) {} >> >> These are not the same function at all. > > Why?
Because foo(7) produces a TypeError in one, and |undefined| in the other (assuming that MyType isn't Number). -- sam th [email protected] _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

