[Issue 20233] opDispatch hides alias this properties
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Sep 22 16:18:15 UTC 2019
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20233
--- Comment #7 from Max Samukha <maxsamukha at gmail.com> ---
(In reply to Steven Schveighoffer from comment #6)
> (In reply to Max Samukha from comment #5)
> > 'alias this' is irrelevant. The original test case fails because the array's
> > .ptr property is called as a function. See the example in my previous
> > comment (there was a typo: "apply" -> "to apply").
> 
> Yes, original test case fails for a different reason, but alias this isn't
> usable if you have opDispatch, which is definitely a bug I would think. It
> should trickle down to alias this if opDispatch doesn't handle it.
> 
> e.g.:
> 
Ahh, got it. That's definitely a bug.
--
    
    
More information about the Digitalmars-d-bugs
mailing list