mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +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:
|
||||
if(__ctfe)
|
||||
assert(text("unknown regex flag '",ch,"'"));
|
||||
assert(text("unknown regex flag '",ch,"'"));
|
||||
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