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 44// 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
55// RUN: %FileCheck -check-prefix CHECK-DOT %s < %t.dot
66
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}}
88 : Right . Hand { // expected-note {{through reference here}}
9- class Hand { } // expected-note {{through reference here}}
9+ class Hand { }
1010}
1111
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}}
1313 : Left . Hand { // expected-note {{through reference here}}
14- class Hand { } // expected-error {{circular reference}}
14+ class Hand { }
1515}
1616
1717class C : B { } // expected-error{{'C' inherits from itself}}
@@ -30,15 +30,15 @@ class Outer {
3030 class Inner : Outer { }
3131}
3232
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}}
3434 : Outer2 . Inner { // expected-note {{through reference here}}
3535
36- class Inner { } // expected-error{{circular reference}}
36+ class Inner { }
3737}
3838
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}}
4040 : Outer3 . Inner < Int > { // expected-note {{through reference here}}
41- class Inner < T> { } // expected-error{{circular reference}}
41+ class Inner < T> { }
4242}
4343
4444// CHECK-DOT: digraph Dependencies
You can’t perform that action at this time.
0 commit comments