[Issue 21458] New: missed oportunity to progapage final to its its aliased symbol

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 7 11:11:30 UTC 2020


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

          Issue ID: 21458
           Summary: missed oportunity to progapage final to its its
                    aliased symbol
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

a case of noop attribute:

---
class Y {}
class A(T) {}
final alias B = A!Y;    // final class B : A!T {}  ???
class C : B {}          // could be rejected, B being "final"

void main()
{
    C b;
}   
---

--


More information about the Digitalmars-d-bugs mailing list