Skip to content

Commit

Permalink
Undo basicExceptionCtors (GDC FE version too low)
Browse files Browse the repository at this point in the history
  • Loading branch information
robik committed Sep 15, 2020
1 parent fb92db2 commit ae3b16b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/commandr/program.d
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import commandr.utils;
import std.algorithm : all, reverse, map, filter;
import std.ascii : isAlphaNum;
import std.array : array;
import std.exception : basicExceptionCtors;
import std.range : empty, chainRanges = chain;
import std.string : format;

Expand All @@ -46,7 +45,9 @@ import std.string : format;
*/
public class InvalidProgramException : Exception {
/// Creates new instance of InvalidProgramException
mixin basicExceptionCtors;
public this(string msg) nothrow pure @safe {
super(msg);
}
}

/**
Expand Down

0 comments on commit ae3b16b

Please sign in to comment.