Skip to content

Commit

Permalink
Merge pull request #17554 from dlongnecke-cray/futurize-list-append-t…
Browse files Browse the repository at this point in the history
…ests

Futurize lifetime checker tests for list that broke after #17510 (#17554)

In #17510 the return type of `list.append()` was changed from `void`
to `int`. Testing for that effort revealed that several lifetime
tests for `list.append()` were failing due to a bug with the lifetime
checker.

Until the bug is fixed, futurize these tests.

Signed-off-by: David Longnecker <[email protected]>
  • Loading branch information
dlongnecke-cray authored Apr 9, 2021
2 parents 76b4639 + 4097656 commit dc4761c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Empty file.
2 changes: 2 additions & 0 deletions test/classes/delete-free/lifetimes/bad-append-borrow.future
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Lifetime errors for list.append() stopped firing after its return type
was changed to int in #17510.
Empty file.
2 changes: 2 additions & 0 deletions test/library/standard/List/classLists/listAppendBorrow.future
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Lifetime errors for list.append() stopped firing after its return type
was changed to int in #17510.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Lifetime errors for list.append() stopped firing after its return type
was changed to int in #17510.
Empty file.
2 changes: 2 additions & 0 deletions test/library/standard/List/listAppendLifetime.future
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Lifetime errors for list.append() stopped firing after its return type
was changed to int in #17510.

0 comments on commit dc4761c

Please sign in to comment.