Skip to content

Commit 49c7f09

Browse files
committed
Fix expected error location
1 parent db5b870 commit 49c7f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Macros/accessor_macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ms.favoriteColor = "Yellow"
9696
struct MyBrokenStruct {
9797
var _birthDate: MyWrapperThingy<Date?> = .init(storage: nil)
9898

99-
// expected-note@+1 2{{in expansion of macro 'myPropertyWrapper'}}
99+
// expected-note@+2 2{{in expansion of macro 'myPropertyWrapper'}}
100100
@myPropertyWrapper
101101
var birthDate: Date? {
102102
// CHECK-DIAGS: variable already has a getter

0 commit comments

Comments
 (0)