Document failure to handle type parameter shadowing

This commit is contained in:
Andrew Casey
2017-08-16 16:35:53 -07:00
parent b09d2277b8
commit fe015ef30f
2 changed files with 48 additions and 0 deletions

View File

@@ -565,6 +565,15 @@ namespace A {
}
}
}
}`);
// This test is descriptive, rather than normative. The current implementation
// doesn't handle type parameter shadowing.
testExtractMethod("extractMethod14",
`function F<T>(t1: T) {
function F<T>(t2: T) {
[#|t1.toString();
t2.toString();|]
}
}`);
});