https://issues.dlang.org/show_bug.cgi?id=17275
Iain Buclaw <ibuc...@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #3 from Iain Buclaw <ibuc...@gdcproject.org> --- This is not fixed. --- $ ./src/dmd test/fail_compilation/fail17275.d test/fail_compilation/fail17275.d(5): Error: undefined identifier 'ModuleGroup', did you mean function 'moduleGroup'? test/fail_compilation/fail17275.d(5): Error: inout on return means inout must be on a parameter as well for inout(ModuleGroup)() core.exception.AssertError@ddmd/argtypes.d(201): Assertion failure ---------------- ??:? _d_assert [0x72bdb4] ??:? void ddmd.argtypes.__assert(int) [0x510ff2] ??:? Type* toArgTypes::ToArgTypes::argtypemerge(Type*, Type*, unsigned int) [0x5106ce] ??:? void toArgTypes::ToArgTypes::visit(TypeStruct*) [0x510dae] ??:? void TypeStruct::accept(Visitor*) [0x5f3830] ??:? TypeTuple* toArgTypes(Type*) [0x5102b9] ??:? void StructDeclaration::finalizeSize() [0x56b414] ??:? bool AggregateDeclaration::determineSize(Loc) [0x50e659] ??:? void AggregateDeclaration::semantic2(Scope*) [0x50dff5] ??:? void Module::semantic2(Scope*) [0x56067d] ??:? int ddmd.mars.tryMain(ulong, const(char)**) [0x5dfa4b] ??:? _Dmain [0x5e09b2] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x72dc5b] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x72db87] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x72dc00] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x72db87] ??:? _d_run_main [0x72daeb] ??:? main [0x5e1153] ??:? __libc_start_main [0xb2a6282f] --