Compiler silently ignores some method overloads

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 10 15:17:00 PDT 2016


On Tuesday, 10 May 2016 at 09:57:11 UTC, pineapple wrote:
> On Monday, 9 May 2016 at 18:56:15 UTC, Peter Häggman wrote:
>> No problem here (tested with everything in a single module). I 
>> can't help more.
>> Front end version ?
>
> Well, this is the full struct that has those malfeasant 
> overrides: http://pastebin.com/9h2s028J

I found the problem -

It turns out I was importing that glcolor module at both the top 
of the file and in a version(unittest) block. I'm not sure _why_ 
that broke things, but removing the redundant unittest import 
fixed my problem.


More information about the Digitalmars-d-learn mailing list