[
https://issues.apache.org/jira/browse/MESOS-7220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bannier reassigned MESOS-7220:
---------------------------------------
Shepherd: Benjamin Bannier
Assignee: Chun-Hung Hsiao
Review: https://reviews.apache.org/r/67164/
> 'EXPECT_SOME' and other asserts don't work with 'Try's that have a custom
> error state.
> --------------------------------------------------------------------------------------
>
> Key: MESOS-7220
> URL: https://issues.apache.org/jira/browse/MESOS-7220
> Project: Mesos
> Issue Type: Bug
> Components: stout
> Reporter: Jan Schlicht
> Assignee: Chun-Hung Hsiao
> Priority: Minor
> Labels: tech-debt
>
> MESOS-5110 introduced an additional template parameter for {{Try}} to support
> custom error types. Using these values with {{EXPECT_SOME}} doesn't work, i.e.
> {code}
> Try<Foo, FooError> foo = bar();
> EXPECT_SOME(foo);
> {code}
> won't compile. The other assertions in {{stout/gtest.hpp}} are likely
> affected as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)