PhobosV3+ Fundamental Elements

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Sep 10 22:30:07 UTC 2026


On 11/09/2026 10:18 AM, Walter Bright wrote:
> On 9/8/2026 12:32 AM, Richard (Rikki) Andrew Cattermole wrote:
>> On 08/09/2026 11:30 AM, Walter Bright wrote:
>>> On 9/2/2026 6:17 AM, Max Klyga wrote:
>>>> The correct way is to have a generic sink, not a string builder. And 
>>>> especially not a specific string builder class implementation!
>>>
>>> I've been slowly moving the dmd implementation towards sinks. Sinks 
>>> can be generic even without templates.
>>
>> Note that what Walter said here has nothing to do with delegates.
> 
> https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tokens.d#L976

https://github.com/dlang/dmd/pulls?q=is%3Apr+state%3Aclosed+ErrorSink



More information about the Digitalmars-d mailing list