File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
// RUN: not %target-swift-frontend -typecheck -debug-cycles %s -build-request-dependency-graph -output-request-graphviz %t.dot -stats-output-dir %t/stats-dir 2> %t.cycles
5
5
// RUN: %FileCheck -check-prefix CHECK-DOT %s < %t.dot
6
6
7
- class Left // expected-error {{'Left' inherits from itself}} expected-note 2 {{through reference here}}
7
+ class Left // expected-error {{'Left' inherits from itself}} expected-note {{through reference here}}
8
8
: Right . Hand { // expected-note {{through reference here}}
9
- class Hand { } // expected-note {{through reference here}}
9
+ class Hand { }
10
10
}
11
11
12
- class Right // expected-note 2 {{through reference here}} expected-note{{class 'Right' declared here}}
12
+ class Right // expected-note {{through reference here}} expected-note{{class 'Right' declared here}}
13
13
: Left . Hand { // expected-note {{through reference here}}
14
- class Hand { } // expected-error {{circular reference}}
14
+ class Hand { }
15
15
}
16
16
17
17
class C : B { } // expected-error{{'C' inherits from itself}}
@@ -30,15 +30,15 @@ class Outer {
30
30
class Inner : Outer { }
31
31
}
32
32
33
- class Outer2 // expected-error {{'Outer2' inherits from itself}} expected-note 2 {{through reference here}}
33
+ class Outer2 // expected-error {{'Outer2' inherits from itself}} expected-note {{through reference here}}
34
34
: Outer2 . Inner { // expected-note {{through reference here}}
35
35
36
- class Inner { } // expected-error{{circular reference}}
36
+ class Inner { }
37
37
}
38
38
39
- class Outer3 // expected-error {{'Outer3' inherits from itself}} expected-note 2 {{through reference here}}
39
+ class Outer3 // expected-error {{'Outer3' inherits from itself}} expected-note {{through reference here}}
40
40
: Outer3 . Inner < Int > { // expected-note {{through reference here}}
41
- class Inner < T> { } // expected-error{{circular reference}}
41
+ class Inner < T> { }
42
42
}
43
43
44
44
// CHECK-DOT: digraph Dependencies
You can’t perform that action at this time.
0 commit comments