[Issue 16160] Selective imports in aggregate types shadow methods
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Mar 30 13:58:04 UTC 2019
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16160
Basile-z <b2.temp at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com
--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
Works with parens:
    assert(f.empty());
Because the compiler can figure out that empty() is a member func, beforehand.
And @property can be dropped from the test case.
--
    
    
More information about the Digitalmars-d-bugs
mailing list