File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/tensorflow/validation-test/compiler_crashers_2_fixed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -816,7 +816,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-04-25-a: 22f738a831d43aff2b9c9773bcb65
816
816
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-05-08-a: 7d98cc16689baba5c8a3b90a9329bdcc1a12b4e9
817
817
refs/heads/cherr42: a566ad54b073c2c56ac0a705d0a5bed9743135a5
818
818
"refs/heads/codable_test_comment_fix": fc8f6824f7f347e1e8db55bff62db385c5728b5a
819
- refs/heads/tensorflow: 85f367909e167ebe29bc7828bb0affdb0b5f241d
819
+ refs/heads/tensorflow: 911bcee8631bbb68795fcbd103b4ecae310a4571
820
820
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-11-a: 8126fd7a652e2f70ad6d76505239e34fb2ef3e1a
821
821
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-12-a: b3fd3dd84df6717f2e2e9df58c6d7e99fed57086
822
822
refs/tags/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-05-13-a: 71135119579039dc321c5f65d870050fe36efda2
Original file line number Diff line number Diff line change 2
2
3
3
protocol P { }
4
4
5
- func fn< T, U: P > ( _ arg1: T , arg2: ( T ) -> U ) { }
5
+ func fn< T, U: P > ( _ arg1: T , arg2: ( T ) -> U ) { } // expected-note {{where 'U' = '()'}}
6
6
7
7
func test( str: String ) {
8
- fn ( str) { arg in
8
+ fn ( str) { arg in // expected-error {{global function 'fn(_:arg2:)' requires that '()' conform to 'P'}}
9
9
< #FOO#> // expected-error {{editor placeholder in source file}}
10
10
}
11
11
}
You can’t perform that action at this time.
0 commit comments