Test coupling of type parameters

This commit is contained in:
Andrew Casey
2017-08-17 15:14:36 -07:00
parent e08dce2c21
commit c9f6bc60e2
2 changed files with 24 additions and 0 deletions

View File

@@ -600,6 +600,11 @@ namespace A {
M<T1, T2>(t1: T1, t2: T2) {
[#|t1.toString()|];
}
}`);
// Coupled constraints
testExtractMethod("extractMethod19",
`function F<T, U extends T[], V extends U[]>(v: V) {
[#|v.toString()|];
}`);
});