IMO, the real problem that needs solving is macros. Macro-based definition of a symbol could trivially reuse the name.
On Tuesday, 25 October 2016, Allen Wirfs-Brock <[email protected]> wrote: > Function name inferencing is possible because function definitions are all > syntactic special forms that can be unambiguously identified during parsing. > > Symbols creation is just a function call so there is no way to reliably > detect it. `Symbol` might aliased to some other name by assignment, a > different value other than the Symbol creation function might be assigned > to the global `Symbol`, or some alternative declaration of `Symbol` might > be in some at the point of use. > > Allen > > _______________________________________________ > es-discuss mailing list > [email protected] <javascript:;> > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

