| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0396723 commit a4f9bf0
443 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4957,6 +4957,7 @@ namespace ts { | |||
| 4957 | 4957 | HasNeverType = 1 << 17, // Synthetic property with at least one never type in constituents | |
| 4958 | 4958 | Mapped = 1 << 18, // Property of mapped type | |
| 4959 | 4959 | StripOptional = 1 << 19, // Strip optionality in mapped property | |
| 4960 | + Unresolved = 1 << 20, // Unresolved type alias symbol | ||
| 4960 | 4961 | Synthetic = SyntheticProperty | SyntheticMethod, | |
| 4961 | 4962 | Discriminant = HasNonUniformType | HasLiteralType, | |
| 4962 | 4963 | Partial = ReadPartial | WritePartial | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,5 +2,6 @@ | |||
| 2 | 2 | var v = (a: ) => { | |
| 3 | 3 | >v : Symbol(v, Decl(ArrowFunction1.ts, 0, 3)) | |
| 4 | 4 | >a : Symbol(a, Decl(ArrowFunction1.ts, 0, 9)) | |
| 5 | + > : Symbol(unknown) | ||
| 5 | 6 | ||
| 6 | 7 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,7 @@ module clodule1 { | |||
| 19 | 19 | function f(x: T) { } | |
| 20 | 20 | >f : Symbol(f, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 8, 17)) | |
| 21 | 21 | >x : Symbol(x, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 9, 15)) | |
| 22 | + >T : Symbol(T) | ||
| 22 | 23 | } | |
| 23 | 24 | ||
| 24 | 25 | class clodule2<T>{ | |
@@ -38,10 +39,12 @@ module clodule2 { | |||
| 38 | 39 | ||
| 39 | 40 | var x: T; | |
| 40 | 41 | >x : Symbol(x, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 19, 7)) | |
| 42 | + >T : Symbol(T) | ||
| 41 | 43 | ||
| 42 | 44 | class D<U extends T>{ | |
| 43 | 45 | >D : Symbol(D, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 19, 13)) | |
| 44 | 46 | >U : Symbol(U, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 21, 12)) | |
| 47 | + >T : Symbol(T) | ||
| 45 | 48 | ||
| 46 | 49 | id: string; | |
| 47 | 50 | >id : Symbol(D.id, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 21, 25)) | |
@@ -92,6 +95,7 @@ module clodule4 { | |||
| 92 | 95 | ||
| 93 | 96 | name: T; | |
| 94 | 97 | >name : Symbol(D.name, Decl(ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts, 44, 13)) | |
| 98 | + >T : Symbol(T) | ||
| 95 | 99 | } | |
| 96 | 100 | } | |
| 97 | 101 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,8 @@ module clodule1 { | |||
| 15 | 15 | >clodule1 : typeof clodule1 | |
| 16 | 16 | ||
| 17 | 17 | function f(x: T) { } | |
| 18 | - >f : (x: any) => void | ||
| 19 | - >x : any | ||
| 18 | + >f : (x: T) => void | ||
| 19 | + >x : T | ||
| 20 | 20 | } | |
| 21 | 21 | ||
| 22 | 22 | class clodule2<T>{ | |
@@ -33,7 +33,7 @@ module clodule2 { | |||
| 33 | 33 | >clodule2 : typeof clodule2 | |
| 34 | 34 | ||
| 35 | 35 | var x: T; | |
| 36 | - >x : any | ||
| 36 | + >x : T | ||
| 37 | 37 | ||
| 38 | 38 | class D<U extends T>{ | |
| 39 | 39 | >D : D<U> | |
@@ -83,7 +83,7 @@ module clodule4 { | |||
| 83 | 83 | >D : D | |
| 84 | 84 | ||
| 85 | 85 | name: T; | |
| 86 | - >name : any | ||
| 86 | + >name : T | ||
| 87 | 87 | } | |
| 88 | 88 | } | |
| 89 | 89 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,5 +5,6 @@ function * foo() { | |||
| 5 | 5 | // Legal to use 'yield' in a type context. | |
| 6 | 6 | var v: yield; | |
| 7 | 7 | >v : Symbol(v, Decl(FunctionDeclaration13_es6.ts, 2, 6)) | |
| 8 | + >yield : Symbol(yield) | ||
| 8 | 9 | } | |
| 9 | 10 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,6 @@ function * foo() { | |||
| 4 | 4 | ||
| 5 | 5 | // Legal to use 'yield' in a type context. | |
| 6 | 6 | var v: yield; | |
| 7 | - >v : any | ||
| 7 | + >v : yield | ||
| 8 | 8 | } | |
| 9 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,4 +2,5 @@ | |||
| 2 | 2 | function A(): (public B) => C { | |
| 3 | 3 | >A : Symbol(A, Decl(ParameterList5.ts, 0, 0)) | |
| 4 | 4 | >B : Symbol(B, Decl(ParameterList5.ts, 0, 15)) | |
| 5 | + >C : Symbol(C) | ||
| 5 | 6 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | === tests/cases/compiler/ParameterList5.ts === | |
| 2 | 2 | function A(): (public B) => C { | |
| 3 | - >A : () => (B: any) => any | ||
| 3 | + >A : () => (B: any) => C | ||
| 4 | 4 | >B : any | |
| 5 | 5 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | 1 | === tests/cases/conformance/parser/ecmascript5/TupleTypes/TupleType6.ts === | |
| 2 | 2 | var v: [number,,] | |
| 3 | 3 | >v : Symbol(v, Decl(TupleType6.ts, 0, 3)) | |
| 4 | + > : Symbol(unknown) | ||
| 4 | 5 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments