Skip to content

Commit fd4f8e0

Browse files
committed
[NFC] Remove incorrect comments
It makes sense that main::negate() would not be allowed because main does not re-export ModuleSelectorTestingKit.
1 parent e740a77 commit fd4f8e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/NameLookup/module_selector.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ extension B: main::Equatable {
8484
// @_derivative(of:)
8585

8686
@_dynamicReplacement(for: main::negate())
87-
// FIXME shouldn't this succeed?: expected-error@-1 {{replaced function 'main::negate()' could not be found}}
88-
// FIXME: expected-note@-2 {{did you mean module 'ModuleSelectorTestingKit'?}} {{29-33=ModuleSelectorTestingKit}}
87+
// expected-error@-1 {{replaced function 'main::negate()' could not be found}}
88+
// expected-note@-2 {{did you mean module 'ModuleSelectorTestingKit'?}} {{29-33=ModuleSelectorTestingKit}}
8989
mutating func myNegate() {
9090
let fn: (main::Int, main::Int) -> main::Int =
9191
// expected-error@-1 3{{type 'Int' is not imported through module 'main'}}

0 commit comments

Comments
 (0)