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 3ed8995 commit c01b44fCopy full SHA for c01b44f
source/mir/exception.d
@@ -35,7 +35,12 @@ version (mir_test) unittest
35
catch(Exception e) assert(e.msg == "Msg");
36
}
37
38
-static if (__traits(compiles, (()@nogc {throw new Exception("");})()))
+version(D_Ddoc)
39
+ private enum _version_D_Ddoc = true;
40
+else
41
+ private enum _version_D_Ddoc = false;
42
+
43
+static if (_version_D_Ddoc || __traits(compiles, (()@nogc {throw new Exception("");})()))
44
{
45
46
/++
0 commit comments