Skip to content

Commit a921dbd

Browse files
committed
Uncomment fixed FIXMEs in test/Interpreter/variadic_generic_conformances.swift
1 parent 383f1d8 commit a921dbd

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/Interpreter/variadic_generic_conformances.swift

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,13 @@ struct ElementTupleMaker<each T: Sequence> : TypeMaker {
3131

3232
conformances.test("makeTuple1") {
3333
expectEqual("()", _typeName(makeTypeIndirectly(TupleMaker< >())))
34-
35-
// FIXME: This should unwrap the one-element tuple!
36-
// expectEqual("(Swift.Int)", _typeName(makeTypeIndirectly(TupleMaker<Int>())))
37-
34+
expectEqual("Swift.Int", _typeName(makeTypeIndirectly(TupleMaker<Int>())))
3835
expectEqual("(Swift.Int, Swift.Bool)", _typeName(makeTypeIndirectly(TupleMaker<Int, Bool>())))
3936
}
4037

4138
conformances.test("makeTuple2") {
4239
expectEqual("()", _typeName(makeTypeIndirectly(ElementTupleMaker< >())))
43-
44-
// FIXME: This should unwrap the one-element tuple!
45-
// expectEqual("(Swift.Int)", _typeName(makeTypeIndirectly(ElementTupleMaker<Array<Int>>())))
46-
40+
expectEqual("Swift.Int", _typeName(makeTypeIndirectly(ElementTupleMaker<Array<Int>>())))
4741
expectEqual("(Swift.Int, Swift.Bool)", _typeName(makeTypeIndirectly(ElementTupleMaker<Array<Int>, Set<Bool>>())))
4842
}
4943

0 commit comments

Comments
 (0)