Template declaration of std.typecons.isTuple in -X JSON file.
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Jan 15 21:40:19 UTC 2025
On 16/01/2025 10:36 AM, monkyyy wrote:
> On Wednesday, 15 January 2025 at 20:06:19 UTC, realhet wrote:
>>
>> These are the mysterious parts of the language, I like this stuff,
>> even I can't understand.
>
> it should also be noted that trait compiles is not actually a compile
> check, its more like "parses"
It does do semantic analysis, if it passes, it should compile fully
(note it may not link or run on target hardware).
https://github.com/dlang/dmd/blob/ace0e6329521819d8fe51e42ae37a23782f25707/compiler/src/dmd/traits.d#L1826
More information about the Digitalmars-d-learn
mailing list