drpriver

Results 16 comments of drpriver

Taking `sizeof` a function type (note, not a pointer to function) is actually a constraint violation (although clang allows it apparently), but it should parse as a type and give...

Failures are probably due to https://github.com/dlang/dmd/issues/20825

I think I have a solution for the linker errors. The link error happens in functions marked `__forceinline`. We shouldn’t even be generating code for them unless they are used...

I believe this is a duplicate of https://github.com/dlang/dmd/issues/18094.

ImportC successfully parses asm statements like that. It’s later on in the process that error is issued. The code that errors out is located here: https://github.com/dlang/dmd/blob/d0cf2c7117a1db2bd44eb0ca5/compiler/src/dmd/iasm.d#L104 Ignoring the error is...