I'm glad throw is now an expression

Walter Bright newshound2 at digitalmars.com
Wed May 18 17:35:14 UTC 2022


On 5/18/2022 12:35 AM, max haughton wrote:
> On Wednesday, 18 May 2022 at 07:30:15 UTC, Walter Bright wrote:
>> On 5/17/2022 1:57 PM, max haughton wrote:
>>> This is an assertion in the backend (Walter you need to fix these they are 
>>> blocking work on noreturn).
>>
>> The backend assert is doing its job. Somewhere in the compiler the + should be 
>> turned into a ,
> 
> These is plural unfortunately. There's one particular cod1 ptregs assertion that 
> comes up *a lot* but unlike this assertion it gives no context other than 
> something broken

More thinking about this suggests that int+noreturn should be typed as noreturn.


More information about the Digitalmars-d mailing list