Fixed
Details
Assignee
Łukasz FinsterŁukasz FinsterReporter
Vratislav PodzimekVratislav PodzimekPriority
BlockerDays in progress
0Fix versions
Backlog
yes
Details
Details
Assignee
Łukasz Finster
Łukasz FinsterReporter
Vratislav Podzimek
Vratislav PodzimekPriority
Days in progress
0
Fix versions
Backlog
yes
Zendesk Support
Zendesk Support
Zendesk Support
Checklist
Checklist
Checklist
Created March 23, 2023 at 12:00 PM
Updated April 6, 2023 at 1:13 PM
Resolved April 6, 2023 at 1:13 PM
Since the mender (and mender-flash) repository switched from our custom implementation of the
expected
template class,expected<Something, Error> value(Error(...))
no longer creates a value wrapping the unexpected error, it either fails to compile or somehow treats theError
as a valid value ofSomething
!unexpected(Error(...))
must be required and enforced by the compiler for all cases in the codebase.Cases where the weird behavior was unnoticed because it compiled just fine: