We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb95406 commit 13b0e15Copy full SHA for 13b0e15
src/rt/minfo.d
@@ -109,7 +109,7 @@ struct ModuleGroup
109
// release mode.
110
if (distance[target] != curdist)
111
{
112
- throw new Error("internal error printing module cycle");
+ assert(0, "internal error printing module cycle");
113
}
114
115
// determine the path. This is tricky, because we have to
@@ -196,7 +196,7 @@ struct ModuleGroup
196
break;
197
default:
198
// invalid cycle handling option.
199
- throw new Error("DRT invalid cycle handling option: " ~ cycleHandling);
+ assert(0, "DRT invalid cycle handling option: " ~ cycleHandling);
200
201
202
debug (printModuleDependencies)
0 commit comments