Skip to content

Commit 4f441bd

Browse files
committed
Adding comment to test
1 parent 1d18136 commit 4f441bd

4 files changed

Lines changed: 402 additions & 388 deletions

tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
//// [staticAnonymousTypeNotReferencingTypeParameter.ts]
2+
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
3+
// this would cause the compiler to run out of memory.
4+
25
function outer<T>(x: T) {
36
class Inner {
47
static y: T = x;
@@ -139,6 +142,8 @@ interface Array<T> {
139142
}
140143

141144
//// [staticAnonymousTypeNotReferencingTypeParameter.js]
145+
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
146+
// this would cause the compiler to run out of memory.
142147
function outer(x) {
143148
var Inner = (function () {
144149
function Inner() {

0 commit comments

Comments
 (0)