forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from bloomberg/isolated-declarations-missing-…
…test Isolated declarations missing test
- Loading branch information
Showing
659 changed files
with
47,794 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...e/isolated-declarations/auto-fixed/diff/accessorDeclarationEmitVisibilityErrors.d.ts.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// [[Reason: Semantically invalid. TSC does not emit .d.ts]] //// | ||
|
||
//// [tests/cases/compiler/accessorDeclarationEmitVisibilityErrors.ts] //// | ||
|
||
=================================================================== | ||
--- TSC declarations | ||
+++ DTE declarations | ||
@@ -1,5 +1,11 @@ | ||
|
||
+ | ||
+//// [accessorDeclarationEmitVisibilityErrors.d.ts] | ||
+export declare class Q { | ||
+ set bet(arg: DoesNotExist); | ||
+} | ||
+//# sourceMappingURL=accessorDeclarationEmitVisibilityErrors.d.ts.map | ||
/// [Errors] //// | ||
|
||
accessorDeclarationEmitVisibilityErrors.ts(2,18): error TS2304: Cannot find name 'DoesNotExist'. | ||
accessorDeclarationEmitVisibilityErrors.ts(2,18): error TS4106: Parameter 'arg' of accessor has or is using private name 'DoesNotExist'. |
18 changes: 18 additions & 0 deletions
18
.../baselines/reference/isolated-declarations/auto-fixed/diff/ambientConstLiterals.d.ts.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// [[Reason: TODO: Printing differences. Seems avoidable.]] //// | ||
|
||
//// [tests/cases/compiler/ambientConstLiterals.ts] //// | ||
|
||
=================================================================== | ||
--- TSC declarations | ||
+++ DTE declarations | ||
@@ -15,9 +15,9 @@ | ||
declare const c5: 123; | ||
declare const c6: -123; | ||
declare const c7 = true; | ||
declare const c8: E.A; | ||
-declare const c8b = E["non identifier"]; | ||
+declare const c8b: (typeof E)["non identifier"]; | ||
declare const c9: { | ||
x: string; | ||
}; | ||
declare const c10: number[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...eference/isolated-declarations/auto-fixed/diff/coAndContraVariantInferences.d.ts.map.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// [[Reason: Sourcemap is more detailed]] //// | ||
|
||
//// [tests/cases/compiler/coAndContraVariantInferences.ts] //// | ||
|
||
=================================================================== | ||
--- TSC declarations | ||
+++ DTE declarations | ||
@@ -1,6 +1,6 @@ | ||
|
||
//// [coAndContraVariantInferences.d.ts.map] | ||
-{"version":3,"file":"coAndContraVariantInferences.d.ts","sourceRoot":"","sources":["coAndContraVariantInferences.ts"],"names":[],"mappings":"AAAA,KAAK,CAAC,GAAG;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,CAAC;AACvB,KAAK,CAAC,GAAG;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,CAAC;AAEvB,OAAO,CAAC,MAAM,CAAC,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BraW5kOiAnYicgfTsKCmRlY2xhcmUgY29uc3QgYTogQTsKZGVjbGFyZSBjb25zdCBiOiBCOwoKZGVjbGFyZSBmdW5jdGlvbiBmYWIoYXJnOiBBIHwgQik6IHZvaWQ7CgpkZWNsYXJlIGZ1bmN0aW9uIGZvbzxUPih4OiB7IGtpbmQ6IFQgfSwgZjogKGFyZzogeyBraW5kOiBUIH0pID0+IHZvaWQpOiB2b2lkOwoKZm9vKGEsIGZhYik7CmZvbyhiLCBmYWIpOwoKLy8gUmVwcm8gZnJvbSAjNDU2MDMKCmludGVyZmFjZSBBY3Rpb248VE5hbWUgZXh0ZW5kcyBzdHJpbmcsVFBheWxvYWQ+IHsKICAgIG5hbWU6IFROYW1lLAogICAgcGF5bG9hZDogVFBheWxvYWQKfQoKY29uc3QgYWN0aW9uQSA9IHsgcGF5bG9hZDogJ2FueS1zdHJpbmcnIH0gYXMgQWN0aW9uPCdBQ1RJT05fQScsIHN0cmluZz47CmNvbnN0IGFjdGlvbkIgPSB7IHBheWxvYWQ6IHRydWUgfSBhcyBBY3Rpb248J0FDVElPTl9CJywgYm9vbGVhbj47CgpmdW5jdGlvbiBjYWxsPFROYW1lIGV4dGVuZHMgc3RyaW5nLFRQYXlsb2FkPigKICBhY3Rpb246IEFjdGlvbjxUTmFtZSxUUGF5bG9hZD4sCiAgZm46IChhY3Rpb246IEFjdGlvbjxUTmFtZSxUUGF5bG9hZD4pPT4gYW55LAopOiB2b2lkIHsKICBmbihhY3Rpb24pOwp9Cgpjb25zdCBwcmludEZuID0gKGFjdGlvbjogdHlwZW9mIGFjdGlvbkEgfCB0eXBlb2YgYWN0aW9uQik6IHZvaWQ9PiBjb25zb2xlLmxvZyhhY3Rpb24pOwoKY2FsbChhY3Rpb25BLCBwcmludEZuKTsKY2FsbChhY3Rpb25CLCBwcmludEZuKTsK | ||
|
22 changes: 22 additions & 0 deletions
22
tests/baselines/reference/isolated-declarations/auto-fixed/diff/commentsFunction.d.ts.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// [[Reason: Printing differences]] //// | ||
|
||
//// [tests/cases/compiler/commentsFunction.ts] //// | ||
|
||
=================================================================== | ||
--- TSC declarations | ||
+++ DTE declarations | ||
@@ -9,11 +9,11 @@ | ||
b: number): void; | ||
/** fooFunc | ||
* comment | ||
*/ | ||
-declare var fooFunc: (b: string) => string; | ||
-declare var lambdaFoo: (a: number, b: number) => number; | ||
-declare var lambddaNoVarComment: (a: number, b: number) => number; | ||
+declare var fooFunc: (/** fooFunctionValue param */ b: string) => string; | ||
+declare var lambdaFoo: (/**param a*/ a: number, /**param b*/ b: number) => number; | ||
+declare var lambddaNoVarComment: (/**param a*/ a: number, /**param b*/ b: number) => number; | ||
declare function blah(a: string): void; | ||
declare function blah2(a: string): void; | ||
declare function blah3(a: string): void; | ||
declare function blah4(/*1*/ a: string, /*3*/ b: string): void; |
Oops, something went wrong.