https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123411
Bug ID: 123411
Summary: Regression with D mixins
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: tetris123480 at gmail dot com
Target Milestone: ---
Created attachment 63227
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63227&action=edit
log file
I have a strange regression with bindbc-sdl in this mixin code
mixin(joinFnBinds((){
FnBind[] ret = [
{q{SDL_AssertState}, q{SDL_ReportAssertion}, q{SDL_AssertData*
data, const(char)* func, const(char)* file, int line}},
{q{void}, q{SDL_SetAssertionHandler}, q{SDL_AssertionHandler
handler, void* userData}},
{q{SDL_AssertionHandler}, q{SDL_GetDefaultAssertionHandler},
q{}},
{q{SDL_AssertionHandler}, q{SDL_GetAssertionHandler}, q{void**
pUserData}},
{q{const(SDL_AssertData)*}, q{SDL_GetAssertionReport}, q{}},
{q{void}, q{SDL_ResetAssertionReport}, q{}},
];
return ret;
}()));
And I test this code in the master version of compiler and issue the same.