__traits(compiles, ...) with syntax errors

Steven Schveighoffer schveiguy at gmail.com
Mon Jan 14 22:33:36 UTC 2019


On 1/14/19 5:32 PM, Steven Schveighoffer wrote:
> On 1/14/19 5:25 PM, Iain Buclaw wrote:
>> On Mon, 14 Jan 2019 at 22:50, Steven Schveighoffer via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote:
>>>
>>>
>>> Any thoughts?
>>>
>>
>> Compile with -verrors=spec (or -Wspeculative if using gdc).
>>
> 
> But wouldn't that show all errors, not just syntax errors? That might be 
> a bit difficult to wade through.

BTW, I didn't know about this switch, thanks for pointing it out.

-Steve


More information about the Digitalmars-d mailing list