Skip to content

Fix CI regression tests #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ pure2-assert-expected-not-null.cpp2:7:10: error: no member named 'expected' in n
pure2-assert-expected-not-null.cpp2:7:22: error: expected '(' for function-style cast or type construction
std::expected<int,bool> ex {4};
~~~^
pure2-assert-expected-not-null.cpp2:9:165: error: use of undeclared identifier 'ex'
return *cpp2::assert_not_null(std::move(up)) + *cpp2::assert_not_null(std::move(sp)) + *cpp2::assert_not_null(std::move(op)) + *cpp2::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:9:189: error: use of undeclared identifier 'ex'
return *cpp2::impl::assert_not_null(std::move(up)) + *cpp2::impl::assert_not_null(std::move(sp)) + *cpp2::impl::assert_not_null(std::move(op)) + *cpp2::impl::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:14:10: error: no member named 'expected' in namespace 'std'
std::expected<int,bool> ex {std::unexpected(false)};
~~~~~^
pure2-assert-expected-not-null.cpp2:14:22: error: expected '(' for function-style cast or type construction
std::expected<int,bool> ex {std::unexpected(false)};
~~~^
pure2-assert-expected-not-null.cpp2:15:45: error: use of undeclared identifier 'ex'
return *cpp2::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:15:51: error: use of undeclared identifier 'ex'
return *cpp2::impl::assert_not_null(std::move(ex));
^
6 errors generated.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ pure2-assert-expected-not-null.cpp2:7:10: error: no member named 'expected' in n
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/exception:107:8: note: 'unexpected' declared here
void unexpected() __attribute__ ((__noreturn__));
^
pure2-assert-expected-not-null.cpp2:9:165: error: use of undeclared identifier 'ex'
return *cpp2::assert_not_null(std::move(up)) + *cpp2::assert_not_null(std::move(sp)) + *cpp2::assert_not_null(std::move(op)) + *cpp2::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:9:189: error: use of undeclared identifier 'ex'
return *cpp2::impl::assert_not_null(std::move(up)) + *cpp2::impl::assert_not_null(std::move(sp)) + *cpp2::impl::assert_not_null(std::move(op)) + *cpp2::impl::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:14:22: error: expected '(' for function-style cast or type construction
std::expected<int,bool> ex {std::unexpected(false)};
~~~^
Expand All @@ -21,7 +21,7 @@ pure2-assert-expected-not-null.cpp2:14:10: error: no member named 'expected' in
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/exception:107:8: note: 'unexpected' declared here
void unexpected() __attribute__ ((__noreturn__));
^
pure2-assert-expected-not-null.cpp2:15:45: error: use of undeclared identifier 'ex'
return *cpp2::assert_not_null(std::move(ex));
^
pure2-assert-expected-not-null.cpp2:15:51: error: use of undeclared identifier 'ex'
return *cpp2::impl::assert_not_null(std::move(ex));
^
6 errors generated.
Empty file.
Loading