DIP 1017--Add Bottom Type--Final Review

Kagamin spam at here.lot
Tue Jan 15 12:55:35 UTC 2019


On Tuesday, 15 January 2019 at 11:18:20 UTC, Simen Kjærås wrote:
>> The declaration `extern(C) Tbottom exit();` won't mangle 
>> correctly
>
> False. C name mangling doesn't care about return types.

For example llvm ir has its own type system that is checked, and 
when a function's return type is replaced with something 
different, it can cause type mismatch error.


More information about the Digitalmars-d mailing list