From c9973a95d1bea6bd7d8ab20d1ebe19af724fcf00 Mon Sep 17 00:00:00 2001 From: Shubham Sandeep Rastogi Date: Thu, 6 Mar 2025 22:30:48 -0800 Subject: [PATCH] Fix step over bug rdar://140159600 --- .../step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py index b7c11e200ec87..d4d3dc00797c8 100644 --- a/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py +++ b/lldb/test/API/lang/swift/async/stepping/step_over_asynclet/TestSwiftAsyncStepOverAsyncLet.py @@ -24,11 +24,7 @@ def test(self): ) # Step over should reach every line in the interval [10, 20] - expected_line_nums = [10, 11, 12, 13, 14, 15] - # FIXME: for some reason we loop back to the start of the do block after the last statement. - # rdar://140159600 - expected_line_nums += [8] - expected_line_nums += [17, 18, 19, 20] + expected_line_nums = range(10, 21) for expected_line_num in expected_line_nums: thread.StepOver() stop_reason = thread.GetStopReason()