[Issue 16302] Add opStaticIndex that takes compile-time indices

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 12 09:40:26 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=16302

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
This is an intriguing idea, but it is a significant change to the language and
so a DIP (D Improvement Proposal) is merited. The DIP needs to present a
rationale, compelling use cases, and existing workarounds.

It may seem like a lot of work, but Andrei recently presented a DIP for
contextual imports, much discussion ensued, and then a member of the community
pointed out that it could be easily done with existing features. The DIP was
happily withdrawn.

It's important that we exhaust opportunities for finding such capability within
the existing language.

--


More information about the Digitalmars-d-bugs mailing list