chain(const(array of class)) fails
SimonN via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Feb 2 09:50:55 PST 2016
On Tuesday, 2 February 2016 at 10:58:35 UTC, Marc Schütz wrote:
>> The constraint that fails is the one with `CommonType`:
>> `CommonType` uses the `?:` operator to derive the common type:
> I filed a bug report:
> https://issues.dlang.org/show_bug.cgi?id=15638
Interesting reduced case, so it wasn't chain after all. Thanks
for filing the issue already; also thanks to Nic for good test
cases.
I think Adam D. Ruppe wanted to push more informative template
errors -- they'd come in handy. :-)
-- Simon
More information about the Digitalmars-d-learn
mailing list