<div dir="ltr"><div>Are our previews not tested for compatibility?</div><div>It kinda feels like preview features should surely get tested, such that we know the preview represents a valid feature...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 13 Aug 2024 at 20:46, Nicholas Wilson via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tuesday, 13 August 2024 at 09:11:22 UTC, Nicholas Wilson wrote:<br>
> On Tuesday, 13 August 2024 at 04:23:15 UTC, Manu wrote:<br>
>> So this preview has been available for more than 5 years.<br>
>> Can we un-preview this now?<br>
><br>
> <a href="https://github.com/dlang/dmd/pull/16778" rel="noreferrer" target="_blank">https://github.com/dlang/dmd/pull/16778</a><br>
<br>
at the moment, no because it doesn't pass CI. Templates with `ref <br>
T` with `T==void` (misrecognised untyped lambdas e.g. `str => <br>
dst.put(str)` which should be a delegate) give e.g.:<br>
     std/bigint.d(1280): Error: cannot have parameter of type <br>
`void`<br>
<br>
<br>
</blockquote></div>