Fix parser tests part 2 segment issues

This commit is contained in:
ado
2024-02-19 00:16:22 +01:00
parent e4fba8a918
commit 775b8c93e2
4 changed files with 7 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ struct get_matcher<Matcher, T, Ts...> {
struct is_matcher : is_instance_of_matcher<U, Matcher> {};
static_assert(count_v<is_matcher, T, Ts...> <= 1,
"the same matcher cannot"
"the same matcher cannot "
"be defined multiple times");
using type = std::conditional_t<is_matcher<T>::value, T,
typename get_matcher<Matcher, Ts...>::type>;