mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 01:43:59 -05:00
Adding comment to test
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
//// [staticAnonymousTypeNotReferencingTypeParameter.ts]
|
||||
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
|
||||
// this would cause the compiler to run out of memory.
|
||||
|
||||
function outer<T>(x: T) {
|
||||
class Inner {
|
||||
static y: T = x;
|
||||
@@ -139,6 +142,8 @@ interface Array<T> {
|
||||
}
|
||||
|
||||
//// [staticAnonymousTypeNotReferencingTypeParameter.js]
|
||||
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
|
||||
// this would cause the compiler to run out of memory.
|
||||
function outer(x) {
|
||||
var Inner = (function () {
|
||||
function Inner() {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,7 @@
|
||||
=== tests/cases/compiler/staticAnonymousTypeNotReferencingTypeParameter.ts ===
|
||||
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
|
||||
// this would cause the compiler to run out of memory.
|
||||
|
||||
function outer<T>(x: T) {
|
||||
>outer : <T>(x: T) => typeof Inner
|
||||
>T : T
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448
|
||||
// this would cause the compiler to run out of memory.
|
||||
|
||||
function outer<T>(x: T) {
|
||||
class Inner {
|
||||
static y: T = x;
|
||||
|
||||
Reference in New Issue
Block a user