/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declFileConstructSignatures/ |
D | declFileConstructSignatures_1.ts | 29 new (/** this is comment about a*/a: string, method 36 new (a: string, ...rests: string[]): string; method 41 new (a: string): string; method 42 new (a: number): number; method 47 new (a: T): T; method 51 new <T extends IGlobalConstructSignature>(a: T): T; method
|
D | declFileConstructSignatures_0.ts | 29 new (/** this is comment about a*/a: string, method 35 new (a: string, ...rests: string[]): string; method 39 new (a: string): string; method 40 new (a: number): number; method 45 new (a: T): T; method 49 new <T extends IConstructSignature>(a: T): T; method
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | constructSignaturesWithOverloadsThatDifferOnlyByReturnType.ts | 32 new(x: number, y: string): C; method 33 new(x: number, y: string): C2<number>; // error method 37 new (x: T, y: string): C2<number>; method 38 new (x: T, y: string): C; // error method 39 new <T>(x: T, y: string): C2<T>; method 40 new <T>(x: T, y: string): C; // error method
|
D | privacyInterface.ts | 104 new (c1: C1_public); method 105 new (c1: C2_private); method 106 new (): C1_public; method 107 new (c2: number): C2_private; method 131 new (c1: C1_public); method 132 new (c1: C2_private); method 133 new (): C1_public; method 134 new (c2: number): C2_private; method 168 new (c1: C5_public); method 169 new (c1: C6_private); method [all …]
|
D | constructSignaturesWithOverloads.ts | 50 new(x: number, y?: string): C; method 51 new(x: number, y: string): C; method 65 new (x: T, y?: string): C2<T>; method 66 new (x: T, y: string): C2<T>; method 67 new <T>(x: T, y?: string): C2<T>; method 68 new <T>(x: T, y: string): C2<T>; method
|
D | constructSignaturesWithIdenticalOverloads.ts | 50 new (x: number, y: string): C; method 51 new (x: number, y: string): C; // error method 65 new (x: T, y: string): C2<T>; method 66 new (x: T, y: string): C2<T>; // error method 67 new <T>(x: T, y: string): C2<T>; method 68 new <T>(x: T, y: string): C2<T>; // error method
|
D | hidingConstructSignatures.ts | 26 new (a: string): number; // Should be ok method 30 new (a: string): {}; method 34 new (a: string): string; method
|
D | overloadBindingAcrossDeclarationBoundaries.ts | 38 new (o: Opt1): Opt1; method 39 new (o: Opt2): Opt2; method 46 new (o: Opt3): Opt3; method 47 new (o: Opt4): Opt4; method
|
D | commentsOverloads.ts | 115 new (a: string); method 117 new (b: number); method 123 new (a: string); method 125 new (b: number); method 135 new (a: string); method 137 new (b: number); method 146 new (a: string); method 147 new (b: number); method
|
D | privacyTypeParameterOfFunctionDeclFile.ts | 29 new <T extends privateClass>(): privateClass; // Error method 35 new <T extends publicClass>(): publicClass; method 41 new <T extends privateClass>(): privateClass; method 47 new <T extends publicClass>(): publicClass; method 109 new <T>(): publicClass; method 115 new <T>(): publicClass; method 148 new <T extends privateModule.publicClass>(): privateModule.publicClass; // Error method 163 new <T extends privateModule.publicClass>(): privateModule.publicClass; method 185 new <T extends privateClass>(): privateClass; // Error method 191 new <T extends publicClass>(): publicClass; method [all …]
|
D | collisionRestParameterInterfaceMembers.ts | 32 new (_i: number, ...restParameters); // no error - no code gen method 35 new (_i: number); // no error method
|
D | typesWithSpecializedConstructSignatures.ts | 43 new(x: 'hi'): Derived1; method 44 new(x: 'bye'): Derived2; method 45 new(x: string): Base; method
|
D | overrideInterfaceProperty.ts | 25 new(): Mup<any, any>; method 26 new<K, V>(entries?: readonly (readonly [K, V])[] | null): Mup<K, V>; method
|
D | privacyTypeParameterOfFunction.ts | 30 new <T extends privateClass>(): privateClass; method 40 new <T extends publicClass>(): publicClass; method 46 new <T extends privateClass>(): privateClass; method 52 new <T extends publicClass>(): publicClass; method 117 new <T>(): publicClass; method 123 new <T>(): publicClass; method
|
D | derivedInterfaceDoesNotHideBaseSignatures.ts | 30 new (x: string): string; method
|
D | objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts | 40 new(x: T, y?: U): B<T, U>; method 44 new<T, U>(x: T, y: U): C<T, U>; method
|
D | interfaceWithConstructSignaturesThatHidesBaseSignature.ts | 26 new (): { a: number; b: number }; method
|
D | interfaceWithConstructSignaturesThatHidesBaseSignature2.ts | 26 new (): { a: number }; // constructors not checked for conformance like a call signature is method
|
D | nongenericPartialInstantiationsRelatedInBothDirections.ts | 27 new (sample: Partial<T>): Partial<T> method
|
D | privacyGloInterface.ts | 97 new (c1: C5_public); method 98 new (): C5_public; method
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | varRedeclaration13.ts | 22 new(a: number, b: string): number method 26 new(a: number, b: string): number method 31 new(a: number, b: string): number method
|
D | test-interface5.ts | 17 interface A { readonly new(a: number): string }; method
|
D | interfaceUsedAsValue.ts | 21 new(): string method
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyFunctionParameterDeclFile/ |
D | privacyFunctionParameterDeclFile_externalModule.ts | 29 new (param: privateClass): publicClass; // Error method 35 new (param: publicClass): publicClass; method 41 new (param: privateClass): privateClass; method 47 new (param: publicClass): publicClass; method 294 new (param: privateClass): publicClass; method 300 new (param: publicClass): publicClass; method 306 new (param: privateClass): privateClass; method 312 new (param: publicClass): publicClass; method
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-interface.ts | 23 new(a: null, b?: string): { a: number, b: string, c?([a, b]): string } method
|