mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
missing throw
This commit is contained in:
parent
d946bcd4eb
commit
f7dc61cb62
1 changed files with 2 additions and 2 deletions
|
@ -1004,9 +1004,9 @@ struct Parser(R, bool CTFE = false)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
if(__ctfe)
|
if(__ctfe)
|
||||||
assert(text("unknown regex flag '",ch,"'"));
|
assert(text("unknown regex flag '",ch,"'"));
|
||||||
else
|
else
|
||||||
new RegexException(text("unknown regex flag '",ch,"'"));
|
throw new RegexException(text("unknown regex flag '",ch,"'"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue