Skip to content

Commit 38712ae

Browse files
committed
A few more generic tests.
1 parent d9c2fac commit 38712ae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/RemoteAST/nominal_types.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,12 @@ printType(H<A,A>.self)
5959
// CHECK: H<A, A>
6060
printType(H<B.Foo, H<B, A>>.self)
6161
// CHECK: H<B.Foo, H<B, A>>
62+
63+
class I<T> {}
64+
printType(I<Int>.self)
65+
// CHECK: I<Int>
66+
67+
// None of these are currently permitted by Sema.
68+
// TODO: non-generic types nested in generic types
69+
// TODO: generic types nested in generic types
70+
// TODO: generic types nested in non-generic types

0 commit comments

Comments
 (0)