Skip to content

Commit 99f6c3e

Browse files
committed
[NFC] Move Test From Parse -> Constraints
1 parent e48fe8c commit 99f6c3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Parse/type_sequence.swift renamed to test/Constraints/type_sequence.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
struct TupleStruct<First, @_typeSequence Rest> {
44
var first: First
5-
var rest: Rest
5+
var rest: (Rest...)
66
}
77

88
func debugPrint<@_typeSequence T>(_ items: T...)
@@ -24,3 +24,4 @@ func min<@_typeSequence T: Comparable>(_ values: T...) -> T? {
2424
}
2525

2626
func badParameter<T>(_ : @_typeSequence T) {} // expected-error {{attribute does not apply to type}}
27+

0 commit comments

Comments
 (0)