Skip to content

Commit 85baf3f

Browse files
committed
Diagnosis changes in fixed crasher
1 parent 2e23ee5 commit 85baf3f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

validation-test/compiler_crashers_2_fixed/0160-rdar41141944.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class C : P {
1111
// expected-error@-1 {{type 'C' does not conform to protocol 'P'}}
1212
var foo: Float = 0.75
1313
// expected-note@-1 {{'foo' previously declared here}}
14-
// expected-note@-2 {{candidate is not a function}}
1514
func foo() {}
1615
// expected-error@-1 {{invalid redeclaration of 'foo()'}}
17-
// expected-note@-2 {{candidate has non-matching type '() -> ()'}}
1816
}

0 commit comments

Comments
 (0)