Skip to content

Commit 10c06e8

Browse files
committed
Gardening: Migrate test suite to GH issues: ImportResolution
1 parent 8c1f391 commit 10c06e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ImportResolution/import-resolution-overload_swift4.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import overload_vars
66

77
func useString(_ str: String) {}
88

9+
// https://github.com/apple/swift/issues/49889
910
// Ensure we maintain compatibility with Swift 4's overload signature rules.
1011
// Variables defined in extensions of generic types had different overload
11-
// signatures to other variables, so allow overloading in such cases (SR-7341).
12+
// signatures to other variables, so allow overloading in such cases.
1213
extension HasFooGeneric {
1314
var foo: String { return "" } // `foo` isn't defined in a generic extension in the other module, so allow overloading in Swift 4 mode.
1415
var bar: String { return "" } // `bar` is defined in a generic extension in the other module, so `bar: String` always shadows it.

0 commit comments

Comments
 (0)