File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -emit-ir -o - -primary-file %s %S/Inputs/protocol-conformance-rdar39805133-other.swift -module-name foo
2
- // RUN: %target-swift-frontend -emit-ir -o - %s -primary-file %S/Inputs/protocol-conformance-rdar39805133-other.swift -module-name foo
1
+ // RUN: %target-swift-frontend -verify - emit-ir -o - -primary-file %s %S/Inputs/protocol-conformance-rdar39805133-other.swift -module-name foo -requirement-machine-protocol-signatures=on -requirement-machine-inferred-signatures=on
2
+ // RUN: %target-swift-frontend -emit-ir -o - %s -primary-file %S/Inputs/protocol-conformance-rdar39805133-other.swift -module-name foo -requirement-machine-protocol-signatures=on -requirement-machine-inferred-signatures=on
3
3
4
4
protocol _Int : DefaultInit {
5
5
associatedtype Minus1 : _Int
@@ -27,3 +27,5 @@ protocol AtLeast0 : _Int {}
27
27
extension _0_ : AtLeast0 { }
28
28
protocol AtLeast1 : AtLeast0 { }
29
29
extension Inc : AtLeast1 , AtLeast0 where T == _0_ { }
30
+ // expected-error@-1 {{cannot build rewrite system for generic signature; rule length limit exceeded}}
31
+ // expected-note@-2 {{failed rewrite rule is τ_0_0.[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[concrete: Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<Inc<_0_>>>>>>>>>>>] => τ_0_0.[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1].[_Int:Plus1]}}
You can’t perform that action at this time.
0 commit comments