Skip to content

Commit

Permalink
test: restore intent of test case
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Dec 12, 2023
1 parent df6f937 commit e3ad1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regression-tests/pure2-bugfix-for-dependent-types.cpp2
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ main: () = {
_ = : ::t<zero> = (); // clang-format on

// Emitted `template` (noop, taken care of by the UFCS macro).
_ = (:<T> () = {}).operator()<i32>();
// _ = :(move f) = f.operator()<i32>();(:<T> () = {}); // Blocked on #832.

// Nesting is not relevant to lookup.
_ = :<T> () = { _ = :T::value_type = (); };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ auto main() -> int{
static_cast<void>(::t<zero>{});// clang-format on

// Emitted `template` (noop, taken care of by the UFCS macro).
static_cast<void>(CPP2_UFCS_TEMPLATE(operator()<cpp2::i32>)(([]<typename T>() mutable -> void{})));
// _ = :(move f) = f.operator()<i32>();(:<T> () = {}); // Blocked on #832.

// Nesting is not relevant to lookup.
static_cast<void>([]<typename T>() mutable -> void{static_cast<void>(typename T::value_type{}); });
Expand Down

0 comments on commit e3ad1b5

Please sign in to comment.