__traits(compiles, ...) with syntax errors

Steven Schveighoffer schveiguy at gmail.com
Wed Jan 16 14:44:11 UTC 2019


On 1/14/19 5:50 PM, Nicholas Wilson wrote:
> On Monday, 14 January 2019 at 22:32:59 UTC, 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.
>>
> 
> Yep, the SNR on that switch is abominable.

Could there be a way to focus that switch on certain files/lines? That 
would be much more useful.

-Steve


More information about the Digitalmars-d mailing list