Created
May 6, 2017 05:07
-
-
Save azz/03beb5fe6fc081e40de1ec1a0c6a969e to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or 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
../TypeScript/tests/baselines/reference/project/declarationDir/amd/declarations/a.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir/amd/declarations/subfolder/b.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir/amd/declarations/subfolder/c.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir/node/declarations/a.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir/node/declarations/subfolder/b.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir/node/declarations/subfolder/c.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/amd/declarations/a.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/amd/declarations/subfolder/b.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/amd/declarations/subfolder/c.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/node/declarations/a.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/node/declarations/subfolder/b.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir2/node/declarations/subfolder/c.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationDir3/amd/out.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
import { B } from "subfolder/b"; | |
+ | |
export class A { | |
b: B; | |
@@ -12,4 +13,5 @@ | |
import { A } from "a"; | |
+ | |
export class C { | |
a: A; | |
../TypeScript/tests/baselines/reference/project/declarationsCascadingImports/amd/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsCascadingImports/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsCascadingImports/node/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsCascadingImports/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsExportNamespace/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsExportNamespace/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsGlobalImport/amd/glo_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsGlobalImport/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsGlobalImport/node/glo_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsGlobalImport/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedInPrivate/amd/private_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedInPrivate/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedInPrivate/node/private_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedInPrivate/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/fncOnly_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedUseInFunction/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedUseInFunction/node/fncOnly_m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsImportedUseInFunction/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesImport/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesImport/node/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesImport/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/m5.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/m5.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsMultipleTimesMultipleImport/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsSimpleImport/amd/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsSimpleImport/amd/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsSimpleImport/node/m4.d.ts | |
../TypeScript/tests/baselines/reference/project/declarationsSimpleImport/node/useModule.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/amd/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/node/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/amd/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/node/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/a.d.ts | |
../TypeScript/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/amd/SameNameFilesNotSpecified/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/node/SameNameFilesNotSpecified/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/SameNameFilesNotSpecifiedWithAllowJs/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/SameNameFilesNotSpecifiedWithAllowJs/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/amd/SameNameTsSpecified/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/node/SameNameTsSpecified/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/SameNameTsSpecifiedWithAllowJs/a.d.ts | |
../TypeScript/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/SameNameTsSpecifiedWithAllowJs/a.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/noProjectOptionAndInputFiles/amd/a.d.ts | |
../TypeScript/tests/baselines/reference/project/noProjectOptionAndInputFiles/node/a.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/projectOptionTest/amd/Test/a.d.ts | |
../TypeScript/tests/baselines/reference/project/projectOptionTest/node/Test/a.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile1.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileB.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/FolderC/fileC.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileB.d.ts | |
../TypeScript/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/FolderC/fileC.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_module_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -11,4 +12,5 @@ | |
export var m2_a1: number; | |
+ | |
export class m2_c1 { | |
m2_c1_p1: number; | |
@@ -22,4 +24,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlModuleSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var m1_a1: number; | |
+ | |
export class m1_c1 { | |
m1_c1_p1: number; | |
@@ -12,4 +13,5 @@ | |
export var a1: number; | |
+ | |
export class c1 { | |
p1: number; | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.d.ts | |
../TypeScript/tests/baselines/reference/project/specifyExcludeUsingRelativepath/amd/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/specifyExcludeUsingRelativepath/node/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/amd/OutDir/a.d.ts | |
../TypeScript/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/node/OutDir/a.d.ts | |
../TypeScript/tests/cases/compiler/2dArrays.ts | |
../TypeScript/tests/cases/compiler/abstractClassInLocalScope.ts | |
../TypeScript/tests/cases/compiler/abstractClassInLocalScopeIsAbstract.ts | |
../TypeScript/tests/cases/compiler/abstractIdentifierNameStrict.ts | |
../TypeScript/tests/cases/compiler/abstractInterfaceIdentifierName.ts | |
../TypeScript/tests/cases/compiler/abstractProperty.ts | |
../TypeScript/tests/cases/compiler/abstractPropertyNegative.ts | |
../TypeScript/tests/cases/compiler/abstractPropertyNegative.ts: Error: Comment "error, not same type" was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/compiler/acceptableAlias1.ts | |
../TypeScript/tests/cases/compiler/accessInstanceMemberFromStaticMethod01.ts | |
../TypeScript/tests/cases/compiler/accessorParameterAccessibilityModifier.ts | |
../TypeScript/tests/cases/compiler/accessorsEmit.ts | |
../TypeScript/tests/cases/compiler/accessorsInAmbientContext.ts | |
../TypeScript/tests/cases/compiler/accessorsNotAllowedInES3.ts | |
../TypeScript/tests/cases/compiler/accessors_spec_section-4.5_error-cases.ts | |
../TypeScript/tests/cases/compiler/accessors_spec_section-4.5_inference.ts | |
../TypeScript/tests/cases/compiler/accessorWithInitializer.ts | |
../TypeScript/tests/cases/compiler/accessorWithoutBody1.ts | |
../TypeScript/tests/cases/compiler/accessorWithoutBody2.ts | |
../TypeScript/tests/cases/compiler/accessorWithRestParam.ts | |
../TypeScript/tests/cases/compiler/accessOverriddenBaseClassMember1.ts | |
../TypeScript/tests/cases/compiler/accessStaticMemberFromInstanceMethod01.ts | |
../TypeScript/tests/cases/compiler/addMoreCallSignaturesToBaseSignature.ts | |
../TypeScript/tests/cases/compiler/addMoreCallSignaturesToBaseSignature2.ts | |
../TypeScript/tests/cases/compiler/addMoreOverloadsToBaseSignature.ts | |
../TypeScript/tests/cases/compiler/aliasAssignments.ts | |
../TypeScript/tests/cases/compiler/aliasBug.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -107,12 +107,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "foo" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "bar" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,13 +1,14 @@ | |
// @module: commonjs | |
-module foo { | |
- export class Provide { | |
- } | |
+namespace foo { | |
+ export class Provide {} | |
- export module bar { export module baz {export class boo {}}} | |
+ export namespace bar { | |
+ export namespace baz { export class boo {} } | |
+ } | |
} | |
import provide = foo; | |
-import booz = foo.bar.baz; | |
+import booz = undefined.baz; | |
var p = new provide.Provide(); | |
@@ -16,5 +17,5 @@ | |
var p1: provide.Provide; // error here, but should be okay | |
var p2: foo.Provide; | |
- var p3:booz.bar; | |
+ var p3: booz.bar; | |
var p22 = new provide.Provide(); | |
} | |
../TypeScript/tests/cases/compiler/aliasErrors.ts | |
../TypeScript/tests/cases/compiler/aliasErrors.ts: { index: 249, | |
lineNumber: 13, | |
column: 11, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/aliasesInSystemModule1.ts | |
../TypeScript/tests/cases/compiler/aliasesInSystemModule2.ts | |
../TypeScript/tests/cases/compiler/aliasInaccessibleModule.ts | |
../TypeScript/tests/cases/compiler/aliasInaccessibleModule2.ts | |
../TypeScript/tests/cases/compiler/aliasOnMergedModuleInterface.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInAccessorsOfClass.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInArray.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInFunctionExpression.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInGenericFunction.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInGenericFunction.ts: { index: 758, | |
lineNumber: 23, | |
column: 19, | |
message: 'JSX element \'IHasVisualizationModel\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/aliasUsageInIndexerOfClass.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInObjectLiteral.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInOrExpression.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInOrExpression.ts: { index: 801, | |
lineNumber: 23, | |
column: 39, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/aliasUsageInTypeArgumentOfExtendsClause.ts | |
../TypeScript/tests/cases/compiler/aliasUsageInVarAssignment.ts | |
../TypeScript/tests/cases/compiler/aliasUsedAsNameValue.ts | |
../TypeScript/tests/cases/compiler/aliasWithInterfaceExportAssignmentUsedInVarInitializer.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
// @Filename: aliasWithInterfaceExportAssignmentUsedInVarInitializer_1.ts | |
+ | |
import moduleA = require("./aliasWithInterfaceExportAssignmentUsedInVarInitializer_0"); | |
var d = b.q3; | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports1.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports10.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports2.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports3.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports4.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports5.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports6.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports7.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports8.ts | |
../TypeScript/tests/cases/compiler/allowSyntheticDefaultImports9.ts | |
../TypeScript/tests/cases/compiler/alwaysStrict.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictAlreadyUseStrict.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictES6.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule2.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule3.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule4.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule5.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictModule6.ts | |
../TypeScript/tests/cases/compiler/alwaysStrictNoImplicitUseStrict.ts | |
../TypeScript/tests/cases/compiler/ambientClassDeclarationWithExtends.ts | |
../TypeScript/tests/cases/compiler/ambientClassDeclaredBeforeBase.ts | |
../TypeScript/tests/cases/compiler/ambientClassMergesOverloadsWithInterface.ts | |
../TypeScript/tests/cases/compiler/ambientClassOverloadForFunction.ts | |
../TypeScript/tests/cases/compiler/ambientConstLiterals.ts | |
../TypeScript/tests/cases/compiler/ambientEnum1.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer1.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer2.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer3.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer4.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer5.ts | |
../TypeScript/tests/cases/compiler/ambientEnumElementInitializer6.ts | |
../TypeScript/tests/cases/compiler/ambientErrors1.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleInAnotherExternalModule.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleReopen.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleWithInternalImportDeclaration.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleWithoutInternalImportDeclaration.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleWithRelativeExternalImportDeclaration.ts | |
../TypeScript/tests/cases/compiler/ambientExternalModuleWithRelativeModuleName.ts | |
../TypeScript/tests/cases/compiler/ambientFundule.ts | |
../TypeScript/tests/cases/compiler/ambientGetters.ts | |
../TypeScript/tests/cases/compiler/ambientModuleExports.ts | |
../TypeScript/tests/cases/compiler/ambientModules.ts | |
../TypeScript/tests/cases/compiler/ambientModuleWithClassDeclarationWithExtends.ts | |
../TypeScript/tests/cases/compiler/ambientNameRestrictions.ts | |
../TypeScript/tests/cases/compiler/ambientRequireFunction.ts | |
../TypeScript/tests/cases/compiler/ambientStatement1.ts | |
../TypeScript/tests/cases/compiler/ambientWithStatements.ts | |
../TypeScript/tests/cases/compiler/ambiguousCallsWhereReturnTypesAgree.ts | |
../TypeScript/tests/cases/compiler/ambiguousGenericAssertion1.ts | |
../TypeScript/tests/cases/compiler/ambiguousGenericAssertion1.ts: { index: 77, | |
lineNumber: 3, | |
column: 11, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/ambiguousOverload.ts | |
../TypeScript/tests/cases/compiler/ambiguousOverloadResolution.ts | |
../TypeScript/tests/cases/compiler/amdDependencyComment1.ts | |
../TypeScript/tests/cases/compiler/amdDependencyComment2.ts | |
../TypeScript/tests/cases/compiler/amdDependencyCommentName1.ts | |
../TypeScript/tests/cases/compiler/amdDependencyCommentName2.ts | |
../TypeScript/tests/cases/compiler/amdDependencyCommentName3.ts | |
../TypeScript/tests/cases/compiler/amdDependencyCommentName4.ts | |
../TypeScript/tests/cases/compiler/amdModuleName1.ts | |
../TypeScript/tests/cases/compiler/amdModuleName2.ts | |
../TypeScript/tests/cases/compiler/amdModuleName2.ts: { index: 55, | |
lineNumber: 3, | |
column: 0, | |
message: 'An AMD module cannot have multiple name assignments.' } | |
../TypeScript/tests/cases/compiler/anonterface.ts | |
../TypeScript/tests/cases/compiler/anonymousClassExpression1.ts | |
../TypeScript/tests/cases/compiler/anonymousClassExpression2.ts | |
../TypeScript/tests/cases/compiler/anonymousModules.ts | |
../TypeScript/tests/cases/compiler/anonymousModules.ts: { index: 7, lineNumber: 1, column: 7, message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/anyAsReturnTypeForNewOnCall.ts | |
../TypeScript/tests/cases/compiler/anyDeclare.ts | |
../TypeScript/tests/cases/compiler/anyIdenticalToItself.ts | |
../TypeScript/tests/cases/compiler/anyInferenceAnonymousFunctions.ts | |
../TypeScript/tests/cases/compiler/anyIsAssignableToObject.ts | |
../TypeScript/tests/cases/compiler/anyIsAssignableToVoid.ts | |
../TypeScript/tests/cases/compiler/anyPlusAny1.ts | |
../TypeScript/tests/cases/compiler/APISample_compile.ts | |
../TypeScript/tests/cases/compiler/APISample_linter.ts | |
../TypeScript/tests/cases/compiler/APISample_linter.ts: { index: 1094, | |
lineNumber: 28, | |
column: 101, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/APISample_parseConfig.ts | |
../TypeScript/tests/cases/compiler/APISample_transform.ts | |
../TypeScript/tests/cases/compiler/APISample_watcher.ts | |
../TypeScript/tests/cases/compiler/argsInScope.ts | |
../TypeScript/tests/cases/compiler/arguments.ts | |
../TypeScript/tests/cases/compiler/argumentsAsPropertyName.ts | |
../TypeScript/tests/cases/compiler/argumentsBindsToFunctionScopeArgumentList.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES5.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES5.ts: { index: 219, | |
lineNumber: 8, | |
column: 11, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES6.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES6.ts: { index: 219, | |
lineNumber: 8, | |
column: 11, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES5.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES5.ts: { index: 262, | |
lineNumber: 10, | |
column: 11, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES6.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES6.ts: { index: 262, | |
lineNumber: 10, | |
column: 11, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator03_ES5.ts | |
../TypeScript/tests/cases/compiler/argumentsObjectIterator03_ES6.ts | |
../TypeScript/tests/cases/compiler/argumentsUsedInObjectLiteralProperty.ts | |
../TypeScript/tests/cases/compiler/arithAssignTyping.ts | |
../TypeScript/tests/cases/compiler/arithmeticOnInvalidTypes.ts | |
../TypeScript/tests/cases/compiler/arithmeticOnInvalidTypes2.ts | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest1.ts | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest2.ts | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest3.ts | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest4.ts | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -17,4 +17,5 @@ | |
} | |
+ | |
export class Bug implements IMode { | |
public onEnter(line: string, state: IState, offset: number): IAction { | |
../TypeScript/tests/cases/compiler/arrayAssignmentTest6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -12,4 +12,5 @@ | |
} | |
+ | |
export class Bug implements IMode { | |
public tokenize( | |
../TypeScript/tests/cases/compiler/arrayAugment.ts | |
../TypeScript/tests/cases/compiler/arrayBestCommonTypes.ts | |
../TypeScript/tests/cases/compiler/arrayBestCommonTypes.ts: { index: 1252, | |
lineNumber: 32, | |
column: 23, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/arrayBindingPatternOmittedExpressions.ts | |
../TypeScript/tests/cases/compiler/arrayBufferIsViewNarrowsType.ts | |
../TypeScript/tests/cases/compiler/arrayCast.ts | |
../TypeScript/tests/cases/compiler/arrayCast.ts: { index: 170, | |
lineNumber: 3, | |
column: 0, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/arrayconcat.ts | |
../TypeScript/tests/cases/compiler/arrayConcat2.ts | |
../TypeScript/tests/cases/compiler/arrayConcatMap.ts | |
../TypeScript/tests/cases/compiler/arrayConstructors1.ts | |
../TypeScript/tests/cases/compiler/arrayFilter.ts | |
../TypeScript/tests/cases/compiler/arrayLiteral1.ts | |
../TypeScript/tests/cases/compiler/arrayLiteral2.ts | |
../TypeScript/tests/cases/compiler/arrayLiteralAndArrayConstructorEquivalence1.ts | |
../TypeScript/tests/cases/compiler/arrayLiteralComments.ts | |
../TypeScript/tests/cases/compiler/arrayLiteralContextualType.ts | |
../TypeScript/tests/cases/compiler/arrayLiteralInNonVarArgParameter.ts | |
../TypeScript/tests/cases/compiler/arrayLiteralTypeInference.ts | |
../TypeScript/tests/cases/compiler/arrayOfExportedClass.ts | |
../TypeScript/tests/cases/compiler/arrayOfSubtypeIsAssignableToReadonlyArray.ts | |
../TypeScript/tests/cases/compiler/arrayReferenceWithoutTypeArgs.ts | |
../TypeScript/tests/cases/compiler/arraySigChecking.ts | |
../TypeScript/tests/cases/compiler/arraySigChecking.ts: { index: 192, | |
lineNumber: 11, | |
column: 28, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/arraySlice.ts | |
../TypeScript/tests/cases/compiler/arrayTypeInSignatureOfInterfaceAndClass.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -28,4 +28,5 @@ | |
} | |
+ | |
export class VirtualList<T> implements IVirtualList<T> { | |
public removeIndices( | |
../TypeScript/tests/cases/compiler/arrowFunctionErrorSpan.ts | |
../TypeScript/tests/cases/compiler/ArrowFunctionExpression1.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionInConstructorArgument1.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionInExpressionStatement1.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionInExpressionStatement2.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionMissingCurlyWithSemicolon.ts: { index: 45, | |
lineNumber: 2, | |
column: 14, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionsMissingTokens.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionsMissingTokens.ts: { index: 50, | |
lineNumber: 3, | |
column: 15, | |
message: '\'=>\' expected.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody1.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody1.ts: { index: 14, | |
lineNumber: 1, | |
column: 14, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody2.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody2.ts: { index: 19, | |
lineNumber: 1, | |
column: 19, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody3.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody3.ts: { index: 31, | |
lineNumber: 2, | |
column: 14, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody4.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody4.ts: { index: 36, | |
lineNumber: 2, | |
column: 19, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody5.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody5.ts: { index: 27, | |
lineNumber: 1, | |
column: 27, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody6.ts | |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody6.ts: { index: 44, | |
lineNumber: 2, | |
column: 27, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/asiAbstract.ts | |
../TypeScript/tests/cases/compiler/asiAmbientFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/asiArith.ts | |
../TypeScript/tests/cases/compiler/asiBreak.ts | |
../TypeScript/tests/cases/compiler/asiContinue.ts | |
../TypeScript/tests/cases/compiler/asiInES6Classes.ts | |
../TypeScript/tests/cases/compiler/asiPublicPrivateProtected.ts | |
../TypeScript/tests/cases/compiler/asiReturn.ts | |
../TypeScript/tests/cases/compiler/assertInWrapSomeTypeParameter.ts | |
../TypeScript/tests/cases/compiler/assertInWrapSomeTypeParameter.ts: { index: 52, | |
lineNumber: 2, | |
column: 25, | |
message: '\'>\' expected.' } | |
../TypeScript/tests/cases/compiler/assign1.ts | |
../TypeScript/tests/cases/compiler/assigningFromObjectToAnythingElse.ts | |
../TypeScript/tests/cases/compiler/assignLambdaToNominalSubtypeOfFunction.ts | |
../TypeScript/tests/cases/compiler/assignmentCompat1.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability1.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability10.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability11.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability12.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability13.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability14.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability15.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability16.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability16.ts: { index: 257, | |
lineNumber: 6, | |
column: 31, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/assignmentCompatability17.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability17.ts: { index: 257, | |
lineNumber: 6, | |
column: 31, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/assignmentCompatability18.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability19.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability2.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability20.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability21.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability22.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability23.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability24.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability25.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability26.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability27.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability28.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability29.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability3.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability30.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability31.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability32.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability33.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability34.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability35.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability36.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability37.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability38.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability39.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability4.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability40.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability41.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability42.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability43.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability5.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability6.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability7.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability8.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability9.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability_checking-apply-member-off-of-function-interface.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatability_checking-call-member-off-of-function-interface.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatBug2.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatBug3.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatBug5.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatForEnums.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatFunctionsWithOptionalArgs.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatibilityForConstrainedTypeParameters.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatInterfaceWithStringIndexSignature.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatOnNew.ts | |
../TypeScript/tests/cases/compiler/assignmentCompatWithOverloads.ts | |
../TypeScript/tests/cases/compiler/assignmentNestedInLiterals.ts | |
../TypeScript/tests/cases/compiler/assignmentNonObjectTypeConstraints.ts | |
../TypeScript/tests/cases/compiler/assignmentRestElementWithErrorSourceType.ts | |
../TypeScript/tests/cases/compiler/assignmentStricterConstraints.ts | |
../TypeScript/tests/cases/compiler/assignmentToExpandingArrayType.ts | |
../TypeScript/tests/cases/compiler/assignmentToFunction.ts | |
../TypeScript/tests/cases/compiler/assignmentToObject.ts | |
../TypeScript/tests/cases/compiler/assignmentToObjectAndFunction.ts | |
../TypeScript/tests/cases/compiler/assignmentToParenthesizedExpression1.ts | |
../TypeScript/tests/cases/compiler/assignmentToReferenceTypes.ts | |
../TypeScript/tests/cases/compiler/assignToEnum.ts | |
../TypeScript/tests/cases/compiler/assignToExistingClass.ts | |
../TypeScript/tests/cases/compiler/assignToFn.ts | |
../TypeScript/tests/cases/compiler/assignToInvalidLHS.ts | |
../TypeScript/tests/cases/compiler/assignToModule.ts | |
../TypeScript/tests/cases/compiler/assignToObjectTypeWithPrototypeProperty.ts | |
../TypeScript/tests/cases/compiler/assignToPrototype1.ts | |
../TypeScript/tests/cases/compiler/asyncAwaitWithCapturedBlockScopeVar.ts | |
../TypeScript/tests/cases/compiler/asyncFunctionNoReturnType.ts | |
../TypeScript/tests/cases/compiler/asyncFunctionReturnType.ts | |
../TypeScript/tests/cases/compiler/asyncFunctionsAcrossFiles.ts | |
../TypeScript/tests/cases/compiler/asyncFunctionsAndStrictNullChecks.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -774,12 +774,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -913,12 +906,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,25 +3,44 @@ | |
declare namespace Windows.Foundation { | |
- interface IPromise<TResult> { | |
- then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>; | |
- then<U>(success?: (value: TResult) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>; | |
- then<U>(success?: (value: TResult) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void): IPromise<U>; | |
- then<U>(success?: (value: TResult) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>; | |
- done<U>(success?: (value: TResult) => any, error?: (error: any) => any, progress?: (progress: any) => void): void; | |
+ interface IPromise<TResult> { | |
+ then<U>( | |
+ success?: (value: TResult) => IPromise<U>, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): IPromise<U>, | |
+ then<U>( | |
+ success?: (value: TResult) => IPromise<U>, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): IPromise<U>, | |
+ then<U>( | |
+ success?: (value: TResult) => U, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): IPromise<U>, | |
+ then<U>( | |
+ success?: (value: TResult) => U, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): IPromise<U>, | |
+ done<U>( | |
+ success?: (value: TResult) => any, | |
+ error?: (error: any) => any, | |
+ progress?: (progress: any) => void | |
+ ): void, | |
- cancel(): void; | |
- } | |
+ cancel(): void | |
+ } | |
} | |
-async function sample(promise: Windows.Foundation.IPromise<number>) { | |
- var number = await promise; | |
+async function sample(promise: undefined.IPromise<number>) { | |
+ var number = await promise; | |
} | |
+declare function resolve1<T>(value: T): Promise<T> | |
+declare function resolve2<T>(value: T): undefined.IPromise<T> | |
-declare function resolve1<T>(value: T): Promise<T>; | |
-declare function resolve2<T>(value: T): Windows.Foundation.IPromise<T>; | |
- | |
async function sample2(x?: number) { | |
- let x1 = await resolve1(x); | |
- let x2 = await resolve2(x); | |
+ let x1 = await resolve1(x); | |
+ let x2 = await resolve2(x); | |
} | |
../TypeScript/tests/cases/compiler/asyncFunctionWithForStatementNoInitializer.ts | |
../TypeScript/tests/cases/compiler/asyncIIFE.ts | |
../TypeScript/tests/cases/compiler/augmentArray.ts | |
../TypeScript/tests/cases/compiler/augmentedClassWithPrototypePropertyOnModule.ts | |
../TypeScript/tests/cases/compiler/augmentedTypeBracketNamedPropertyAccess.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesClass.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesClass2.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesClass2a.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesClass3.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesClass4.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesEnum.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesEnum2.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesEnum3.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesExternalModule1.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesFunction.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesInterface.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesModules.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesModules2.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesModules3.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesModules3b.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesModules4.ts | |
../TypeScript/tests/cases/compiler/augmentedTypesVar.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals1_1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals2.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals2_1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals3.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals3_1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals4.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals4_1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals5.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -355,14 +355,5 @@ | |
"type": "Identifier", | |
"name": "IRouter" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "Router" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -752,14 +743,5 @@ | |
"type": "Identifier", | |
"name": "IRouter" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "Application" | |
- } | |
- } | |
- ] | |
+ } | |
}, | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,66 +3,65 @@ | |
// @filename: express.d.ts | |
-declare module Express { | |
- export interface Request { } | |
- export interface Response { } | |
- export interface Application { } | |
+declare namespace Express { | |
+ export interface Request {} | |
+ export interface Response {} | |
+ export interface Application {} | |
} | |
declare module "express" { | |
- function e(): e.Express; | |
- namespace e { | |
- interface IRoute { | |
- all(...handler: RequestHandler[]): IRoute; | |
- } | |
+ function e(): e.Express | |
+ namespace e { | |
+ interface IRoute { | |
+ all(...handler: RequestHandler[]): IRoute | |
+ } | |
- interface IRouterMatcher<T> { | |
- (name: string|RegExp, ...handlers: RequestHandler[]): T; | |
- } | |
+ interface IRouterMatcher<T> { | |
+ (name: string | RegExp, ...handlers: RequestHandler[]): T | |
+ } | |
- interface IRouter<T> extends RequestHandler { | |
- route(path: string): IRoute; | |
- } | |
+ interface IRouter<T> extends RequestHandler { | |
+ route(path: string): IRoute | |
+ } | |
- export function Router(options?: any): Router; | |
+ export function Router(options?: any): Router | |
- export interface Router extends IRouter<Router> {} | |
+ export interface Router extends IRouter {} | |
- interface Errback { (err: Error): void; } | |
+ interface Errback { (err: Error): void } | |
- interface Request extends Express.Request { | |
+ interface Request extends Express.Request { | |
+ get(name: string): string | |
+ } | |
- get (name: string): string; | |
- } | |
+ interface Response extends Express.Response { | |
+ charset: string | |
+ } | |
- interface Response extends Express.Response { | |
- charset: string; | |
- } | |
+ interface ErrorRequestHandler { | |
+ (err: any, req: Request, res: Response, next: Function): any | |
+ } | |
- interface ErrorRequestHandler { | |
- (err: any, req: Request, res: Response, next: Function): any; | |
- } | |
+ interface RequestHandler { | |
+ (req: Request, res: Response, next: Function): any | |
+ } | |
- interface RequestHandler { | |
- (req: Request, res: Response, next: Function): any; | |
- } | |
+ interface Handler extends RequestHandler {} | |
- interface Handler extends RequestHandler {} | |
+ interface RequestParamHandler { | |
+ (req: Request, res: Response, next: Function, param: any): any | |
+ } | |
- interface RequestParamHandler { | |
- (req: Request, res: Response, next: Function, param: any): any; | |
- } | |
+ interface Application extends IRouter, Express.Application { | |
+ routes: any | |
+ } | |
- interface Application extends IRouter<Application>, Express.Application { | |
- routes: any; | |
- } | |
+ interface Express extends Application { | |
+ createApplication(): Application | |
+ } | |
- interface Express extends Application { | |
- createApplication(): Application; | |
- } | |
+ var static: any; | |
+ } | |
- var static: any; | |
- } | |
- | |
- export = e; | |
+ export default e; | |
} | |
@@ -71,7 +70,7 @@ | |
import * as e from "express"; | |
declare module "express" { | |
- interface Request { | |
- id: number; | |
- } | |
+ interface Request { | |
+ id: number | |
+ } | |
} | |
@@ -80,3 +79,3 @@ | |
import "./augmentation"; | |
let x: Request; | |
-const y = x.id; | |
\ No newline at end of file | |
+const y = x.id; | |
../TypeScript/tests/cases/compiler/augmentExportEquals6.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals6_1.ts | |
../TypeScript/tests/cases/compiler/augmentExportEquals7.ts | |
../TypeScript/tests/cases/compiler/autoAsiForStaticsInClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/autoLift2.ts | |
../TypeScript/tests/cases/compiler/autoLift2.ts: { index: 51, | |
lineNumber: 5, | |
column: 16, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/autolift3.ts | |
../TypeScript/tests/cases/compiler/autolift4.ts | |
../TypeScript/tests/cases/compiler/autonumberingInEnums.ts | |
../TypeScript/tests/cases/compiler/avoid.ts | |
../TypeScript/tests/cases/compiler/badArrayIndex.ts | |
../TypeScript/tests/cases/compiler/badArraySyntax.ts | |
../TypeScript/tests/cases/compiler/badExternalModuleReference.ts | |
../TypeScript/tests/cases/compiler/badOverloadError.ts | |
../TypeScript/tests/cases/compiler/badOverloadError.ts: { index: 42, | |
lineNumber: 2, | |
column: 21, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/badThisBinding.ts | |
../TypeScript/tests/cases/compiler/bangInModuleName.ts | |
../TypeScript/tests/cases/compiler/baseCheck.ts | |
../TypeScript/tests/cases/compiler/baseConstraintOfDecorator.ts | |
../TypeScript/tests/cases/compiler/baseIndexSignatureResolution.ts | |
../TypeScript/tests/cases/compiler/baseIndexSignatureResolution.ts: { index: 215, | |
lineNumber: 12, | |
column: 22, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/bases.ts | |
../TypeScript/tests/cases/compiler/bases.ts: { index: 74, | |
lineNumber: 7, | |
column: 14, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/baseTypeAfterDerivedType.ts | |
../TypeScript/tests/cases/compiler/baseTypeOrderChecking.ts | |
../TypeScript/tests/cases/compiler/baseTypePrivateMemberClash.ts | |
../TypeScript/tests/cases/compiler/baseTypeWrappingInstantiationChain.ts | |
../TypeScript/tests/cases/compiler/bestChoiceType.ts | |
../TypeScript/tests/cases/compiler/bestCommonTypeReturnStatement.ts | |
../TypeScript/tests/cases/compiler/bestCommonTypeWithContextualTyping.ts | |
../TypeScript/tests/cases/compiler/bestCommonTypeWithOptionalProperties.ts | |
../TypeScript/tests/cases/compiler/binaryArithmatic1.ts | |
../TypeScript/tests/cases/compiler/binaryArithmatic2.ts | |
../TypeScript/tests/cases/compiler/binaryArithmatic3.ts | |
../TypeScript/tests/cases/compiler/binaryArithmatic4.ts | |
../TypeScript/tests/cases/compiler/bind1.ts | |
../TypeScript/tests/cases/compiler/bind2.ts | |
../TypeScript/tests/cases/compiler/bindingPatternInParameter01.ts | |
../TypeScript/tests/cases/compiler/binopAssignmentShouldHaveType.ts | |
../TypeScript/tests/cases/compiler/bitwiseCompoundAssignmentOperators.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingCaptureThisInFunction.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsInDownlevelGenerator.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop1.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop2.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop3.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop4.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop5.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingsReassignedInLoop6.ts | |
../TypeScript/tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationES5.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationES6.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationInStrictClass.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationInStrictModule.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationStrictES5.ts | |
../TypeScript/tests/cases/compiler/blockScopedFunctionDeclarationStrictES6.ts | |
../TypeScript/tests/cases/compiler/blockScopedSameNameFunctionDeclarationES5.ts | |
../TypeScript/tests/cases/compiler/blockScopedSameNameFunctionDeclarationES6.ts | |
../TypeScript/tests/cases/compiler/blockScopedSameNameFunctionDeclarationStrictES5.ts | |
../TypeScript/tests/cases/compiler/blockScopedSameNameFunctionDeclarationStrictES6.ts | |
../TypeScript/tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts | |
../TypeScript/tests/cases/compiler/bluebirdStaticThis.ts | |
../TypeScript/tests/cases/compiler/bom-utf16be.ts | |
../TypeScript/tests/cases/compiler/bom-utf16be.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/bom-utf16le.ts | |
../TypeScript/tests/cases/compiler/bom-utf16le.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/bom-utf8.ts | |
../TypeScript/tests/cases/compiler/booleanAssignment.ts | |
../TypeScript/tests/cases/compiler/breakInIterationOrSwitchStatement1.ts | |
../TypeScript/tests/cases/compiler/breakInIterationOrSwitchStatement2.ts | |
../TypeScript/tests/cases/compiler/breakInIterationOrSwitchStatement3.ts | |
../TypeScript/tests/cases/compiler/breakInIterationOrSwitchStatement4.ts | |
../TypeScript/tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts | |
../TypeScript/tests/cases/compiler/breakNotInIterationOrSwitchStatement2.ts | |
../TypeScript/tests/cases/compiler/breakTarget1.ts | |
../TypeScript/tests/cases/compiler/breakTarget2.ts | |
../TypeScript/tests/cases/compiler/breakTarget3.ts | |
../TypeScript/tests/cases/compiler/breakTarget4.ts | |
../TypeScript/tests/cases/compiler/breakTarget5.ts | |
../TypeScript/tests/cases/compiler/breakTarget6.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution1.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution2.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution3.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution4.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution5.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution6.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution7.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution8.ts | |
../TypeScript/tests/cases/compiler/cachedModuleResolution9.ts | |
../TypeScript/tests/cases/compiler/cacheResolutions.ts | |
../TypeScript/tests/cases/compiler/callbackArgsDifferByOptionality.ts | |
../TypeScript/tests/cases/compiler/callbacksDontShareTypes.ts | |
../TypeScript/tests/cases/compiler/callConstructAssignment.ts | |
../TypeScript/tests/cases/compiler/callExpressionWithMissingTypeArgument1.ts | |
../TypeScript/tests/cases/compiler/callExpressionWithMissingTypeArgument1.ts: { index: 6, lineNumber: 1, column: 6, message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts | |
../TypeScript/tests/cases/compiler/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts: { index: 22, | |
lineNumber: 2, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/callOnClass.ts | |
../TypeScript/tests/cases/compiler/callOnInstance.ts | |
../TypeScript/tests/cases/compiler/callOverloads1.ts | |
../TypeScript/tests/cases/compiler/callOverloads2.ts | |
../TypeScript/tests/cases/compiler/callOverloads3.ts | |
../TypeScript/tests/cases/compiler/callOverloads4.ts | |
../TypeScript/tests/cases/compiler/callOverloads5.ts | |
../TypeScript/tests/cases/compiler/callOverloadViaElementAccessExpression.ts | |
../TypeScript/tests/cases/compiler/callSignatureFunctionOverload.ts | |
../TypeScript/tests/cases/compiler/callSignaturesShouldBeResolvedBeforeSpecialization.ts | |
../TypeScript/tests/cases/compiler/callWithWrongNumberOfTypeArguments.ts | |
../TypeScript/tests/cases/compiler/cannotInvokeNewOnErrorExpression.ts | |
../TypeScript/tests/cases/compiler/cannotInvokeNewOnIndexExpression.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop1.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop10.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop10_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop11.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop11_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop12.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop13.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop1_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop2.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop2_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop3.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop3_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop4.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop4_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop5.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop5_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop6_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop7.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop7_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop8.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop8_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop9.ts | |
../TypeScript/tests/cases/compiler/capturedLetConstInLoop9_ES6.ts | |
../TypeScript/tests/cases/compiler/capturedParametersInInitializers1.ts | |
../TypeScript/tests/cases/compiler/capturedParametersInInitializers1.ts: { index: 231, | |
lineNumber: 13, | |
column: 24, | |
message: 'JSX element \'typeof\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/capturedParametersInInitializers2.ts | |
../TypeScript/tests/cases/compiler/captureSuperPropertyAccessInSuperCall01.ts | |
../TypeScript/tests/cases/compiler/captureThisInSuperCall.ts | |
../TypeScript/tests/cases/compiler/castExpressionParentheses.ts | |
../TypeScript/tests/cases/compiler/castExpressionParentheses.ts: { index: 73, | |
lineNumber: 5, | |
column: 8, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/castNewObjectBug.ts | |
../TypeScript/tests/cases/compiler/castNewObjectBug.ts: { index: 29, | |
lineNumber: 2, | |
column: 10, | |
message: 'JSX element \'Foo\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/castOfAwait.ts | |
../TypeScript/tests/cases/compiler/castOfAwait.ts: { index: 134, | |
lineNumber: 6, | |
column: 32, | |
message: 'JSX element \'number\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/castOfYield.ts | |
../TypeScript/tests/cases/compiler/castOfYield.ts: { index: 130, | |
lineNumber: 4, | |
column: 5, | |
message: 'JSX element \'number\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/castParentheses.ts | |
../TypeScript/tests/cases/compiler/castParentheses.ts: { index: 183, | |
lineNumber: 11, | |
column: 10, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/castTest.ts | |
../TypeScript/tests/cases/compiler/castTest.ts: { index: 136, | |
lineNumber: 10, | |
column: 13, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/catch.ts | |
../TypeScript/tests/cases/compiler/catchClauseWithInitializer1.ts | |
../TypeScript/tests/cases/compiler/catchClauseWithTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/cf.ts | |
../TypeScript/tests/cases/compiler/chainedAssignment1.ts | |
../TypeScript/tests/cases/compiler/chainedAssignment2.ts | |
../TypeScript/tests/cases/compiler/chainedAssignment3.ts | |
../TypeScript/tests/cases/compiler/chainedAssignmentChecking.ts | |
../TypeScript/tests/cases/compiler/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts | |
../TypeScript/tests/cases/compiler/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts | |
../TypeScript/tests/cases/compiler/chainedImportAlias.ts | |
../TypeScript/tests/cases/compiler/chainedSpecializationToObjectTypeLiteral.ts | |
../TypeScript/tests/cases/compiler/checkForObjectTooStrict.ts | |
../TypeScript/tests/cases/compiler/checkInfiniteExpansionTermination.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -74,14 +74,5 @@ | |
"type": "Identifier", | |
"name": "IObservable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,9 +3,9 @@ | |
interface IObservable<T> { | |
- n: IObservable<T[]>; // Needed, must be T[] | |
+ n: IObservable<T[]> // Needed, must be T[] | |
} | |
// Needed | |
-interface ISubject<T> extends IObservable<T> { } | |
+interface ISubject<T> extends IObservable {} | |
interface Foo { x } | |
../TypeScript/tests/cases/compiler/checkInfiniteExpansionTermination2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -74,14 +74,5 @@ | |
"type": "Identifier", | |
"name": "IObservable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,14 +3,14 @@ | |
interface IObservable<T> { | |
- n: IObservable<T[]>; | |
+ n: IObservable<T[]> | |
} | |
-interface ISubject<T> extends IObservable<T> { } | |
+interface ISubject<T> extends IObservable {} | |
-declare function combineLatest<TOther>(x: IObservable<TOther>[]): void; | |
-declare function combineLatest(): void; | |
+declare function combineLatest<TOther>(x: IObservable<TOther>[]): void | |
+declare function combineLatest(): void | |
function fn<T>() { | |
- var values: ISubject<any>[] = []; | |
- // Hang when using <T>, but not <any> | |
- combineLatest<T>(values); | |
+ var values: ISubject<any>[] = []; | |
+ // Hang when using <T>, but not <any> | |
+ combineLatest<T>(values); | |
} | |
../TypeScript/tests/cases/compiler/checkInterfaceBases.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles2.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles3.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles4.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles5.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles6.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles_noErrorLocation.ts | |
../TypeScript/tests/cases/compiler/checkJsFiles_skipDiagnostics.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing1.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing2.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing3.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing4.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing5.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing6.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing7.ts | |
../TypeScript/tests/cases/compiler/checkSuperCallBeforeThisAccessing8.ts | |
../TypeScript/tests/cases/compiler/checkSwitchStatementIfCaseTypeIsString.ts | |
../TypeScript/tests/cases/compiler/circularInferredTypeOfVariable.ts | |
../TypeScript/tests/cases/compiler/circularModuleImports.ts | |
../TypeScript/tests/cases/compiler/circularObjectLiteralAccessors.ts | |
../TypeScript/tests/cases/compiler/circularReferenceInImport.ts | |
../TypeScript/tests/cases/compiler/circularTypeofWithFunctionModule.ts | |
../TypeScript/tests/cases/compiler/class2.ts | |
../TypeScript/tests/cases/compiler/class2.ts: { index: 28, | |
lineNumber: 1, | |
column: 28, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/classCannotExtendVar.ts | |
../TypeScript/tests/cases/compiler/classdecl.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration10.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration11.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration13.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration14.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration15.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration21.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration22.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "foo" | |
+ "type": "Identifier", | |
+ "name": "foo" | |
}, | |
"value": { | |
@@ -35,6 +35,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "bar" | |
+ "type": "Identifier", | |
+ "name": "bar" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,4 @@ | |
class C { | |
- "foo"(); | |
- "bar"() { } | |
-} | |
\ No newline at end of file | |
+ foo(); | |
+ bar() {} | |
+} | |
../TypeScript/tests/cases/compiler/ClassDeclaration24.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration25.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration26.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration26.ts: { index: 32, | |
lineNumber: 2, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/ClassDeclaration8.ts | |
../TypeScript/tests/cases/compiler/ClassDeclaration9.ts | |
../TypeScript/tests/cases/compiler/classDeclarationBlockScoping1.ts | |
../TypeScript/tests/cases/compiler/classDeclarationBlockScoping2.ts | |
../TypeScript/tests/cases/compiler/classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/classDeclarationCheckUsedBeforeDefinitionInItself.ts | |
../TypeScript/tests/cases/compiler/classDeclarationMergedInModuleWithContinuation.ts | |
../TypeScript/tests/cases/compiler/ClassDeclarationWithInvalidConstOnPropertyDeclaration.ts | |
../TypeScript/tests/cases/compiler/ClassDeclarationWithInvalidConstOnPropertyDeclaration2.ts | |
../TypeScript/tests/cases/compiler/classDeclaredBeforeClassFactory.ts | |
../TypeScript/tests/cases/compiler/classExpressionExtendingAbstractClass.ts | |
../TypeScript/tests/cases/compiler/classExpressions.ts | |
../TypeScript/tests/cases/compiler/classExpressionTest1.ts | |
../TypeScript/tests/cases/compiler/classExpressionTest2.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithDecorator1.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithDecorator1.ts: { index: 42, | |
lineNumber: 2, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/classExpressionWithResolutionOfNamespaceOfSameName01.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticProperties1.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticProperties2.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticProperties3.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticPropertiesES61.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticPropertiesES62.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticPropertiesES63.ts | |
../TypeScript/tests/cases/compiler/classExpressionWithStaticPropertiesES64.ts | |
../TypeScript/tests/cases/compiler/classExtendingQualifiedName.ts | |
../TypeScript/tests/cases/compiler/classExtendingQualifiedName2.ts | |
../TypeScript/tests/cases/compiler/classExtendsAcrossFiles.ts | |
../TypeScript/tests/cases/compiler/classExtendsClauseClassMergedWithModuleNotReferingConstructor.ts | |
../TypeScript/tests/cases/compiler/classExtendsClauseClassNotReferringConstructor.ts | |
../TypeScript/tests/cases/compiler/classExtendsInterface.ts | |
../TypeScript/tests/cases/compiler/classExtendsInterfaceInExpression.ts | |
../TypeScript/tests/cases/compiler/classExtendsInterfaceInModule.ts | |
../TypeScript/tests/cases/compiler/classExtendsInterfaceThatExtendsClassWithPrivates1.ts | |
../TypeScript/tests/cases/compiler/classExtendsMultipleBaseClasses.ts | |
../TypeScript/tests/cases/compiler/classExtendsNull.ts | |
../TypeScript/tests/cases/compiler/classHeritageWithTrailingSeparator.ts | |
../TypeScript/tests/cases/compiler/classImplementingInterfaceIndexer.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass1.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass2.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass3.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass4.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass5.ts | |
../TypeScript/tests/cases/compiler/classImplementsClass6.ts | |
../TypeScript/tests/cases/compiler/classImplementsImportedInterface.ts | |
../TypeScript/tests/cases/compiler/classIndexer.ts | |
../TypeScript/tests/cases/compiler/classIndexer2.ts | |
../TypeScript/tests/cases/compiler/classIndexer3.ts | |
../TypeScript/tests/cases/compiler/classIndexer4.ts | |
../TypeScript/tests/cases/compiler/classInheritence.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerScoping.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerWithLamdaScoping.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerWithLamdaScoping2.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerWithLamdaScoping3.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerWithLamdaScoping4.ts | |
../TypeScript/tests/cases/compiler/classMemberInitializerWithLamdaScoping5.ts | |
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier.ts | |
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier.ts: { index: 22, | |
lineNumber: 2, | |
column: 10, | |
message: 'Declaration expected.' } | |
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier2.ts | |
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier2.ts: { index: 22, | |
lineNumber: 2, | |
column: 10, | |
message: 'Declaration expected.' } | |
../TypeScript/tests/cases/compiler/classMethodWithKeywordName1.ts | |
../TypeScript/tests/cases/compiler/classOrder1.ts | |
../TypeScript/tests/cases/compiler/classOrder2.ts | |
../TypeScript/tests/cases/compiler/classOrderBug.ts | |
../TypeScript/tests/cases/compiler/classOverloadForFunction.ts | |
../TypeScript/tests/cases/compiler/classOverloadForFunction2.ts | |
../TypeScript/tests/cases/compiler/classSideInheritance1.ts | |
../TypeScript/tests/cases/compiler/classSideInheritance2.ts | |
../TypeScript/tests/cases/compiler/classSideInheritance3.ts | |
../TypeScript/tests/cases/compiler/classStaticPropertyTypeGuard.ts | |
../TypeScript/tests/cases/compiler/classTypeParametersInStatics.ts | |
../TypeScript/tests/cases/compiler/classUpdateTests.ts | |
../TypeScript/tests/cases/compiler/classUpdateTests.ts: { index: 1344, | |
lineNumber: 93, | |
column: 2, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/classWithDuplicateIdentifier.ts | |
../TypeScript/tests/cases/compiler/classWithEmptyTypeParameter.ts | |
../TypeScript/tests/cases/compiler/classWithMultipleBaseClasses.ts | |
../TypeScript/tests/cases/compiler/classWithOverloadImplementationOfWrongName.ts | |
../TypeScript/tests/cases/compiler/classWithOverloadImplementationOfWrongName2.ts | |
../TypeScript/tests/cases/compiler/clinterfaces.ts | |
../TypeScript/tests/cases/compiler/cloduleAcrossModuleDefinitions.ts | |
../TypeScript/tests/cases/compiler/cloduleAndTypeParameters.ts | |
../TypeScript/tests/cases/compiler/clodulesDerivedClasses.ts | |
../TypeScript/tests/cases/compiler/cloduleSplitAcrossFiles.ts | |
../TypeScript/tests/cases/compiler/cloduleStaticMembers.ts | |
../TypeScript/tests/cases/compiler/cloduleTest1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
export interface AjaxSettings {} | |
+ | |
export function ajax(options: AjaxSettings) { | |
} | |
../TypeScript/tests/cases/compiler/cloduleTest2.ts | |
../TypeScript/tests/cases/compiler/cloduleWithDuplicateMember1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -17,4 +17,5 @@ | |
} | |
+ | |
export function x() { | |
} | |
../TypeScript/tests/cases/compiler/cloduleWithDuplicateMember2.ts | |
../TypeScript/tests/cases/compiler/cloduleWithPriorInstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/cloduleWithPriorUninstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/cloduleWithRecursiveReference.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsArrowFunctions.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsClassConstructor.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsClassMethod.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsFunction.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsFunctionExpressions.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts | |
../TypeScript/tests/cases/compiler/collisionArgumentsInType.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenEnumWithEnumMemberConflict.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithAccessorChildren.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithConstructorChildren.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithEnumMemberConflict.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithFunctionChildren.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithMemberClassConflict.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithMemberInterfaceConflict.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithMemberVariable.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithMethodChildren.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithModuleChildren.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithModuleReopening.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithPrivateMember.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithUnicodeNames.ts | |
../TypeScript/tests/cases/compiler/collisionCodeGenModuleWithUnicodeNames.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAlias.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientClass.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientEnum.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientFunction.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientFunctionInGlobalFile.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientModule.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndAmbientVar.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndClass.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndEnum.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndFunction.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,4 +20,5 @@ | |
} | |
+ | |
export function require() { | |
return "require"; | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndFunctionInGlobalFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -19,4 +19,5 @@ | |
} | |
+ | |
export function require() { | |
return "require"; | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndInternalModuleAlias.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndInternalModuleAliasInGlobalFile.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndModule.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndUninstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/collisionExportsRequireAndVar.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterArrowFunctions.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterClassConstructor.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterClassMethod.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterFunction.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterFunctionExpressions.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterInterfaceMembers.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterInType.ts | |
../TypeScript/tests/cases/compiler/collisionRestParameterUnderscoreIUsage.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalFunctionInAccessors.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalFunctionInConstructor.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalFunctionInMethod.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalFunctionInProperty.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalVarInAccessors.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalVarInConstructor.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalVarInMethod.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndLocalVarInProperty.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndNameResolution.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndParameter.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndParameter1.ts | |
../TypeScript/tests/cases/compiler/collisionSuperAndPropertyNameAsConstuctorParameter.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndAliasInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndAmbientClassInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndAmbientVarInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndClassInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndEnumInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndFunctionInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInAccessors.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInConstructor.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInFunction.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInLambda.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInMethod.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarInProperty.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndLocalVarWithSuperExperssion.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndModuleInGlobal.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndNameResolution.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndParameter.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndPropertyNameAsConstuctorParameter.ts | |
../TypeScript/tests/cases/compiler/collisionThisExpressionAndVarInGlobal.ts | |
../TypeScript/tests/cases/compiler/commaOperator1.ts | |
../TypeScript/tests/cases/compiler/commaOperatorInConditionalExpression.ts | |
../TypeScript/tests/cases/compiler/commaOperatorLeftSideUnused.ts | |
../TypeScript/tests/cases/compiler/commentBeforeStaticMethod1.ts | |
../TypeScript/tests/cases/compiler/commentEmitAtEndOfFile1.ts | |
../TypeScript/tests/cases/compiler/commentEmitWithCommentOnLastLine.ts | |
../TypeScript/tests/cases/compiler/commentInEmptyParameterList1.ts | |
../TypeScript/tests/cases/compiler/commentInMethodCall.ts | |
../TypeScript/tests/cases/compiler/commentInNamespaceDeclarationWithIdentifierPathName.ts | |
../TypeScript/tests/cases/compiler/commentInNamespaceDeclarationWithIdentifierPathName.ts: TypeError: parent.body.filter is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/commentLeadingCloseBrace.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientClass1.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientEnum.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientfunction.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientModule.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientVariable1.ts | |
../TypeScript/tests/cases/compiler/commentOnAmbientVariable2.ts | |
../TypeScript/tests/cases/compiler/commentOnArrayElement1.ts | |
../TypeScript/tests/cases/compiler/commentOnArrayElement2.ts | |
../TypeScript/tests/cases/compiler/commentOnArrayElement3.ts | |
../TypeScript/tests/cases/compiler/commentOnBlock1.ts | |
../TypeScript/tests/cases/compiler/commentOnClassAccessor1.ts | |
../TypeScript/tests/cases/compiler/commentOnClassAccessor2.ts | |
../TypeScript/tests/cases/compiler/commentOnClassMethod1.ts | |
../TypeScript/tests/cases/compiler/commentOnDecoratedClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/commentOnDecoratedClassDeclaration.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/commentOnElidedModule1.ts | |
../TypeScript/tests/cases/compiler/commentOnExportEnumDeclaration.ts | |
../TypeScript/tests/cases/compiler/commentOnExpressionStatement1.ts | |
../TypeScript/tests/cases/compiler/commentOnIfStatement1.ts | |
../TypeScript/tests/cases/compiler/commentOnImportStatement1.ts | |
../TypeScript/tests/cases/compiler/commentOnImportStatement2.ts | |
../TypeScript/tests/cases/compiler/commentOnImportStatement3.ts | |
../TypeScript/tests/cases/compiler/commentOnInterface1.ts | |
../TypeScript/tests/cases/compiler/commentOnParameter1.ts | |
../TypeScript/tests/cases/compiler/commentOnParameter2.ts | |
../TypeScript/tests/cases/compiler/commentOnParameter3.ts | |
../TypeScript/tests/cases/compiler/commentOnParenthesizedExpressionOpenParen1.ts | |
../TypeScript/tests/cases/compiler/commentOnParenthesizedExpressionOpenParen1.ts: { index: 28, | |
lineNumber: 3, | |
column: 1, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/commentOnSignature1.ts | |
../TypeScript/tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts | |
../TypeScript/tests/cases/compiler/commentOnStaticMember1.ts | |
../TypeScript/tests/cases/compiler/commentsAfterFunctionExpression1.ts | |
../TypeScript/tests/cases/compiler/commentsArgumentsOfCallExpression1.ts | |
../TypeScript/tests/cases/compiler/commentsArgumentsOfCallExpression2.ts | |
../TypeScript/tests/cases/compiler/commentsAtEndOfFile1.ts | |
../TypeScript/tests/cases/compiler/commentsBeforeFunctionExpression1.ts | |
../TypeScript/tests/cases/compiler/commentsBeforeVariableStatement1.ts | |
../TypeScript/tests/cases/compiler/commentsClass.ts | |
../TypeScript/tests/cases/compiler/commentsClassMembers.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -48,5 +48,5 @@ | |
static set s3(/** this is value*/ value: number) { | |
c1.s1 = c1.s2(value); | |
- } /*setter*/ /*trailing comment 2 */ | |
+ } /*trailing comment 2 */ /*setter*/ | |
public nc_p1: number; | |
public nc_p2(b: number) { | |
../TypeScript/tests/cases/compiler/commentsCommentParsing.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -38,18 +38,15 @@ | |
/// Triple slash comment | |
/** jsdoc comment */ function jsDocMixedComments2() {} | |
-jsDocMixedComments2(); /*** another jsDocComment*/ | |
+jsDocMixedComments2(); /*** another jsDocComment*/ /// Triple slash comment | |
-/** jsdoc comment */ /// Triple slash comment | |
-function jsDocMixedComments3() {} | |
-jsDocMixedComments3(); /*** another jsDocComment*/ | |
+/** jsdoc comment */ function jsDocMixedComments3() {} | |
+jsDocMixedComments3(); /*** another jsDocComment*/ /// Triple slash comment | |
-/** jsdoc comment */ /// Triple slash comment | |
-/// Triple slash comment 2 | |
+/** jsdoc comment */ /// Triple slash comment 2 | |
function jsDocMixedComments4() {} | |
-jsDocMixedComments4(); /*** another jsDocComment*/ | |
+jsDocMixedComments4(); /*** another jsDocComment*/ /// Triple slash comment | |
/// Triple slash comment 1 | |
-/** jsdoc comment */ /// Triple slash comment | |
-/// Triple slash comment 2 | |
+/** jsdoc comment */ /// Triple slash comment 2 | |
function jsDocMixedComments5() {} | |
jsDocMixedComments5(); | |
../TypeScript/tests/cases/compiler/commentsdoNotEmitComments.ts | |
../TypeScript/tests/cases/compiler/commentsDottedModuleName.ts | |
../TypeScript/tests/cases/compiler/commentsemitComments.ts | |
../TypeScript/tests/cases/compiler/commentsEnums.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,7 +4,6 @@ | |
/** Enum of colors*/ | |
-enum Colors /* blue */ { Cornflower, FancyPink } | |
+enum Colors /* blue */ { Cornflower, FancyPink } // trailing comment | |
/** Fancy name for 'blue'*/ | |
-/** Fancy name for 'pink'*/ // trailing comment | |
-var x = Colors.Cornflower; | |
+/** Fancy name for 'pink'*/ var x = Colors.Cornflower; | |
x = Colors.FancyPink; | |
../TypeScript/tests/cases/compiler/commentsExternalModules.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,4 +22,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
@@ -48,4 +49,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
../TypeScript/tests/cases/compiler/commentsExternalModules2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,4 +22,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
@@ -48,4 +49,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
../TypeScript/tests/cases/compiler/commentsExternalModules3.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,4 +22,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
@@ -48,4 +49,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
../TypeScript/tests/cases/compiler/commentsFormatting.ts | |
../TypeScript/tests/cases/compiler/commentsFunction.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -40,5 +40,5 @@ | |
function blah2( | |
- a: string /* single line multiple trailing comments */ /* second */ | |
+ a: string /* second */ /* single line multiple trailing comments */ | |
) {} | |
../TypeScript/tests/cases/compiler/commentsInheritance.ts | |
../TypeScript/tests/cases/compiler/commentsInterface.ts | |
../TypeScript/tests/cases/compiler/commentsInterface.ts: Error: Comment "*param help" was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/compiler/commentsModules.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -29,4 +29,5 @@ | |
} | |
+ | |
export function fooExport() { | |
return foo(); | |
../TypeScript/tests/cases/compiler/commentsMultiModuleMultiFile.ts | |
../TypeScript/tests/cases/compiler/commentsMultiModuleSingleFile.ts | |
../TypeScript/tests/cases/compiler/commentsOnObjectLiteral1.ts | |
../TypeScript/tests/cases/compiler/commentsOnObjectLiteral2.ts | |
../TypeScript/tests/cases/compiler/commentsOnObjectLiteral3.ts | |
../TypeScript/tests/cases/compiler/commentsOnObjectLiteral4.ts | |
../TypeScript/tests/cases/compiler/commentsOnPropertyOfObjectLiteral1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,8 +3,8 @@ | |
id1: /* c1 */ "hello", | |
id2: /*! @ngInject */ (details: any) => details.id, | |
- id3: /*! @ngInject */ | |
- (details: any) => details.id, | |
- id4: /*! @ngInject */ | |
- /* C2 */ | |
+ /*! @ngInject */ | |
+ id3: (details: any) => details.id, | |
+ /*! @ngInject */ | |
+ id4: /* C2 */ | |
(details: any) => details.id | |
}; | |
../TypeScript/tests/cases/compiler/commentsOnRequireStatement.ts | |
../TypeScript/tests/cases/compiler/commentsOnReturnStatement1.ts | |
../TypeScript/tests/cases/compiler/commentsOnStaticMembers.ts | |
../TypeScript/tests/cases/compiler/commentsOverloads.ts | |
../TypeScript/tests/cases/compiler/commentsPropertySignature1.ts | |
../TypeScript/tests/cases/compiler/commentsTypeParameters.ts | |
../TypeScript/tests/cases/compiler/commentsTypeParameters.ts: Error: Comment "*type" was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/compiler/commentsVarDecl.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,5 +14,5 @@ | |
/** this is multiline comment | |
* All these variables are of number type */ | |
-var anotherAnotherVariable = 70; /* multiple trailing comments */ /* these are multiple trailing comments */ | |
+var anotherAnotherVariable = 70; /* these are multiple trailing comments */ /* multiple trailing comments */ | |
/** Triple slash multiline comment*/ | |
../TypeScript/tests/cases/compiler/commentsVariableStatement1.ts | |
../TypeScript/tests/cases/compiler/commonjsSafeImport.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir1.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir2.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir3.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir4.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir5.ts | |
../TypeScript/tests/cases/compiler/commonSourceDir6.ts | |
../TypeScript/tests/cases/compiler/commonSourceDirectory.ts | |
../TypeScript/tests/cases/compiler/commonSourceDirectory.ts: { index: 540, | |
lineNumber: 22, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/commonSourceDirectory_dts.ts | |
../TypeScript/tests/cases/compiler/commonSourceDirectory_dts.ts: { index: 415, | |
lineNumber: 15, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/compilerOptionsDeclarationAndNoEmit.ts | |
../TypeScript/tests/cases/compiler/compilerOptionsOutAndNoEmit.ts | |
../TypeScript/tests/cases/compiler/compilerOptionsOutDirAndNoEmit.ts | |
../TypeScript/tests/cases/compiler/compilerOptionsOutFileAndNoEmit.ts | |
../TypeScript/tests/cases/compiler/complexClassRelationships.ts | |
../TypeScript/tests/cases/compiler/complexNarrowingWithAny.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -75,4 +75,5 @@ | |
} | |
+ | |
export class NgControlStatusGroup { | |
constructor(any) {} | |
../TypeScript/tests/cases/compiler/complicatedGenericRecursiveBaseClassReference.ts | |
../TypeScript/tests/cases/compiler/complicatedPrivacy.ts | |
../TypeScript/tests/cases/compiler/complicatedPrivacy.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/compositeGenericFunction.ts | |
../TypeScript/tests/cases/compiler/compoundVarDecl1.ts | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1.ts | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1.ts: { index: 173, | |
lineNumber: 8, | |
column: 10, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1_ES6.ts | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1_ES6.ts: { index: 227, | |
lineNumber: 10, | |
column: 10, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2.ts | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2.ts: { index: 35, | |
lineNumber: 2, | |
column: 10, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts | |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts: { index: 54, | |
lineNumber: 4, | |
column: 10, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/concatClassAndString.ts | |
../TypeScript/tests/cases/compiler/concatError.ts | |
../TypeScript/tests/cases/compiler/concatTuples.ts | |
../TypeScript/tests/cases/compiler/conditionalExpression1.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine1.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine10.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine2.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine3.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine4.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine5.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine6.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine7.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine8.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressionNewLine9.ts | |
../TypeScript/tests/cases/compiler/conditionalExpressions2.ts | |
../TypeScript/tests/cases/compiler/conditionallyDuplicateOverloadsCausedByOverloadResolution.ts | |
../TypeScript/tests/cases/compiler/conflictingMemberTypesInBases.ts | |
../TypeScript/tests/cases/compiler/conflictingTypeAnnotatedVar.ts | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia1.ts | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia1.ts: { index: 11, | |
lineNumber: 2, | |
column: 0, | |
message: 'Merge conflict marker encountered.' } | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia2.ts | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia2.ts: { index: 22, | |
lineNumber: 3, | |
column: 0, | |
message: 'Merge conflict marker encountered.' } | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia4.ts | |
../TypeScript/tests/cases/compiler/conflictMarkerTrivia4.ts: { index: 18, | |
lineNumber: 2, | |
column: 0, | |
message: 'Merge conflict marker encountered.' } | |
../TypeScript/tests/cases/compiler/constantOverloadFunction.ts | |
../TypeScript/tests/cases/compiler/constantOverloadFunctionNoSubtypeError.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-access.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-access2.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-access3.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-access4.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-access5.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-ambient-errors.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-ambient.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-errors.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-es5.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-invalidContexts.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-scopes.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-scopes2.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-useBeforeDefinition.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-useBeforeDefinition2.ts | |
../TypeScript/tests/cases/compiler/constDeclarations-validContexts.ts | |
../TypeScript/tests/cases/compiler/constDeclarations.ts | |
../TypeScript/tests/cases/compiler/constDeclarations2.ts | |
../TypeScript/tests/cases/compiler/constDeclarationShadowedByVarDeclaration.ts | |
../TypeScript/tests/cases/compiler/constDeclarationShadowedByVarDeclaration2.ts | |
../TypeScript/tests/cases/compiler/constDeclarationShadowedByVarDeclaration3.ts | |
../TypeScript/tests/cases/compiler/constEnumBadPropertyNames.ts | |
../TypeScript/tests/cases/compiler/constEnumDeclarations.ts | |
../TypeScript/tests/cases/compiler/constEnumErrors.ts | |
../TypeScript/tests/cases/compiler/constEnumExternalModule.ts | |
../TypeScript/tests/cases/compiler/constEnumMergingWithValues1.ts | |
../TypeScript/tests/cases/compiler/constEnumMergingWithValues2.ts | |
../TypeScript/tests/cases/compiler/constEnumMergingWithValues3.ts | |
../TypeScript/tests/cases/compiler/constEnumMergingWithValues4.ts | |
../TypeScript/tests/cases/compiler/constEnumMergingWithValues5.ts | |
../TypeScript/tests/cases/compiler/constEnumOnlyModuleMerging.ts | |
../TypeScript/tests/cases/compiler/constEnums.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -971,19 +971,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "A" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "C" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -1142,12 +1128,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "I1" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "C" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -1280,12 +1259,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "I2" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "C" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -1895,19 +1867,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "A" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "C" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,151 +1,133 @@ | |
-const enum Enum1 { | |
- A0 = 100, | |
-} | |
+const enum Enum1 { A0 = 100 } | |
const enum Enum1 { | |
- // correct cases | |
- A, | |
- B, | |
- C = 10, | |
- D = A | B, | |
- E = A | 1, | |
- F = 1 | A, | |
- G = (1 & 1), | |
- H = ~(A | B), | |
- I = A >>> 1, | |
- J = 1 & A, | |
- K = ~(1 | 5), | |
- L = ~D, | |
- M = E << B, | |
- N = E << 1, | |
- O = E >> B, | |
- P = E >> 1, | |
- Q = -D, | |
- R = C & 5, | |
- S = 5 & C, | |
- T = C | D, | |
- U = C | 1, | |
- V = 10 | D, | |
- W = Enum1.V, | |
+// correct cases | |
- // correct cases: reference to the enum member from different enum declaration | |
- W1 = A0, | |
- W2 = Enum1.A0, | |
- W3 = Enum1["A0"], | |
- W4 = Enum1["W"], | |
-} | |
+// correct cases: reference to the enum member from different enum declaration | |
+ A, | |
+ B, | |
+ C = 10, | |
+ D = A | B, | |
+ E = A | 1, | |
+ F = 1 | A, | |
+ G = 1 & 1, | |
+ H = ~(A | B), | |
+ I = A >>> 1, | |
+ J = 1 & A, | |
+ K = ~(1 | 5), | |
+ L = ~D, | |
+ M = E << B, | |
+ N = E << 1, | |
+ O = E >> B, | |
+ P = E >> 1, | |
+ Q = -D, | |
+ R = C & 5, | |
+ S = 5 & C, | |
+ T = C | D, | |
+ U = C | 1, | |
+ V = 10 | D, | |
+ W = Enum1.V, | |
-module A { | |
- export module B { | |
- export module C { | |
- export const enum E { | |
- V1 = 1, | |
- V2 = A.B.C.E.V1 | 100 | |
- } | |
- } | |
- } | |
+ W1 = A0, | |
+ W2 = Enum1.A0, | |
+ W3 = Enum1["A0"], | |
+ W4 = Enum1["W"] | |
+ | |
} | |
-module A { | |
- export module B { | |
- export module C { | |
- export const enum E { | |
- V3 = A.B.C.E["V2"] & 200, | |
- } | |
- } | |
- } | |
+namespace A { | |
+ export namespace B { | |
+ export namespace C { export const enum E { V1 = 1, V2 = A.B.C.E.V1 | 100 } } | |
+ } | |
} | |
-module A1 { | |
- export module B { | |
- export module C { | |
- export const enum E { | |
- V1 = 10, | |
- V2 = 110, | |
- } | |
- } | |
- } | |
+namespace A { | |
+ export namespace B { | |
+ export namespace C { export const enum E { V3 = A.B.C.E["V2"] & 200 } } | |
+ } | |
} | |
-module A2 { | |
- export module B { | |
- export module C { | |
- export const enum E { | |
- V1 = 10, | |
- V2 = 110, | |
- } | |
- } | |
- // module C will be classified as value | |
- export module C { | |
- var x = 1 | |
- } | |
+namespace A1 { | |
+ export namespace B { | |
+ export namespace C { export const enum E { V1 = 10, V2 = 110 } } | |
+ } | |
+} | |
+ | |
+namespace A2 { | |
+// module C will be classified as value | |
+ export namespace B { | |
+ export namespace C { | |
+ export const enum E { V1 = 10, V2 = 110 } | |
} | |
+ export namespace C { | |
+ var x = 1; | |
+ } | |
+ } | |
} | |
-import I = A.B.C.E; | |
+import I = undefined.E; | |
import I1 = A1.B; | |
import I2 = A2.B; | |
function foo0(e: I): void { | |
- if (e === I.V1) { | |
- } | |
- else if (e === I.V2) { | |
- } | |
+ if (e === I.V1) { | |
+ } else if (e === I.V2) { | |
\ No newline at end of file | |
+ } | |
} | |
-function foo1(e: I1.C.E): void { | |
- if (e === I1.C.E.V1) { | |
- } | |
- else if (e === I1.C.E.V2) { | |
- } | |
+function foo1(e: undefined.E): void { | |
+ if (e === I1.C.E.V1) { | |
+ } else if (e === I1.C.E.V2) { | |
+ } | |
} | |
-function foo2(e: I2.C.E): void { | |
- if (e === I2.C.E.V1) { | |
- } | |
- else if (e === I2.C.E.V2) { | |
- } | |
+function foo2(e: undefined.E): void { | |
+ if (e === I2.C.E.V1) { | |
+ } else if (e === I2.C.E.V2) { | |
+ } | |
} | |
- | |
function foo(x: Enum1) { | |
- switch (x) { | |
- case Enum1.A: | |
- case Enum1.B: | |
- case Enum1.C: | |
- case Enum1.D: | |
- case Enum1.E: | |
- case Enum1.F: | |
- case Enum1.G: | |
- case Enum1.H: | |
- case Enum1.I: | |
- case Enum1.J: | |
- case Enum1.K: | |
- case Enum1.L: | |
- case Enum1.M: | |
- case Enum1.N: | |
- case Enum1.O: | |
- case Enum1.P: | |
- case Enum1.Q: | |
- case Enum1.R: | |
- case Enum1.S: | |
- case Enum1["T"]: | |
- case Enum1.U: | |
- case Enum1.V: | |
- case Enum1.W: | |
- case Enum1.W1: | |
- case Enum1.W2: | |
- case Enum1.W3: | |
- case Enum1.W4: | |
- break; | |
- } | |
+ switch (x) { | |
+ case Enum1.A: | |
+ case Enum1.B: | |
+ case Enum1.C: | |
+ case Enum1.D: | |
+ case Enum1.E: | |
+ case Enum1.F: | |
+ case Enum1.G: | |
+ case Enum1.H: | |
+ case Enum1.I: | |
+ case Enum1.J: | |
+ case Enum1.K: | |
+ case Enum1.L: | |
+ case Enum1.M: | |
+ case Enum1.N: | |
+ case Enum1.O: | |
+ case Enum1.P: | |
+ case Enum1.Q: | |
+ case Enum1.R: | |
+ case Enum1.S: | |
+ case Enum1["T"]: | |
+ case Enum1.U: | |
+ case Enum1.V: | |
+ case Enum1.W: | |
+ case Enum1.W1: | |
+ case Enum1.W2: | |
+ case Enum1.W3: | |
+ case Enum1.W4: | |
+ break; | |
+ } | |
} | |
-function bar(e: A.B.C.E): number { | |
- switch (e) { | |
- case A.B.C.E.V1: return 1; | |
- case A.B.C.E.V2: return 1; | |
- case A.B.C.E.V3: return 1; | |
- } | |
-} | |
+function bar(e: undefined.E): number { | |
+ switch (e) { | |
+ case A.B.C.E.V1: | |
+ return 1; | |
+ case A.B.C.E.V2: | |
+ return 1; | |
+ case A.B.C.E.V3: | |
+ return 1; | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/constEnumToStringNoComments.ts | |
../TypeScript/tests/cases/compiler/constEnumToStringWithComments.ts | |
../TypeScript/tests/cases/compiler/constIndexedAccess.ts | |
../TypeScript/tests/cases/compiler/constraintCheckInGenericBaseTypeReference.ts | |
../TypeScript/tests/cases/compiler/constraintErrors1.ts | |
../TypeScript/tests/cases/compiler/constraintPropagationThroughReturnTypes.ts | |
../TypeScript/tests/cases/compiler/constraintReferencingTypeParameterFromSameTypeParameterList.ts | |
../TypeScript/tests/cases/compiler/constraintReferencingTypeParameterFromSameTypeParameterList.ts: { index: 150, | |
lineNumber: 8, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/constraints0.ts | |
../TypeScript/tests/cases/compiler/constraints0.ts: { index: 72, | |
lineNumber: 9, | |
column: 14, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/constraintsThatReferenceOtherContstraints1.ts | |
../TypeScript/tests/cases/compiler/constraintsUsedInPrototypeProperty.ts | |
../TypeScript/tests/cases/compiler/constructorArgs.ts | |
../TypeScript/tests/cases/compiler/constructorArgsErrors1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,15 +22,10 @@ | |
"params": [ | |
{ | |
- "type": "TSParameterProperty", | |
- "accessibility": null, | |
- "isReadonly": false, | |
- "parameter": { | |
- "type": "Identifier", | |
- "name": "a", | |
+ "type": "Identifier", | |
+ "name": "a", | |
+ "typeAnnotation": { | |
+ "type": "TypeAnnotation", | |
"typeAnnotation": { | |
- "type": "TypeAnnotation", | |
- "typeAnnotation": { | |
- "type": "TSNumberKeyword" | |
- } | |
+ "type": "TSNumberKeyword" | |
} | |
}, | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,3 @@ | |
class foo { | |
- constructor (static a: number) { | |
- } | |
-} | |
\ No newline at end of file | |
+ constructor(a: number) {} | |
+} | |
../TypeScript/tests/cases/compiler/constructorArgsErrors2.ts | |
../TypeScript/tests/cases/compiler/constructorArgsErrors3.ts | |
../TypeScript/tests/cases/compiler/constructorArgsErrors4.ts | |
../TypeScript/tests/cases/compiler/constructorArgsErrors5.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,15 +22,10 @@ | |
"params": [ | |
{ | |
- "type": "TSParameterProperty", | |
- "accessibility": null, | |
- "isReadonly": false, | |
- "parameter": { | |
- "type": "Identifier", | |
- "name": "a", | |
+ "type": "Identifier", | |
+ "name": "a", | |
+ "typeAnnotation": { | |
+ "type": "TypeAnnotation", | |
"typeAnnotation": { | |
- "type": "TypeAnnotation", | |
- "typeAnnotation": { | |
- "type": "TSNumberKeyword" | |
- } | |
+ "type": "TSNumberKeyword" | |
} | |
}, | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,3 @@ | |
class foo { | |
- constructor (export a: number) { | |
- } | |
+ constructor(a: number) {} | |
} | |
../TypeScript/tests/cases/compiler/constructorArgWithGenericCallSignature.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,5 @@ | |
} | |
+ | |
export class MyClass { | |
constructor(func: MyFunc) {} | |
../TypeScript/tests/cases/compiler/constructorAsType.ts | |
../TypeScript/tests/cases/compiler/constructorInvocationWithTooFewTypeArgs.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads1.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads2.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads3.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads4.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
export function RegExp(pattern: string, flags: string): RegExp | |
+ | |
export class RegExp { | |
constructor(pattern: string); | |
../TypeScript/tests/cases/compiler/constructorOverloads6.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads7.ts | |
../TypeScript/tests/cases/compiler/constructorOverloads8.ts | |
../TypeScript/tests/cases/compiler/constructorParametersInVariableDeclarations.ts | |
../TypeScript/tests/cases/compiler/constructorParametersThatShadowExternalNamesInVariableDeclarations.ts | |
../TypeScript/tests/cases/compiler/constructorReturningAPrimitive.ts | |
../TypeScript/tests/cases/compiler/constructorReturnsInvalidType.ts | |
../TypeScript/tests/cases/compiler/constructorStaticParamName.ts | |
../TypeScript/tests/cases/compiler/constructorStaticParamNameErrors.ts | |
../TypeScript/tests/cases/compiler/constructorsWithSpecializedSignatures.ts | |
../TypeScript/tests/cases/compiler/constructorTypeWithTypeParameters.ts | |
../TypeScript/tests/cases/compiler/constructorWithCapturedSuper.ts | |
../TypeScript/tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts: { index: 262, | |
lineNumber: 13, | |
column: 18, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/contextuallyTypingOrOperator.ts | |
../TypeScript/tests/cases/compiler/contextuallyTypingOrOperator2.ts | |
../TypeScript/tests/cases/compiler/contextuallyTypingOrOperator3.ts | |
../TypeScript/tests/cases/compiler/contextuallyTypingRestParameters.ts | |
../TypeScript/tests/cases/compiler/contextualSigInstantiationRestParams.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation1.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation1.ts: { index: 235, | |
lineNumber: 5, | |
column: 34, | |
message: '\'...\' expected.' } | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation2.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation2.ts: { index: 189, | |
lineNumber: 4, | |
column: 9, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation3.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationContravariance.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationContravariance.ts: { index: 115, | |
lineNumber: 5, | |
column: 11, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationCovariance.ts | |
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationCovariance.ts: { index: 112, | |
lineNumber: 5, | |
column: 11, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/contextualTypeAny.ts | |
../TypeScript/tests/cases/compiler/contextualTypeAppliedToVarArgs.ts | |
../TypeScript/tests/cases/compiler/contextualTypeArrayReturnType.ts | |
../TypeScript/tests/cases/compiler/contextualTypeObjectSpreadExpression.ts | |
../TypeScript/tests/cases/compiler/contextualTyping.ts | |
../TypeScript/tests/cases/compiler/contextualTyping.ts: { index: 618, | |
lineNumber: 31, | |
column: 5, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping1.ts | |
../TypeScript/tests/cases/compiler/contextualTyping10.ts | |
../TypeScript/tests/cases/compiler/contextualTyping11.ts | |
../TypeScript/tests/cases/compiler/contextualTyping11.ts: { index: 42, | |
lineNumber: 1, | |
column: 42, | |
message: 'JSX element \'foo\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/contextualTyping12.ts | |
../TypeScript/tests/cases/compiler/contextualTyping13.ts | |
../TypeScript/tests/cases/compiler/contextualTyping14.ts | |
../TypeScript/tests/cases/compiler/contextualTyping15.ts | |
../TypeScript/tests/cases/compiler/contextualTyping16.ts | |
../TypeScript/tests/cases/compiler/contextualTyping17.ts | |
../TypeScript/tests/cases/compiler/contextualTyping18.ts | |
../TypeScript/tests/cases/compiler/contextualTyping18.ts: { index: 24, | |
lineNumber: 1, | |
column: 24, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping19.ts | |
../TypeScript/tests/cases/compiler/contextualTyping2.ts | |
../TypeScript/tests/cases/compiler/contextualTyping20.ts | |
../TypeScript/tests/cases/compiler/contextualTyping21.ts | |
../TypeScript/tests/cases/compiler/contextualTyping22.ts | |
../TypeScript/tests/cases/compiler/contextualTyping23.ts | |
../TypeScript/tests/cases/compiler/contextualTyping24.ts | |
../TypeScript/tests/cases/compiler/contextualTyping25.ts | |
../TypeScript/tests/cases/compiler/contextualTyping25.ts: { index: 40, | |
lineNumber: 1, | |
column: 40, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping26.ts | |
../TypeScript/tests/cases/compiler/contextualTyping26.ts: { index: 40, | |
lineNumber: 1, | |
column: 40, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping27.ts | |
../TypeScript/tests/cases/compiler/contextualTyping27.ts: { index: 40, | |
lineNumber: 1, | |
column: 40, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping28.ts | |
../TypeScript/tests/cases/compiler/contextualTyping29.ts | |
../TypeScript/tests/cases/compiler/contextualTyping3.ts | |
../TypeScript/tests/cases/compiler/contextualTyping30.ts | |
../TypeScript/tests/cases/compiler/contextualTyping31.ts | |
../TypeScript/tests/cases/compiler/contextualTyping32.ts | |
../TypeScript/tests/cases/compiler/contextualTyping33.ts | |
../TypeScript/tests/cases/compiler/contextualTyping34.ts | |
../TypeScript/tests/cases/compiler/contextualTyping34.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping35.ts | |
../TypeScript/tests/cases/compiler/contextualTyping35.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping36.ts | |
../TypeScript/tests/cases/compiler/contextualTyping36.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping37.ts | |
../TypeScript/tests/cases/compiler/contextualTyping37.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping38.ts | |
../TypeScript/tests/cases/compiler/contextualTyping38.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping39.ts | |
../TypeScript/tests/cases/compiler/contextualTyping39.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping4.ts | |
../TypeScript/tests/cases/compiler/contextualTyping40.ts | |
../TypeScript/tests/cases/compiler/contextualTyping40.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping41.ts | |
../TypeScript/tests/cases/compiler/contextualTyping41.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping5.ts | |
../TypeScript/tests/cases/compiler/contextualTyping6.ts | |
../TypeScript/tests/cases/compiler/contextualTyping7.ts | |
../TypeScript/tests/cases/compiler/contextualTyping7.ts: { index: 26, | |
lineNumber: 1, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping8.ts | |
../TypeScript/tests/cases/compiler/contextualTyping8.ts: { index: 26, | |
lineNumber: 1, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/contextualTyping9.ts | |
../TypeScript/tests/cases/compiler/contextualTypingArrayOfLambdas.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfAccessors.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfArrayLiterals1.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfConditionalExpression.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfConditionalExpression2.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfGenericFunctionTypedArguments1.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfLambdaReturnExpression.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfLambdaWithMultipleSignatures.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfLambdaWithMultipleSignatures2.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfObjectLiterals.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfObjectLiterals2.ts | |
../TypeScript/tests/cases/compiler/contextualTypingOfTooShortOverloads.ts | |
../TypeScript/tests/cases/compiler/contextualTypingTwoInstancesOfSameTypeParameter.ts | |
../TypeScript/tests/cases/compiler/contextualTypingWithFixedTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/contextualTypingWithGenericAndNonGenericSignature.ts | |
../TypeScript/tests/cases/compiler/contextualTypingWithGenericSignature.ts | |
../TypeScript/tests/cases/compiler/continueInIterationStatement1.ts | |
../TypeScript/tests/cases/compiler/continueInIterationStatement2.ts | |
../TypeScript/tests/cases/compiler/continueInIterationStatement3.ts | |
../TypeScript/tests/cases/compiler/continueInIterationStatement4.ts | |
../TypeScript/tests/cases/compiler/continueInLoopsWithCapturedBlockScopedBindings1.ts | |
../TypeScript/tests/cases/compiler/continueLabel.ts | |
../TypeScript/tests/cases/compiler/continueNotInIterationStatement1.ts | |
../TypeScript/tests/cases/compiler/continueNotInIterationStatement2.ts | |
../TypeScript/tests/cases/compiler/continueNotInIterationStatement3.ts | |
../TypeScript/tests/cases/compiler/continueNotInIterationStatement4.ts | |
../TypeScript/tests/cases/compiler/continueTarget1.ts | |
../TypeScript/tests/cases/compiler/continueTarget2.ts | |
../TypeScript/tests/cases/compiler/continueTarget3.ts | |
../TypeScript/tests/cases/compiler/continueTarget4.ts | |
../TypeScript/tests/cases/compiler/continueTarget5.ts | |
../TypeScript/tests/cases/compiler/continueTarget6.ts | |
../TypeScript/tests/cases/compiler/controlFlowArrayErrors.ts | |
../TypeScript/tests/cases/compiler/controlFlowArrays.ts | |
../TypeScript/tests/cases/compiler/controlFlowCaching.ts | |
../TypeScript/tests/cases/compiler/controlFlowDestructuringParameters.ts | |
../TypeScript/tests/cases/compiler/controlFlowInstanceof.ts | |
../TypeScript/tests/cases/compiler/controlFlowInstanceof.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/controlFlowJavascript.ts | |
../TypeScript/tests/cases/compiler/controlFlowLoopAnalysis.ts | |
../TypeScript/tests/cases/compiler/controlFlowNoImplicitAny.ts | |
../TypeScript/tests/cases/compiler/controlFlowOuterVariable.ts | |
../TypeScript/tests/cases/compiler/controlFlowPropertyDeclarations.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -23,5 +23,5 @@ | |
* @param {string} string String to repeat | |
* @param {number} times Number of times to repeat string. Integer. | |
- * @see http://jsperf.com/string-repeater/2 | |
+ * @see http:jsperf.com/string-repeater/2 | |
*/ | |
function repeatString(string, times) { | |
../TypeScript/tests/cases/compiler/controlFlowPropertyInitializer.ts | |
../TypeScript/tests/cases/compiler/controlFlowSelfReferentialLoop.ts | |
../TypeScript/tests/cases/compiler/controlFlowWithIncompleteTypes.ts | |
../TypeScript/tests/cases/compiler/convertKeywords.ts | |
../TypeScript/tests/cases/compiler/convertKeywordsYes.ts | |
../TypeScript/tests/cases/compiler/convertKeywordsYes.ts: { index: 2207, | |
lineNumber: 177, | |
column: 21, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/copyrightWithNewLine1.ts | |
../TypeScript/tests/cases/compiler/copyrightWithoutNewLine1.ts | |
../TypeScript/tests/cases/compiler/couldNotSelectGenericOverload.ts | |
../TypeScript/tests/cases/compiler/covariance1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
interface X { m1: number } | |
+ | |
export class XX implements X { | |
constructor(public m1: number) {} | |
../TypeScript/tests/cases/compiler/crashInResolveInterface.ts | |
../TypeScript/tests/cases/compiler/crashInresolveReturnStatement.ts | |
../TypeScript/tests/cases/compiler/crashInsourcePropertyIsRelatableToTargetProperty.ts | |
../TypeScript/tests/cases/compiler/crashIntypeCheckInvocationExpression.ts | |
../TypeScript/tests/cases/compiler/crashIntypeCheckObjectCreationExpression.ts | |
../TypeScript/tests/cases/compiler/crashOnMethodSignatures.ts | |
../TypeScript/tests/cases/compiler/crashRegressionTest.ts | |
../TypeScript/tests/cases/compiler/createArray.ts | |
../TypeScript/tests/cases/compiler/customEventDetail.ts | |
../TypeScript/tests/cases/compiler/cyclicGenericTypeInstantiation.ts | |
../TypeScript/tests/cases/compiler/cyclicGenericTypeInstantiationInference.ts | |
../TypeScript/tests/cases/compiler/cyclicModuleImport.ts | |
../TypeScript/tests/cases/compiler/cyclicTypeInstantiation.ts | |
../TypeScript/tests/cases/compiler/debugger.ts | |
../TypeScript/tests/cases/compiler/debuggerEmit.ts | |
../TypeScript/tests/cases/compiler/declarationEmitArrayTypesFromGenericArrayUsage.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -18,10 +18,5 @@ | |
"type": "Identifier", | |
"name": "Array" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,2 +1,2 @@ | |
// @declaration: true | |
-interface A extends Array<string> { } | |
+interface A extends Array {} | |
../TypeScript/tests/cases/compiler/declarationEmitBindingPatterns.ts | |
../TypeScript/tests/cases/compiler/declarationEmitClassMemberNameConflict.ts | |
../TypeScript/tests/cases/compiler/declarationEmitClassMemberNameConflict2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport5.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport6.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport7.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExport8.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExportWithTempVarName.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDefaultExportWithTempVarNameWithBundling.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuring1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuring2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuring3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuring4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuring5.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringArrayPattern1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringArrayPattern2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringArrayPattern3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringArrayPattern4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringArrayPattern5.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringObjectLiteralPattern.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringObjectLiteralPattern1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringObjectLiteralPattern2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringOptionalBindingParametersInOverloads.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringParameterProperties.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringPrivacyError.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDestructuringWithOptionalBindingParameters.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDetachedComment1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitDetachedComment2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExportAssignment.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExportDeclaration.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExpressionInExtends.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExpressionInExtends2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExpressionInExtends3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitExpressionInExtends4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitFBoundedTypeParams.ts | |
../TypeScript/tests/cases/compiler/declarationEmitFirstTypeArgumentGenericFunctionType.ts | |
../TypeScript/tests/cases/compiler/declarationEmitFirstTypeArgumentGenericFunctionType.ts: { index: 92, | |
lineNumber: 6, | |
column: 13, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/declarationEmitImportInExportAssignmentModule.ts | |
../TypeScript/tests/cases/compiler/declarationEmitIndexTypeNotFound.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedDefaultExportType.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedDefaultExportType2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias5.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias6.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias7.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias8.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInferedTypeAlias9.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts: { index: 61, | |
lineNumber: 4, | |
column: 24, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/declarationEmitInvalidExport.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInvalidExport.ts: { index: 108, | |
lineNumber: 7, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/declarationEmitInvalidReference.ts | |
../TypeScript/tests/cases/compiler/declarationEmitInvalidReference2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitNameConflicts.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -362,12 +362,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "M" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "P" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,49 +2,63 @@ | |
// @module: commonjs | |
// @Filename: declarationEmit_nameConflicts_1.ts | |
-module f { export class c { } } | |
-export = f; | |
+namespace f { | |
+ export class c {} | |
+} | |
+export default f; | |
// @Filename: declarationEmit_nameConflicts_0.ts | |
-import im = require('./declarationEmit_nameConflicts_1'); | |
-export module M { | |
- export function f() { } | |
- export class C { } | |
- export module N { | |
- export function g() { }; | |
- export interface I { } | |
+import im = require("./declarationEmit_nameConflicts_1"); | |
+export namespace M { | |
+ | |
+ export function f() { | |
+ } | |
+ export class C {} | |
+ export namespace N { | |
+ | |
+ export function g() { | |
} | |
+ export interface I {} | |
+ } | |
- export import a = M.f; | |
- export import b = M.C; | |
- export import c = N; | |
- export import d = im; | |
+ export import a = M.f; | |
+ export import b = M.C; | |
+ export import c = N; | |
+ export import d = im; | |
} | |
-export module M.P { | |
- export function f() { } | |
- export class C { } | |
- export module N { | |
- export function g() { }; | |
- export interface I { } | |
+export namespace M.P { // emitted incorrectly as typeof f // ok // ok // ok // emitted incorrectly as typeof im | |
+ | |
+ export function f() { | |
\ No newline at end of file | |
+ } | |
+ export class C {} | |
+ export namespace N { | |
+ | |
+ export function g() { | |
} | |
- export import im = M.P.f; | |
- export var a = M.a; // emitted incorrectly as typeof f | |
- export var b = M.b; // ok | |
- export var c = M.c; // ok | |
- export var g = M.c.g; // ok | |
- export var d = M.d; // emitted incorrectly as typeof im | |
+ export interface I {} | |
+ } | |
+ export import im = undefined.f; | |
+ export var a = M.a; | |
+ export var b = M.b; | |
+ export var c = M.c; | |
+ export var g = M.c.g; | |
+ export var d = M.d; | |
} | |
-export module M.Q { | |
- export function f() { } | |
- export class C { } | |
- export module N { | |
- export function g() { }; | |
- export interface I { } | |
+export namespace M.Q { // ok // ok // ok | |
+ | |
+ export function f() { | |
+ } | |
+ export class C {} | |
+ export namespace N { | |
+ | |
+ export function g() { | |
} | |
- export interface b extends M.b { } // ok | |
- export interface I extends M.c.I { } // ok | |
- export module c { | |
- export interface I extends M.c.I { } // ok | |
- } | |
-} | |
+ export interface I {} | |
+ } | |
+ export interface b extends M.b {} | |
+ export interface I extends M.c.I {} | |
+ export namespace c { | |
+ export interface I extends M.c.I {} | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/declarationEmitNameConflicts2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitNameConflicts3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitNameConflictsWithAlias.ts | |
../TypeScript/tests/cases/compiler/declarationEmitPromise.ts | |
../TypeScript/tests/cases/compiler/declarationEmitPromise.ts: { index: 517, | |
lineNumber: 14, | |
column: 51, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/declarationEmitProtectedMembers.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters3.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters4.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters5.ts | |
../TypeScript/tests/cases/compiler/declarationEmitTypeAliasWithTypeParameters6.ts | |
../TypeScript/tests/cases/compiler/declarationEmitUnknownImport.ts | |
../TypeScript/tests/cases/compiler/declarationEmitUnknownImport2.ts | |
../TypeScript/tests/cases/compiler/declarationEmitUnknownImport2.ts: { index: 75, | |
lineNumber: 5, | |
column: 11, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/DeclarationErrorsNoEmitOnError.ts | |
../TypeScript/tests/cases/compiler/declarationFileOverwriteError.ts | |
../TypeScript/tests/cases/compiler/declarationFileOverwriteErrorWithOut.ts | |
../TypeScript/tests/cases/compiler/declarationFilesWithTypeReferences1.ts | |
../TypeScript/tests/cases/compiler/declarationFilesWithTypeReferences2.ts | |
../TypeScript/tests/cases/compiler/declarationFilesWithTypeReferences3.ts | |
../TypeScript/tests/cases/compiler/declarationFilesWithTypeReferences4.ts | |
../TypeScript/tests/cases/compiler/declarationMerging1.ts | |
../TypeScript/tests/cases/compiler/declarationMerging2.ts | |
../TypeScript/tests/cases/compiler/declareAlreadySeen.ts | |
../TypeScript/tests/cases/compiler/declareAlreadySeen.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declareClassInterfaceImplementation.ts | |
../TypeScript/tests/cases/compiler/declaredExternalModule.ts | |
../TypeScript/tests/cases/compiler/declaredExternalModuleWithExportAssignment.ts | |
../TypeScript/tests/cases/compiler/declareDottedExtend.ts | |
../TypeScript/tests/cases/compiler/declareDottedModuleName.ts | |
../TypeScript/tests/cases/compiler/declareExternalModuleWithExportAssignedFundule.ts | |
../TypeScript/tests/cases/compiler/declareExternalModuleWithExportAssignedFundule.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declareFileExportAssignment.ts | |
../TypeScript/tests/cases/compiler/declareFileExportAssignmentWithVarFromVariableStatement.ts | |
../TypeScript/tests/cases/compiler/declareIdentifierAsBeginningOfStatementExpression01.ts | |
../TypeScript/tests/cases/compiler/declareIdentifierAsBeginningOfStatementExpression01.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/declareModifierOnImport1.ts | |
../TypeScript/tests/cases/compiler/declareModifierOnTypeAlias.ts | |
../TypeScript/tests/cases/compiler/declFileAccessors.ts | |
../TypeScript/tests/cases/compiler/declFileAliasUseBeforeDeclaration.ts | |
../TypeScript/tests/cases/compiler/declFileAliasUseBeforeDeclaration2.ts | |
../TypeScript/tests/cases/compiler/declFileAmbientExternalModuleWithSingleExportedModule.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -93,19 +93,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "SubModule" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "m" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "m3" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,15 +4,9 @@ | |
// @Filename: declFileAmbientExternalModuleWithSingleExportedModule_0.ts | |
declare module "SubModule" { | |
- export module m { | |
- export module m3 { | |
- interface c { | |
- } | |
- } | |
- } | |
+ export namespace m { export namespace m3 { interface c {} } } | |
} | |
// @Filename: declFileAmbientExternalModuleWithSingleExportedModule_1.ts | |
///<reference path='declFileAmbientExternalModuleWithSingleExportedModule_0.ts'/> | |
-import SubModule = require('SubModule'); | |
-export var x: SubModule.m.m3.c; | |
- | |
+import SubModule = require("SubModule"); | |
+export var x: undefined.c; | |
../TypeScript/tests/cases/compiler/declFileCallSignatures.ts | |
../TypeScript/tests/cases/compiler/declFileCallSignatures.ts: { index: 811, | |
lineNumber: 33, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/declFileClassExtendsNull.ts | |
../TypeScript/tests/cases/compiler/declFileClassWithIndexSignature.ts | |
../TypeScript/tests/cases/compiler/declFileClassWithStaticMethodReturningConstructor.ts | |
../TypeScript/tests/cases/compiler/declFileConstructors.ts | |
../TypeScript/tests/cases/compiler/declFileConstructSignatures.ts | |
../TypeScript/tests/cases/compiler/declFileConstructSignatures.ts: { index: 863, | |
lineNumber: 33, | |
column: 9, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/declFileEnums.ts | |
../TypeScript/tests/cases/compiler/declFileEnumUsedAsValue.ts | |
../TypeScript/tests/cases/compiler/declFileExportAssignmentImportInternalModule.ts | |
../TypeScript/tests/cases/compiler/declFileExportAssignmentOfGenericInterface.ts | |
../TypeScript/tests/cases/compiler/declFileExportImportChain.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -148,26 +148,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "c" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "b1" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "a" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "m2" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,11 +3,8 @@ | |
// @Filename: declFileExportImportChain_a.ts | |
-module m1 { | |
- export module m2 { | |
- export class c1 { | |
- } | |
- } | |
+namespace m1 { | |
+ export namespace m2 { export class c1 {} } | |
} | |
-export = m1; | |
+export default m1; | |
// @Filename: declFileExportImportChain_b.ts | |
@@ -16,5 +13,5 @@ | |
// @Filename: declFileExportImportChain_b1.ts | |
import b = require("declFileExportImportChain_b"); | |
-export = b; | |
+export default b; | |
// @Filename: declFileExportImportChain_c.ts | |
@@ -23,3 +20,3 @@ | |
// @Filename: declFileExportImportChain_d.ts | |
import c = require("declFileExportImportChain_c"); | |
-export var x: c.b1.a.m2.c1; | |
\ No newline at end of file | |
+export var x: undefined.c1; | |
../TypeScript/tests/cases/compiler/declFileExportImportChain2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -129,19 +129,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "c" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "b" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "m2" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,15 +3,12 @@ | |
// @Filename: declFileExportImportChain2_a.ts | |
-module m1 { | |
- export module m2 { | |
- export class c1 { | |
- } | |
- } | |
+namespace m1 { | |
+ export namespace m2 { export class c1 {} } | |
} | |
-export = m1; | |
+export default m1; | |
// @Filename: declFileExportImportChain2_b.ts | |
import a = require("declFileExportImportChain2_a"); | |
-export = a; | |
+export default a; | |
// @Filename: declFileExportImportChain2_c.ts | |
@@ -20,3 +17,3 @@ | |
// @Filename: declFileExportImportChain2_d.ts | |
import c = require("declFileExportImportChain2_c"); | |
-export var x: c.b.m2.c1; | |
\ No newline at end of file | |
+export var x: undefined.c1; | |
../TypeScript/tests/cases/compiler/declFileForClassWithMultipleBaseClasses.ts | |
../TypeScript/tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts | |
../TypeScript/tests/cases/compiler/declFileForExportedImport.ts | |
../TypeScript/tests/cases/compiler/declFileForFunctionTypeAsTypeParameter.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -78,17 +78,5 @@ | |
"type": "Identifier", | |
"name": "X" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSFunctionType", | |
- "parameters": [], | |
- "typeAnnotation": { | |
- "type": "TypeAnnotation", | |
- "typeAnnotation": { | |
- "type": "TSNumberKeyword" | |
- } | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,5 @@ | |
// @declaration: true | |
-class X<T> { | |
-} | |
-class C extends X<() => number> { | |
-} | |
-interface I extends X<() => number> { | |
-} | |
- | |
+class X<T> {} | |
+class C extends X<() => number> {} | |
+interface I extends X {} | |
../TypeScript/tests/cases/compiler/declFileForInterfaceWithOptionalFunction.ts | |
../TypeScript/tests/cases/compiler/declFileForInterfaceWithRestParams.ts | |
../TypeScript/tests/cases/compiler/declFileForTypeParameters.ts | |
../TypeScript/tests/cases/compiler/declFileForVarList.ts | |
../TypeScript/tests/cases/compiler/declFileFunctions.ts | |
../TypeScript/tests/cases/compiler/declFileGenericClassWithGenericExtendedClass.ts | |
../TypeScript/tests/cases/compiler/declFileGenericType.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -10,12 +10,15 @@ | |
} | |
+ | |
export function F2<T>(x: T): C.A<C.B> { | |
return null; | |
} | |
+ | |
export function F3<T>(x: T): C.A<C.B>[] { | |
return null; | |
} | |
+ | |
export function F4<T extends A<B>>(x: T): Array<C.A<C.B>> { | |
return null; | |
../TypeScript/tests/cases/compiler/declFileGenericType2.ts | |
../TypeScript/tests/cases/compiler/declFileGenericType2.ts: { index: 149, | |
lineNumber: 7, | |
column: 34, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/declFileImportChainInExportAssignment.ts | |
../TypeScript/tests/cases/compiler/declFileImportedTypeUseInTypeArgPosition.ts | |
../TypeScript/tests/cases/compiler/declFileImportModuleWithExportAssignment.ts | |
../TypeScript/tests/cases/compiler/declFileIndexSignatures.ts | |
../TypeScript/tests/cases/compiler/declFileInternalAliases.ts | |
../TypeScript/tests/cases/compiler/declFileMethods.ts | |
../TypeScript/tests/cases/compiler/declFileModuleAssignmentInObjectLiteralProperty.ts | |
../TypeScript/tests/cases/compiler/declFileModuleContinuation.ts | |
../TypeScript/tests/cases/compiler/declFileModuleWithPropertyOfTypeModule.ts | |
../TypeScript/tests/cases/compiler/declFileObjectLiteralWithAccessors.ts | |
../TypeScript/tests/cases/compiler/declFileObjectLiteralWithOnlyGetter.ts | |
../TypeScript/tests/cases/compiler/declFileObjectLiteralWithOnlySetter.ts | |
../TypeScript/tests/cases/compiler/declFileOptionalInterfaceMethod.ts | |
../TypeScript/tests/cases/compiler/declFilePrivateMethodOverloads.ts | |
../TypeScript/tests/cases/compiler/declFilePrivateStatic.ts | |
../TypeScript/tests/cases/compiler/declFileRegressionTests.ts | |
../TypeScript/tests/cases/compiler/declFileRestParametersOfFunctionAndFunctionType.ts | |
../TypeScript/tests/cases/compiler/declFileRestParametersOfFunctionAndFunctionType.ts: { index: 255, | |
lineNumber: 8, | |
column: 26, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationArrayType.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationBuiltInType.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationParenType.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationStringLiteral.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationTupleType.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationTypeAlias.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationTypeLiteral.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationTypeQuery.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationTypeReference.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationUnionType.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,4 +11,5 @@ | |
} | |
+ | |
export class g<T> { | |
private r: string; | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorAccessors.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorParameterOfFunction.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorParameterOfFunction.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorTypeAlias.ts | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorTypeLiteral.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -23,4 +23,5 @@ | |
}; | |
+ | |
export var x2 = { | |
x: new private1(), | |
../TypeScript/tests/cases/compiler/declFileTypeAnnotationVisibilityErrorVariableDeclaration.ts | |
../TypeScript/tests/cases/compiler/declFileTypeofClass.ts | |
../TypeScript/tests/cases/compiler/declFileTypeofEnum.ts | |
../TypeScript/tests/cases/compiler/declFileTypeofFunction.ts | |
../TypeScript/tests/cases/compiler/declFileTypeofInAnonymousType.ts | |
../TypeScript/tests/cases/compiler/declFileTypeofModule.ts | |
../TypeScript/tests/cases/compiler/declFileWithClassNameConflictingWithClassReferredByExtendsClause.ts | |
../TypeScript/tests/cases/compiler/declFileWithErrorsInInputDeclarationFile.ts | |
../TypeScript/tests/cases/compiler/declFileWithErrorsInInputDeclarationFile.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declFileWithErrorsInInputDeclarationFileWithOut.ts | |
../TypeScript/tests/cases/compiler/declFileWithErrorsInInputDeclarationFileWithOut.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/declFileWithExtendsClauseThatHasItsContainerNameConflict.ts | |
../TypeScript/tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause1.ts | |
../TypeScript/tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause2.ts | |
../TypeScript/tests/cases/compiler/declFileWithInternalModuleNameConflictsInExtendsClause3.ts | |
../TypeScript/tests/cases/compiler/declInput-2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
interface I2 {} | |
+ | |
export class D { | |
private c: C; | |
../TypeScript/tests/cases/compiler/declInput.ts | |
../TypeScript/tests/cases/compiler/declInput.ts: { index: 197, | |
lineNumber: 9, | |
column: 41, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/declInput3.ts | |
../TypeScript/tests/cases/compiler/declInput3.ts: { index: 198, | |
lineNumber: 9, | |
column: 41, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/declInput4.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
interface I2 {} | |
+ | |
export class D { | |
public m1: number; | |
../TypeScript/tests/cases/compiler/decoratorInJsFile.ts | |
../TypeScript/tests/cases/compiler/decoratorInJsFile.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorInJsFile1.ts | |
../TypeScript/tests/cases/compiler/decoratorInJsFile1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decoratorMetadataOnInferredType.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataOnInferredType.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decoratorMetadataPromise.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataPromise.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decoratorMetadataRestParameterWithImportedType.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataRestParameterWithImportedType.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithConstructorType.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithConstructorType.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision2.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision3.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision3.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision4.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision4.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision5.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision5.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision6.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision7.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision7.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision8.ts | |
../TypeScript/tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision8.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/decoratorWithUnderscoreMethod.ts | |
../TypeScript/tests/cases/compiler/decoratorWithUnderscoreMethod.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/decrementAndIncrementOperators.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -82,16 +82,16 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "++", | |
- "prefix": false, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "Literal", | |
+ "value": 1 | |
+ }, | |
+ "right": { | |
+ "type": "UpdateExpression", | |
+ "operator": "++", | |
+ "prefix": false, | |
+ "argument": { | |
"type": "Literal", | |
- "value": 1 | |
- }, | |
- "right": { | |
- "type": "Literal", | |
"value": 2 | |
} | |
@@ -102,16 +102,16 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "--", | |
- "prefix": false, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "Literal", | |
+ "value": 1 | |
+ }, | |
+ "right": { | |
+ "type": "UpdateExpression", | |
+ "operator": "--", | |
+ "prefix": false, | |
+ "argument": { | |
"type": "Literal", | |
- "value": 1 | |
- }, | |
- "right": { | |
- "type": "Literal", | |
"value": 2 | |
} | |
@@ -122,18 +122,18 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "++", | |
- "prefix": true, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "UpdateExpression", | |
+ "operator": "++", | |
+ "prefix": true, | |
+ "argument": { | |
"type": "Literal", | |
"value": 1 | |
- }, | |
- "right": { | |
- "type": "Literal", | |
- "value": 2 | |
} | |
+ }, | |
+ "right": { | |
+ "type": "Literal", | |
+ "value": 2 | |
} | |
} | |
@@ -142,18 +142,18 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "--", | |
- "prefix": true, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "UpdateExpression", | |
+ "operator": "--", | |
+ "prefix": true, | |
+ "argument": { | |
"type": "Literal", | |
"value": 1 | |
- }, | |
- "right": { | |
- "type": "Literal", | |
- "value": 2 | |
} | |
+ }, | |
+ "right": { | |
+ "type": "Literal", | |
+ "value": 2 | |
} | |
} | |
@@ -162,17 +162,17 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "++", | |
- "prefix": false, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "Identifier", | |
+ "name": "x" | |
+ }, | |
+ "right": { | |
+ "type": "UpdateExpression", | |
+ "operator": "++", | |
+ "prefix": false, | |
+ "argument": { | |
"type": "Identifier", | |
"name": "x" | |
- }, | |
- "right": { | |
- "type": "Identifier", | |
- "name": "x" | |
} | |
} | |
@@ -182,17 +182,17 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "--", | |
- "prefix": false, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "Identifier", | |
+ "name": "x" | |
+ }, | |
+ "right": { | |
+ "type": "UpdateExpression", | |
+ "operator": "--", | |
+ "prefix": false, | |
+ "argument": { | |
"type": "Identifier", | |
"name": "x" | |
- }, | |
- "right": { | |
- "type": "Identifier", | |
- "name": "x" | |
} | |
} | |
@@ -202,18 +202,18 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "++", | |
- "prefix": true, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "UpdateExpression", | |
+ "operator": "++", | |
+ "prefix": true, | |
+ "argument": { | |
"type": "Identifier", | |
"name": "x" | |
- }, | |
- "right": { | |
- "type": "Identifier", | |
- "name": "x" | |
} | |
+ }, | |
+ "right": { | |
+ "type": "Identifier", | |
+ "name": "x" | |
} | |
} | |
@@ -222,18 +222,18 @@ | |
"type": "ExpressionStatement", | |
"expression": { | |
- "type": "UpdateExpression", | |
- "operator": "--", | |
- "prefix": true, | |
- "argument": { | |
- "type": "BinaryExpression", | |
- "operator": "+", | |
- "left": { | |
+ "type": "BinaryExpression", | |
+ "operator": "+", | |
+ "left": { | |
+ "type": "UpdateExpression", | |
+ "operator": "--", | |
+ "prefix": true, | |
+ "argument": { | |
"type": "Identifier", | |
"name": "x" | |
- }, | |
- "right": { | |
- "type": "Identifier", | |
- "name": "x" | |
} | |
+ }, | |
+ "right": { | |
+ "type": "Identifier", | |
+ "name": "x" | |
} | |
} | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,23 +2,23 @@ | |
// errors | |
-1 ++; | |
+1++; | |
-(1)++; | |
-(1)--; | |
+1++; | |
+1--; | |
-++(1); | |
---(1); | |
+++1; | |
+--1; | |
-(1 + 2)++; | |
-(1 + 2)--; | |
+1 + 2++; | |
+1 + 2--; | |
-++(1 + 2); | |
---(1 + 2); | |
+++1 + 2; | |
+--1 + 2; | |
-(x + x)++; | |
-(x + x)--; | |
+x + x++; | |
+x + x--; | |
-++(x + x); | |
---(x + x); | |
+++x + x; | |
+--x + x; | |
//OK | |
@@ -29,9 +29,9 @@ | |
--x; | |
-(x)++; | |
---(x); | |
+x++; | |
+--x; | |
-((x))++; | |
-((x))--; | |
+x++; | |
+x--; | |
x[x++]++; | |
../TypeScript/tests/cases/compiler/deduplicateImportsInSystem.ts | |
../TypeScript/tests/cases/compiler/deeplyNestedCheck.ts | |
../TypeScript/tests/cases/compiler/deeplyNestedCheck.ts: { index: 144, | |
lineNumber: 8, | |
column: 10, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/defaultArgsInFunctionExpressions.ts | |
../TypeScript/tests/cases/compiler/defaultArgsInFunctionExpressions.ts: { index: 803, | |
lineNumber: 25, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/defaultArgsInOverloads.ts | |
../TypeScript/tests/cases/compiler/defaultBestCommonTypesHaveDecls.ts | |
../TypeScript/tests/cases/compiler/defaultIndexProps1.ts | |
../TypeScript/tests/cases/compiler/defaultIndexProps2.ts | |
../TypeScript/tests/cases/compiler/defaultOfAnyInStrictNullChecks.ts | |
../TypeScript/tests/cases/compiler/defaultParameterAddsUndefinedWithStrictNullChecks.ts | |
../TypeScript/tests/cases/compiler/defaultValueInConstructorOverload1.ts | |
../TypeScript/tests/cases/compiler/defaultValueInFunctionOverload1.ts | |
../TypeScript/tests/cases/compiler/defaultValueInFunctionTypes.ts | |
../TypeScript/tests/cases/compiler/defaultValueInFunctionTypes.ts: { index: 43, | |
lineNumber: 2, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/deleteOperator1.ts | |
../TypeScript/tests/cases/compiler/deleteOperatorInStrictMode.ts | |
../TypeScript/tests/cases/compiler/deleteReadonly.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,9 +11,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -92,9 +87,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,4 @@ | |
interface A { | |
- readonly b | |
+ b | |
} | |
var a: A = { | |
@@ -9,12 +9,12 @@ | |
interface B { | |
- readonly [k: string]: string | |
+ [k: string]: string | |
} | |
var b: B = { | |
- 'test': 'test' | |
+ test: "test" | |
}; | |
-delete b['test']; | |
+delete b["test"]; | |
-delete ((((b['test'])))); | |
+delete b["test"]; | |
../TypeScript/tests/cases/compiler/dependencyViaImportAlias.ts | |
../TypeScript/tests/cases/compiler/deprecatedBool.ts | |
../TypeScript/tests/cases/compiler/derivedClassConstructorWithExplicitReturns01.ts | |
../TypeScript/tests/cases/compiler/derivedClasses.ts | |
../TypeScript/tests/cases/compiler/derivedClassOverridesPrivateFunction1.ts | |
../TypeScript/tests/cases/compiler/derivedInterfaceCallSignature.ts | |
../TypeScript/tests/cases/compiler/derivedTypeCallingBaseImplWithOptionalParams.ts | |
../TypeScript/tests/cases/compiler/derivedTypeIncompatibleSignatures.ts | |
../TypeScript/tests/cases/compiler/destructureOptionalParameter.ts | |
../TypeScript/tests/cases/compiler/destructuringAssignmentWithDefault.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations1.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations2.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations3.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations4.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations5.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations6.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations7.ts | |
../TypeScript/tests/cases/compiler/destructuringInVariableDeclarations8.ts | |
../TypeScript/tests/cases/compiler/destructuringPropertyAssignmentNameIsNotAssignmentTarget.ts | |
../TypeScript/tests/cases/compiler/destructuringWithGenericParameter.ts | |
../TypeScript/tests/cases/compiler/destructuringWithNewExpression.ts | |
../TypeScript/tests/cases/compiler/destructuringWithNumberLiteral.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfConstructor1.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfConstructor2.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfFunctionBody1.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfFunctionBody2.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfLambdaFunction1.ts | |
../TypeScript/tests/cases/compiler/detachedCommentAtStartOfLambdaFunction2.ts | |
../TypeScript/tests/cases/compiler/differentTypesWithSameName.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
} | |
+ | |
export function doSomething(v: m.variable) { | |
} | |
../TypeScript/tests/cases/compiler/discriminantPropertyCheck.ts | |
../TypeScript/tests/cases/compiler/discriminantsAndNullOrUndefined.ts | |
../TypeScript/tests/cases/compiler/discriminantsAndPrimitives.ts | |
../TypeScript/tests/cases/compiler/discriminantsAndTypePredicates.ts | |
../TypeScript/tests/cases/compiler/discriminatedUnionErrorMessage.ts | |
../TypeScript/tests/cases/compiler/doNotEmitDetachedComments.ts | |
../TypeScript/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts | |
../TypeScript/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts | |
../TypeScript/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts | |
../TypeScript/tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts | |
../TypeScript/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts | |
../TypeScript/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts | |
../TypeScript/tests/cases/compiler/doNotEmitPinnedDetachedComments.ts | |
../TypeScript/tests/cases/compiler/doNotemitTripleSlashComments.ts | |
../TypeScript/tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts | |
../TypeScript/tests/cases/compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts | |
../TypeScript/tests/cases/compiler/doNotWidenAtObjectLiteralPropertyAssignment.ts | |
../TypeScript/tests/cases/compiler/dontShowCompilerGeneratedMembers.ts | |
../TypeScript/tests/cases/compiler/dontShowCompilerGeneratedMembers.ts: { index: 31, | |
lineNumber: 3, | |
column: 5, | |
message: 'Type parameter declaration expected.' } | |
../TypeScript/tests/cases/compiler/dottedModuleName.ts | |
../TypeScript/tests/cases/compiler/dottedModuleName.ts: { index: 63, | |
lineNumber: 3, | |
column: 28, | |
message: '\'{\' or \';\' expected.' } | |
../TypeScript/tests/cases/compiler/dottedModuleName2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -256,12 +256,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "A" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,42 +1,23 @@ | |
-module A.B { | |
- | |
+namespace A.B { | |
export var x = 1; | |
- | |
} | |
- | |
- | |
- | |
-module AA { export module B { | |
- | |
- export var x = 1; | |
- | |
-} } | |
- | |
- | |
- | |
+ | |
+namespace AA { | |
+ export namespace B { export var x = 1; } | |
+} | |
+ | |
var tmpOK = AA.B.x; | |
- | |
+ | |
var tmpError = A.B.x; | |
+namespace A.B.C { | |
+ export var x = 1; | |
+} | |
-module A.B.C | |
- | |
-{ | |
- | |
- export var x = 1; | |
- | |
+namespace M { | |
+ import X1 = A; | |
+ | |
+ import X2 = A.B; | |
+ | |
+ import X3 = undefined.C; | |
} | |
- | |
- | |
- | |
-module M | |
- | |
-{ | |
- | |
- import X1 = A; | |
- | |
- import X2 = A.B; | |
- | |
- import X3 = A.B.C; | |
- | |
-} | |
../TypeScript/tests/cases/compiler/dottedNamesInSystem.ts | |
../TypeScript/tests/cases/compiler/dottedSymbolResolution1.ts | |
../TypeScript/tests/cases/compiler/doubleUnderStringLiteralAssignability.ts | |
../TypeScript/tests/cases/compiler/doWhileLoop.ts | |
../TypeScript/tests/cases/compiler/doWhileUnreachableCode.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst1.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst1.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1121:20) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
../TypeScript/tests/cases/compiler/downlevelLetConst10.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst11.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst12.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst13.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst14.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst15.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst16.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst17.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst18.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst19.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst2.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst3.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst4.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst5.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst6.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst7.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst8.ts | |
../TypeScript/tests/cases/compiler/downlevelLetConst9.ts | |
../TypeScript/tests/cases/compiler/duplicateAnonymousInners1.ts | |
../TypeScript/tests/cases/compiler/duplicateAnonymousModuleClasses.ts | |
../TypeScript/tests/cases/compiler/duplicateClassElements.ts | |
../TypeScript/tests/cases/compiler/duplicateConstructorOverloadSignature.ts | |
../TypeScript/tests/cases/compiler/duplicateConstructorOverloadSignature2.ts | |
../TypeScript/tests/cases/compiler/duplicateConstructSignature.ts | |
../TypeScript/tests/cases/compiler/duplicateConstructSignature2.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierComputedName.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierDifferentModifiers.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierDifferentSpelling.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierInCatchBlock.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifiersAcrossContainerBoundaries.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifiersAcrossFileBoundaries.ts | |
../TypeScript/tests/cases/compiler/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.ts | |
../TypeScript/tests/cases/compiler/duplicateInterfaceMembers1.ts | |
../TypeScript/tests/cases/compiler/duplicateLabel1.ts | |
../TypeScript/tests/cases/compiler/duplicateLabel2.ts | |
../TypeScript/tests/cases/compiler/duplicateLabel3.ts | |
../TypeScript/tests/cases/compiler/duplicateLabel4.ts | |
../TypeScript/tests/cases/compiler/duplicateLocalVariable1.ts | |
../TypeScript/tests/cases/compiler/duplicateLocalVariable1.ts: { index: 37, | |
lineNumber: 3, | |
column: 3, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/duplicateLocalVariable2.ts | |
../TypeScript/tests/cases/compiler/duplicateLocalVariable3.ts | |
../TypeScript/tests/cases/compiler/duplicateLocalVariable4.ts | |
../TypeScript/tests/cases/compiler/duplicateObjectLiteralProperty.ts | |
../TypeScript/tests/cases/compiler/duplicateOverloadInTypeAugmentation1.ts | |
../TypeScript/tests/cases/compiler/duplicatePropertiesInStrictMode.ts | |
../TypeScript/tests/cases/compiler/duplicateStringNamedProperty1.ts | |
../TypeScript/tests/cases/compiler/duplicateSymbolsExportMatching.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -52,4 +52,5 @@ | |
} | |
+ | |
export function F() { | |
} | |
../TypeScript/tests/cases/compiler/duplicateTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/duplicateTypeParameters2.ts | |
../TypeScript/tests/cases/compiler/duplicateTypeParameters2.ts: { index: 82, | |
lineNumber: 8, | |
column: 14, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/duplicateTypeParameters3.ts | |
../TypeScript/tests/cases/compiler/duplicateVarAndImport.ts | |
../TypeScript/tests/cases/compiler/duplicateVarAndImport2.ts | |
../TypeScript/tests/cases/compiler/duplicateVariableDeclaration1.ts | |
../TypeScript/tests/cases/compiler/duplicateVariablesByScope.ts | |
../TypeScript/tests/cases/compiler/duplicateVariablesWithAny.ts | |
../TypeScript/tests/cases/compiler/duplicateVarsAcrossFileBoundaries.ts | |
../TypeScript/tests/cases/compiler/dynamicModuleTypecheckError.ts | |
../TypeScript/tests/cases/compiler/dynamicRequire.ts | |
../TypeScript/tests/cases/compiler/elaboratedErrors.ts | |
../TypeScript/tests/cases/compiler/elidingImportNames.ts | |
../TypeScript/tests/cases/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.ts | |
../TypeScript/tests/cases/compiler/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.ts | |
../TypeScript/tests/cases/compiler/emitBOM.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithPrologueDirectives1.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithShebang1.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithShebang1.ts: { index: 62, | |
lineNumber: 5, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/emitBundleWithShebang2.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithShebang2.ts: { index: 85, | |
lineNumber: 6, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives1.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives1.ts: { index: 85, | |
lineNumber: 6, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives2.ts | |
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives2.ts: { index: 85, | |
lineNumber: 6, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/emitCapturingThisInTupleDestructuring1.ts | |
../TypeScript/tests/cases/compiler/emitCapturingThisInTupleDestructuring2.ts | |
../TypeScript/tests/cases/compiler/emitCommentsOnlyFile.ts | |
../TypeScript/tests/cases/compiler/emitDecoratorMetadata_object.ts | |
../TypeScript/tests/cases/compiler/emitDecoratorMetadata_object.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/emitDecoratorMetadata_restArgs.ts | |
../TypeScript/tests/cases/compiler/emitDecoratorMetadata_restArgs.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/emitMemberAccessExpression.ts | |
../TypeScript/tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts | |
../TypeScript/tests/cases/compiler/emitPostComments.ts | |
../TypeScript/tests/cases/compiler/emitPreComments.ts | |
../TypeScript/tests/cases/compiler/emitSkipsThisWithRestParameter.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitPropertyDeclaration1.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitPropertyDeclaration1ES6.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.ts | |
../TypeScript/tests/cases/compiler/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.ts | |
../TypeScript/tests/cases/compiler/emitThisInSuperMethodCall.ts | |
../TypeScript/tests/cases/compiler/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts | |
../TypeScript/tests/cases/compiler/emptyEnum.ts | |
../TypeScript/tests/cases/compiler/emptyExpr.ts | |
../TypeScript/tests/cases/compiler/emptyFile-declaration.ts | |
../TypeScript/tests/cases/compiler/emptyFile-souremap.ts | |
../TypeScript/tests/cases/compiler/emptyFile.ts | |
../TypeScript/tests/cases/compiler/emptyGenericParamList.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -41,6 +41,5 @@ | |
"type": "Identifier", | |
"name": "I" | |
- }, | |
- "typeArguments": [] | |
+ } | |
} | |
} | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,2 +1,2 @@ | |
class I<T> {} | |
-var x: I<>; | |
\ No newline at end of file | |
+var x: I; | |
../TypeScript/tests/cases/compiler/emptyIndexer.ts | |
../TypeScript/tests/cases/compiler/emptyMemberAccess.ts | |
../TypeScript/tests/cases/compiler/emptyMemberAccess.ts: { index: 27, | |
lineNumber: 3, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/emptyModuleName.ts | |
../TypeScript/tests/cases/compiler/emptyThenWarning.ts | |
../TypeScript/tests/cases/compiler/emptyThenWithoutWarning.ts | |
../TypeScript/tests/cases/compiler/emptyTypeArgumentList.ts | |
../TypeScript/tests/cases/compiler/emptyTypeArgumentListWithNew.ts | |
../TypeScript/tests/cases/compiler/enumAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/enumAssignmentCompat2.ts | |
../TypeScript/tests/cases/compiler/enumAssignmentCompat3.ts | |
../TypeScript/tests/cases/compiler/enumAssignmentCompat4.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export enum MyEnum { BAR } | |
+ | |
export var object2 = { | |
foo: MyEnum.BAR | |
@@ -10,4 +11,5 @@ | |
export enum MyEnum { FOO } | |
+ | |
export var object1 = { | |
foo: MyEnum.FOO | |
../TypeScript/tests/cases/compiler/enumAssignmentCompat5.ts | |
../TypeScript/tests/cases/compiler/enumBasics1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,5 +8,5 @@ | |
function foo(e: E) {} | |
-foo(a); // shouldn't error | |
+foo(a); shouldn't error | |
../TypeScript/tests/cases/compiler/enumCodeGenNewLines1.ts | |
../TypeScript/tests/cases/compiler/enumConflictsWithGlobalIdentifier.ts | |
../TypeScript/tests/cases/compiler/enumConflictsWithGlobalIdentifier.ts: { index: 79, | |
lineNumber: 4, | |
column: 28, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/enumDecl1.ts | |
../TypeScript/tests/cases/compiler/enumFromExternalModule.ts | |
../TypeScript/tests/cases/compiler/enumGenericTypeClash.ts | |
../TypeScript/tests/cases/compiler/enumIdentifierLiterals.ts | |
../TypeScript/tests/cases/compiler/enumIndexer.ts | |
../TypeScript/tests/cases/compiler/enumInitializersWithExponents.ts | |
../TypeScript/tests/cases/compiler/enumLiteralAssignableToEnumInsideUnion.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -345,12 +345,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foo" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -366,12 +359,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foo" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -431,12 +417,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foo" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -496,12 +475,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foo" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,28 +1,18 @@ | |
-module X { | |
- export enum Foo { | |
- A, B | |
- } | |
+namespace X { | |
+ export enum Foo { A, B } | |
} | |
-module Y { | |
- export enum Foo { | |
- A, B | |
- } | |
+namespace Y { | |
+ export enum Foo { A, B } | |
} | |
-module Z { | |
- export enum Foo { | |
- A = 1 << 1, | |
- B = 1 << 2, | |
- } | |
+namespace Z { | |
+ export enum Foo { A = 1 << 1, B = 1 << 2 } | |
} | |
-module Ka { | |
- export enum Foo { | |
- A = 1 << 10, | |
- B = 1 << 11, | |
- } | |
+namespace Ka { | |
+ export enum Foo { A = 1 << 10, B = 1 << 11 } | |
} | |
const e0: X.Foo | boolean = Y.Foo.A; // ok | |
const e1: X.Foo | boolean = Z.Foo.A; // not legal, Z is computed | |
-const e2: X.Foo.A | X.Foo.B | boolean = Z.Foo.A; // still not legal | |
-const e3: X.Foo.B | boolean = Z.Foo.A; // not legal | |
-const e4: X.Foo.A | boolean = Z.Foo.A; // not legal either because Z.Foo is computed and Z.Foo.A is not necessarily assignable to X.Foo.A | |
+const e2: undefined.A | undefined.B | boolean = Z.Foo.A; // still not legal | |
+const e3: undefined.B | boolean = Z.Foo.A; // not legal | |
+const e4: undefined.A | boolean = Z.Foo.A; // not legal either because Z.Foo is computed and Z.Foo.A is not necessarily assignable to X.Foo.A | |
const e5: Ka.Foo | boolean = Z.Foo.A; // ok | |
../TypeScript/tests/cases/compiler/enumLiteralsSubtypeReduction.ts | |
../TypeScript/tests/cases/compiler/enumMapBackIntoItself.ts | |
../TypeScript/tests/cases/compiler/enumMemberResolution.ts | |
../TypeScript/tests/cases/compiler/enumMemberResolution.ts: { index: 78, | |
lineNumber: 4, | |
column: 28, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/enumNegativeLiteral1.ts | |
../TypeScript/tests/cases/compiler/enumNumbering1.ts | |
../TypeScript/tests/cases/compiler/enumOperations.ts | |
../TypeScript/tests/cases/compiler/enumPropertyAccess.ts | |
../TypeScript/tests/cases/compiler/enumsWithMultipleDeclarations1.ts | |
../TypeScript/tests/cases/compiler/enumsWithMultipleDeclarations2.ts | |
../TypeScript/tests/cases/compiler/enumsWithMultipleDeclarations3.ts | |
../TypeScript/tests/cases/compiler/enumUsedBeforeDeclaration.ts | |
../TypeScript/tests/cases/compiler/enumWithComputedMember.ts | |
../TypeScript/tests/cases/compiler/enumWithInfinityProperty.ts | |
../TypeScript/tests/cases/compiler/enumWithNaNProperty.ts | |
../TypeScript/tests/cases/compiler/enumWithNegativeInfinityProperty.ts | |
../TypeScript/tests/cases/compiler/enumWithoutInitializerAfterComputedMember.ts | |
../TypeScript/tests/cases/compiler/enumWithParenthesizedInitializer1.ts | |
../TypeScript/tests/cases/compiler/enumWithParenthesizedInitializer1.ts: { index: 20, | |
lineNumber: 3, | |
column: 0, | |
message: '\')\' expected.' } | |
../TypeScript/tests/cases/compiler/enumWithPrimitiveName.ts | |
../TypeScript/tests/cases/compiler/enumWithQuotedElementName1.ts | |
../TypeScript/tests/cases/compiler/enumWithQuotedElementName2.ts | |
../TypeScript/tests/cases/compiler/enumWithUnicodeEscape1.ts | |
../TypeScript/tests/cases/compiler/errorElaboration.ts | |
../TypeScript/tests/cases/compiler/errorForConflictingExportEqualsValue.ts | |
../TypeScript/tests/cases/compiler/errorForwardReferenceForwadingConstructor.ts | |
../TypeScript/tests/cases/compiler/errorHandlingInInstanceOf.ts | |
../TypeScript/tests/cases/compiler/errorHandlingInInstanceOf.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/errorLocationForInterfaceExtension.ts | |
../TypeScript/tests/cases/compiler/errorMessageOnObjectLiteralType.ts | |
../TypeScript/tests/cases/compiler/errorMessagesIntersectionTypes01.ts | |
../TypeScript/tests/cases/compiler/errorMessagesIntersectionTypes02.ts | |
../TypeScript/tests/cases/compiler/errorMessagesIntersectionTypes03.ts | |
../TypeScript/tests/cases/compiler/errorMessagesIntersectionTypes04.ts | |
../TypeScript/tests/cases/compiler/errorOnContextuallyTypedReturnType.ts | |
../TypeScript/tests/cases/compiler/errorOnInitializerInInterfaceProperty.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,8 +20,4 @@ | |
"type": "TSNumberKeyword" | |
} | |
- }, | |
- "initializer": { | |
- "type": "Literal", | |
- "value": 5 | |
} | |
} | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
interface Foo { | |
- bar: number = 5; | |
+ bar: number | |
} | |
../TypeScript/tests/cases/compiler/errorOnInitializerInObjectTypeLiteralProperty.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -26,8 +26,4 @@ | |
"type": "TSNumberKeyword" | |
} | |
- }, | |
- "initializer": { | |
- "type": "Literal", | |
- "value": 5 | |
} | |
} | |
@@ -65,8 +61,4 @@ | |
"type": "TSNumberKeyword" | |
} | |
- }, | |
- "initializer": { | |
- "type": "Literal", | |
- "value": 5 | |
} | |
} | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,7 @@ | |
var Foo: { | |
- bar: number = 5; | |
+ bar: number | |
}; | |
let Bar: { | |
- bar: number = 5; | |
+ bar: number | |
}; | |
../TypeScript/tests/cases/compiler/errorRecoveryInClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/errorRecoveryInClassDeclaration.ts: { index: 73, | |
lineNumber: 4, | |
column: 19, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.ts | |
../TypeScript/tests/cases/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.ts: { index: 72, | |
lineNumber: 4, | |
column: 14, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/errorsInGenericTypeReference.ts | |
../TypeScript/tests/cases/compiler/errorsInGenericTypeReference.ts: { index: 1166, | |
lineNumber: 42, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/errorsOnImportedSymbol.ts | |
../TypeScript/tests/cases/compiler/errorSupression1.ts | |
../TypeScript/tests/cases/compiler/errorTypesAsTypeArguments.ts | |
../TypeScript/tests/cases/compiler/errorWithTruncatedType.ts | |
../TypeScript/tests/cases/compiler/es2015modulekind.ts | |
../TypeScript/tests/cases/compiler/es2015modulekindWithES6Target.ts | |
../TypeScript/tests/cases/compiler/es2017basicAsync.ts | |
../TypeScript/tests/cases/compiler/es3-amd.ts | |
../TypeScript/tests/cases/compiler/es3-declaration-amd.ts | |
../TypeScript/tests/cases/compiler/es3-oldStyleOctalLiteralInEnums.ts | |
../TypeScript/tests/cases/compiler/es3-oldStyleOctalLiteralTypes.ts | |
../TypeScript/tests/cases/compiler/es3-sourcemap-amd.ts | |
../TypeScript/tests/cases/compiler/es3defaultAliasIsQuoted.ts | |
../TypeScript/tests/cases/compiler/es5-amd.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunction.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionArrayLiterals.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionBinaryExpressions.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionBinaryExpressions.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionCallExpressions.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionConditionals.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionDoStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionElementAccess.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionForInStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionForOfStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionForStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionHoisting.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionIfStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionNestedLoops.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionNewExpressions.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionObjectLiterals.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionPropertyAccess.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionReturnStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionSwitchStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionTryStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionWhileStatements.ts | |
../TypeScript/tests/cases/compiler/es5-asyncFunctionWithStatements.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs2.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs3.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs4.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs5.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs6.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs7.ts | |
../TypeScript/tests/cases/compiler/es5-commonjs8.ts | |
../TypeScript/tests/cases/compiler/es5-declaration-amd.ts | |
../TypeScript/tests/cases/compiler/es5-importHelpersAsyncFunctions.ts | |
../TypeScript/tests/cases/compiler/es5-oldStyleOctalLiteralInEnums.ts | |
../TypeScript/tests/cases/compiler/es5-souremap-amd.ts | |
../TypeScript/tests/cases/compiler/es5-system.ts | |
../TypeScript/tests/cases/compiler/es5-system2.ts | |
../TypeScript/tests/cases/compiler/es5-umd.ts | |
../TypeScript/tests/cases/compiler/es5-umd2.ts | |
../TypeScript/tests/cases/compiler/es5-umd3.ts | |
../TypeScript/tests/cases/compiler/es5-umd4.ts | |
../TypeScript/tests/cases/compiler/es5andes6module.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultClassDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultClassDeclaration3.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultClassDeclaration4.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -92,5 +92,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
}, | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,13 +4,13 @@ | |
declare module "foo" { | |
- export var before: C; | |
+ export var before: C; | |
- export default class C { | |
- method(): C; | |
- } | |
- export var after: C; | |
+ export class C { | |
+ method(): C; | |
+ } | |
- export var t: typeof C; | |
+ export var after: C; | |
+ | |
+ export var t: typeof C; | |
} | |
- | |
../TypeScript/tests/cases/compiler/es5ExportDefaultExpression.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultFunctionDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultFunctionDeclaration3.ts | |
../TypeScript/tests/cases/compiler/es5ExportDefaultFunctionDeclaration4.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -63,5 +63,7 @@ | |
} | |
} | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
}, | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,8 +4,8 @@ | |
declare module "bar" { | |
- var before: typeof func; | |
+ var before: typeof func; | |
- export default function func(): typeof func; | |
+ export function func(): typeof func | |
\ No newline at end of file | |
- var after: typeof func; | |
-} | |
+ var after: typeof func; | |
+} | |
../TypeScript/tests/cases/compiler/es5ExportDefaultIdentifier.ts | |
../TypeScript/tests/cases/compiler/es5ExportEquals.ts | |
../TypeScript/tests/cases/compiler/es5ExportEqualsDts.ts | |
../TypeScript/tests/cases/compiler/es5ModuleInternalNamedImports.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -24,4 +24,5 @@ | |
} | |
+ | |
export function M_F() { | |
} | |
../TypeScript/tests/cases/compiler/es5ModuleWithModuleGenAmd.ts | |
../TypeScript/tests/cases/compiler/es5ModuleWithModuleGenCommonjs.ts | |
../TypeScript/tests/cases/compiler/es5ModuleWithoutModuleGenTarget.ts | |
../TypeScript/tests/cases/compiler/es6-amd.ts | |
../TypeScript/tests/cases/compiler/es6-declaration-amd.ts | |
../TypeScript/tests/cases/compiler/es6-sourcemap-amd.ts | |
../TypeScript/tests/cases/compiler/es6-umd.ts | |
../TypeScript/tests/cases/compiler/es6-umd2.ts | |
../TypeScript/tests/cases/compiler/es6ClassSuperCodegenBug.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest2.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest2.ts: { index: 398, | |
lineNumber: 20, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/es6ClassTest3.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest4.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest5.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest7.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest8.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest9.ts | |
../TypeScript/tests/cases/compiler/es6ClassTest9.ts: { index: 17, | |
lineNumber: 1, | |
column: 17, | |
message: '\'{\' expected.' } | |
../TypeScript/tests/cases/compiler/es6DeclOrdering.ts | |
../TypeScript/tests/cases/compiler/es6ExportAll.ts | |
../TypeScript/tests/cases/compiler/es6ExportAllInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ExportAssignment.ts | |
../TypeScript/tests/cases/compiler/es6ExportAssignment2.ts | |
../TypeScript/tests/cases/compiler/es6ExportAssignment3.ts | |
../TypeScript/tests/cases/compiler/es6ExportAssignment4.ts | |
../TypeScript/tests/cases/compiler/es6ExportClause.ts | |
../TypeScript/tests/cases/compiler/es6ExportClauseInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ExportClauseWithAssignmentInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ExportClauseWithoutModuleSpecifier.ts | |
../TypeScript/tests/cases/compiler/es6ExportClauseWithoutModuleSpecifierInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultClassDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultExpression.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultFunctionDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es6ExportDefaultIdentifier.ts | |
../TypeScript/tests/cases/compiler/es6ExportEquals.ts | |
../TypeScript/tests/cases/compiler/es6ExportEqualsInterop.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBinding.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingAmd.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingDts.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport1.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport1InEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport1WithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts1.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportWithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1WithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts1.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingWithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingMergeErrors.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingNoDefaultProperty.ts | |
../TypeScript/tests/cases/compiler/es6ImportDefaultBindingWithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportEqualsDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ImportEqualsDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImport.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportAmd.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportDts.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportIdentifiersParsing.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportIdentifiersParsing.ts: { index: 76, | |
lineNumber: 4, | |
column: 9, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportInExportAssignment.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportInIndirectExportAssignment.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportMergeErrors.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportNoExportMember.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportNoNamedExports.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportParsingError.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportParsingError.ts: { index: 194, | |
lineNumber: 9, | |
column: 9, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportWithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportNamedImportWithTypesAndValues.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImport.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportAmd.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportDts.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportMergeErrors.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportNoNamedExports.ts | |
../TypeScript/tests/cases/compiler/es6ImportNameSpaceImportWithExport.ts | |
../TypeScript/tests/cases/compiler/es6ImportParseErrors.ts | |
../TypeScript/tests/cases/compiler/es6ImportParseErrors.ts: { index: 19, | |
lineNumber: 3, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/es6ImportWithoutFromClause.ts | |
../TypeScript/tests/cases/compiler/es6ImportWithoutFromClauseAmd.ts | |
../TypeScript/tests/cases/compiler/es6ImportWithoutFromClauseInEs5.ts | |
../TypeScript/tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/es6ImportWithoutFromClauseWithExport.ts | |
../TypeScript/tests/cases/compiler/es6MemberScoping.ts | |
../TypeScript/tests/cases/compiler/es6Module.ts | |
../TypeScript/tests/cases/compiler/es6ModuleClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ModuleConst.ts | |
../TypeScript/tests/cases/compiler/es6ModuleConstEnumDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ModuleConstEnumDeclaration2.ts | |
../TypeScript/tests/cases/compiler/es6ModuleEnumDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ModuleFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ModuleInternalImport.ts | |
../TypeScript/tests/cases/compiler/es6ModuleInternalNamedImports.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -23,4 +23,5 @@ | |
} | |
+ | |
export function M_F() { | |
} | |
../TypeScript/tests/cases/compiler/es6ModuleInternalNamedImports2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -21,4 +21,5 @@ | |
} | |
+ | |
export function M_F() { | |
} | |
../TypeScript/tests/cases/compiler/es6modulekind.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES2015Target.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,5 +11,5 @@ | |
declare function foo(...args: any[]): any | |
-foo | |
+foo; | |
export class D { | |
static s = 0; | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target10.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target11.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,5 +4,5 @@ | |
declare function foo(...args: any[]): any | |
-foo | |
+foo; | |
export default class C { | |
static x() { | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target12.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target2.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target3.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,5 +4,5 @@ | |
declare function foo(...args: any[]): any | |
-foo | |
+foo; | |
export default class D { | |
static s = 0; | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target4.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target5.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target6.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target7.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target8.ts | |
../TypeScript/tests/cases/compiler/es6modulekindWithES5Target9.ts | |
../TypeScript/tests/cases/compiler/es6ModuleLet.ts | |
../TypeScript/tests/cases/compiler/es6ModuleModuleDeclaration.ts | |
../TypeScript/tests/cases/compiler/es6ModuleVariableStatement.ts | |
../TypeScript/tests/cases/compiler/es6ModuleWithModuleGenTargetAmd.ts | |
../TypeScript/tests/cases/compiler/es6ModuleWithModuleGenTargetCommonjs.ts | |
../TypeScript/tests/cases/compiler/es6UseOfTopLevelRequire.ts | |
../TypeScript/tests/cases/compiler/escapedIdentifiers.ts | |
../TypeScript/tests/cases/compiler/escapedIdentifiers.ts: { index: 1093, | |
lineNumber: 63, | |
column: 50, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/escapedReservedCompilerNamedIdentifier.ts | |
../TypeScript/tests/cases/compiler/evalAfter0.ts | |
../TypeScript/tests/cases/compiler/excessPropertyCheckWithEmptyObject.ts | |
../TypeScript/tests/cases/compiler/excessPropertyErrorForFunctionTypes.ts | |
../TypeScript/tests/cases/compiler/excessPropertyErrorsSuppressed.ts | |
../TypeScript/tests/cases/compiler/exhaustiveSwitchWithWideningLiteralTypes.ts | |
../TypeScript/tests/cases/compiler/explicitAnyAfterSpreadNoImplicitAnyError.ts | |
../TypeScript/tests/cases/compiler/exportAlreadySeen.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var x = 1; | |
+ | |
export function f() { | |
} | |
../TypeScript/tests/cases/compiler/exportArrayBindingPattern.ts | |
../TypeScript/tests/cases/compiler/exportAsNamespace.d.ts | |
../TypeScript/tests/cases/compiler/exportAssignClassAndModule.ts | |
../TypeScript/tests/cases/compiler/exportAssignedTypeAsTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/ExportAssignment7.ts | |
../TypeScript/tests/cases/compiler/ExportAssignment8.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentClass.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentEnum.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentError.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentFunction.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentInterface.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentInternalModule.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentOfDeclaredExternalModule.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentOfGenericType1.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentVariable.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithDeclareAndExportModifiers.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithDeclareModifier.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithExportModifier.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithExports.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithImportStatementPrivacyError.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithoutIdentifier1.ts | |
../TypeScript/tests/cases/compiler/exportAssignmentWithPrivacyError.ts | |
../TypeScript/tests/cases/compiler/exportAssignValueAndType.ts | |
../TypeScript/tests/cases/compiler/exportClassExtendingIntersection.ts | |
../TypeScript/tests/cases/compiler/exportDeclarationInInternalModule.ts | |
../TypeScript/tests/cases/compiler/exportDeclarationsInAmbientNamespaces.ts | |
../TypeScript/tests/cases/compiler/exportDeclarationsInAmbientNamespaces2.ts | |
../TypeScript/tests/cases/compiler/exportDeclarationWithModuleSpecifierNameOnNextLine1.ts | |
../TypeScript/tests/cases/compiler/exportDeclareClass1.ts | |
../TypeScript/tests/cases/compiler/exportDefaultAbstractClass.ts | |
../TypeScript/tests/cases/compiler/exportDefaultAsyncFunction.ts | |
../TypeScript/tests/cases/compiler/exportDefaultAsyncFunction2.ts | |
../TypeScript/tests/cases/compiler/exportDefaultForNonInstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/exportDefaultProperty.ts | |
../TypeScript/tests/cases/compiler/exportDefaultProperty2.ts | |
../TypeScript/tests/cases/compiler/exportDefaultVariable.ts | |
../TypeScript/tests/cases/compiler/exportedBlockScopedDeclarations.ts | |
../TypeScript/tests/cases/compiler/exportedInterfaceInaccessibleInCallbackInModule.ts | |
../TypeScript/tests/cases/compiler/exportedVariable1.ts | |
../TypeScript/tests/cases/compiler/exportEqualCallable.ts | |
../TypeScript/tests/cases/compiler/exportEqualErrorType.ts | |
../TypeScript/tests/cases/compiler/exportEqualMemberMissing.ts | |
../TypeScript/tests/cases/compiler/exportEqualNamespaces.ts | |
../TypeScript/tests/cases/compiler/exportEqualsAmd.ts | |
../TypeScript/tests/cases/compiler/exportEqualsCommonJs.ts | |
../TypeScript/tests/cases/compiler/exportEqualsDefaultProperty.ts | |
../TypeScript/tests/cases/compiler/exportEqualsOfModule.ts | |
../TypeScript/tests/cases/compiler/exportEqualsProperty.ts | |
../TypeScript/tests/cases/compiler/exportEqualsProperty2.ts | |
../TypeScript/tests/cases/compiler/exportEqualsUmd.ts | |
../TypeScript/tests/cases/compiler/exportImport.ts | |
../TypeScript/tests/cases/compiler/exportImportAndClodule.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -321,12 +321,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "M" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "D" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,19 +1,20 @@ | |
-module K { | |
- export class L { | |
- constructor(public name: string) { } | |
+namespace K { | |
+ | |
+ export class L { | |
+ constructor(public name: string) {} | |
+ } | |
+ export namespace L { | |
+ export var y = 12; | |
+ export interface Point { | |
+ x: number, | |
+ y: number | |
} | |
- export module L { | |
- export var y = 12; | |
- export interface Point { | |
- x: number; | |
- y: number; | |
\ No newline at end of file | |
- } | |
- } | |
+ } | |
} | |
-module M { | |
- export import D = K.L; | |
+namespace M { | |
+ export import D = K.L; | |
} | |
var o: { name: string }; | |
-var o = new M.D('Hello'); | |
-var p: { x: number; y: number; } | |
-var p: M.D.Point; | |
+var o = new M.D("Hello"); | |
+var p: { x: number, y: number }; | |
+var p: undefined.Point; | |
../TypeScript/tests/cases/compiler/exportImportMultipleFiles.ts | |
../TypeScript/tests/cases/compiler/exportImportNonInstantiatedModule.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -85,12 +85,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "A1" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,10 +1,9 @@ | |
-module A { | |
- export interface I { x: number } | |
+namespace A { | |
+ export interface I { x: number } | |
} | |
-module B { | |
- export import A1 = A | |
- | |
+namespace B { | |
\ No newline at end of file | |
+ export import A1 = A; | |
} | |
-var x: B.A1.I = { x: 1 }; | |
+var x: undefined.I = { x: 1 }; | |
../TypeScript/tests/cases/compiler/exportImportNonInstantiatedModule2.ts | |
../TypeScript/tests/cases/compiler/exportInFunction.ts | |
../TypeScript/tests/cases/compiler/exportInFunction.ts: { index: 33, | |
lineNumber: 3, | |
column: 0, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/exportingContainingVisibleType.ts | |
../TypeScript/tests/cases/compiler/exportPrivateType.ts | |
../TypeScript/tests/cases/compiler/exportRedeclarationTypeAliases.ts | |
../TypeScript/tests/cases/compiler/exportSameNameFuncVar.ts | |
../TypeScript/tests/cases/compiler/exportsInAmbientModules1.ts | |
../TypeScript/tests/cases/compiler/exportsInAmbientModules2.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierAndExportedMemberDeclaration.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierAndLocalMemberDeclaration.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierForAGlobal.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierReferencingOuterDeclaration3.ts | |
../TypeScript/tests/cases/compiler/exportSpecifierReferencingOuterDeclaration4.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues10.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues2.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues3.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues4.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues5.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues6.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues7.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues8.ts | |
../TypeScript/tests/cases/compiler/exportStarForValues9.ts | |
../TypeScript/tests/cases/compiler/exportStarForValuesInSystem.ts | |
../TypeScript/tests/cases/compiler/exportStarFromEmptyModule.ts | |
../TypeScript/tests/cases/compiler/exportToString.ts | |
../TypeScript/tests/cases/compiler/exportVisibility.ts | |
../TypeScript/tests/cases/compiler/expr.ts | |
../TypeScript/tests/cases/compiler/extBaseClass1.ts | |
../TypeScript/tests/cases/compiler/extBaseClass2.ts | |
../TypeScript/tests/cases/compiler/extendAndImplementTheSameBaseType.ts | |
../TypeScript/tests/cases/compiler/extendAndImplementTheSameBaseType2.ts | |
../TypeScript/tests/cases/compiler/extendArray.ts | |
../TypeScript/tests/cases/compiler/extendArray.ts: { index: 233, | |
lineNumber: 14, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/extendBaseClassBeforeItsDeclared.ts | |
../TypeScript/tests/cases/compiler/extendConstructSignatureInInterface.ts | |
../TypeScript/tests/cases/compiler/extendedInterfaceGenericType.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -110,14 +110,5 @@ | |
"type": "Identifier", | |
"name": "Alpha" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,7 @@ | |
interface Alpha<T> { | |
- takesArgOfT(arg: T): Alpha<T>; | |
- makeBetaOfNumber(): Beta<number>; | |
+ takesArgOfT(arg: T): Alpha<T>, | |
+ makeBetaOfNumber(): Beta<number> | |
} | |
-interface Beta<T> extends Alpha<T> { | |
-} | |
+interface Beta<T> extends Alpha {} | |
var alpha: Alpha<number>; | |
../TypeScript/tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts | |
../TypeScript/tests/cases/compiler/extendFromAny.ts | |
../TypeScript/tests/cases/compiler/extendGenericArray.ts | |
../TypeScript/tests/cases/compiler/extendGenericArray2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -62,14 +62,5 @@ | |
"type": "Identifier", | |
"name": "IFoo" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
interface IFoo<T> { | |
- x: T; | |
+ x: T | |
} | |
-interface Array<T> extends IFoo<T> { } | |
+interface Array<T> extends IFoo {} | |
\ No newline at end of file | |
var arr: string[] = []; | |
-var y: number = arr.x; | |
+var y: number = arr.x; | |
../TypeScript/tests/cases/compiler/extendingClassFromAliasAndUsageInIndexer.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,4 +7,5 @@ | |
// @Filename: extendingClassFromAliasAndUsageInIndexer_moduleA.ts | |
+ | |
import Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone"); | |
export class VisualizationModel extends Backbone.Model { | |
@@ -14,4 +15,5 @@ | |
// @Filename: extendingClassFromAliasAndUsageInIndexer_moduleB.ts | |
+ | |
import Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone"); | |
export class VisualizationModel extends Backbone.Model { | |
@@ -21,4 +23,5 @@ | |
// @Filename: extendingClassFromAliasAndUsageInIndexer_main.ts | |
+ | |
import Backbone = require("./extendingClassFromAliasAndUsageInIndexer_backbone"); | |
import moduleA = require("./extendingClassFromAliasAndUsageInIndexer_moduleA"); | |
../TypeScript/tests/cases/compiler/extendNonClassSymbol1.ts | |
../TypeScript/tests/cases/compiler/extendNonClassSymbol2.ts | |
../TypeScript/tests/cases/compiler/extendPrivateConstructorClass.ts | |
../TypeScript/tests/cases/compiler/extendsClauseAlreadySeen.ts | |
../TypeScript/tests/cases/compiler/extendsClauseAlreadySeen2.ts | |
../TypeScript/tests/cases/compiler/extendsUntypedModule.ts | |
../TypeScript/tests/cases/compiler/extendsUntypedModule.ts: { index: 194, | |
lineNumber: 6, | |
column: 5, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/extension.ts | |
../TypeScript/tests/cases/compiler/extension.ts: { index: 160, | |
lineNumber: 16, | |
column: 4, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/externalModuleAssignToVar.ts | |
../TypeScript/tests/cases/compiler/externalModuleExportingGenericClass.ts | |
../TypeScript/tests/cases/compiler/externalModuleImmutableBindings.ts | |
../TypeScript/tests/cases/compiler/externalModuleQualification.ts | |
../TypeScript/tests/cases/compiler/externalModuleReferenceDoubleUnderscore1.ts | |
../TypeScript/tests/cases/compiler/externalModuleReferenceOfImportDeclarationWithExportModifier.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
// @Filename: externalModuleReferenceOfImportDeclarationWithExportModifier_1.ts | |
+ | |
export import file1 = require("externalModuleReferenceOfImportDeclarationWithExportModifier_0"); | |
file1.foo(); | |
../TypeScript/tests/cases/compiler/externalModuleRefernceResolutionOrderInImportDeclaration.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,4 +11,5 @@ | |
///<reference path='externalModuleRefernceResolutionOrderInImportDeclaration_file2.ts'/> | |
+ | |
import file1 = require("./externalModuleRefernceResolutionOrderInImportDeclaration_file1"); | |
file1.foo(); | |
../TypeScript/tests/cases/compiler/externalModuleResolution.ts | |
../TypeScript/tests/cases/compiler/externalModuleResolution2.ts | |
../TypeScript/tests/cases/compiler/externalModuleWithoutCompilerFlag1.ts | |
../TypeScript/tests/cases/compiler/externFunc.ts | |
../TypeScript/tests/cases/compiler/externModule.ts | |
../TypeScript/tests/cases/compiler/externModule.ts: { index: 8, lineNumber: 1, column: 8, message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/externModuleClobber.ts | |
../TypeScript/tests/cases/compiler/externSemantics.ts | |
../TypeScript/tests/cases/compiler/externSyntax.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
} | |
+ | |
export class C { | |
public f(); | |
../TypeScript/tests/cases/compiler/fallbackToBindingPatternForTypeInference.ts | |
../TypeScript/tests/cases/compiler/fallFromLastCase1.ts | |
../TypeScript/tests/cases/compiler/fallFromLastCase2.ts | |
../TypeScript/tests/cases/compiler/fatArrowfunctionAsType.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctions.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsErrors.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsErrors.ts: { index: 41, | |
lineNumber: 2, | |
column: 7, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsInFunctionParameterDefaults.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsInFunctions.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgs.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgs.ts: { index: 2044, | |
lineNumber: 88, | |
column: 22, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors1.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts: { index: 22, | |
lineNumber: 1, | |
column: 22, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors3.ts | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors3.ts: { index: 4, | |
lineNumber: 1, | |
column: 4, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors4.ts | |
../TypeScript/tests/cases/compiler/fatArrowSelf.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,5 @@ | |
} | |
+ | |
export class EventEmitter { | |
public addListener(type: string, listener: ListenerCallback) {} | |
../TypeScript/tests/cases/compiler/fieldAndGetterWithSameName.ts | |
../TypeScript/tests/cases/compiler/fileReferencesWithNoExtensions.ts | |
../TypeScript/tests/cases/compiler/filesEmittingIntoSameOutput.ts | |
../TypeScript/tests/cases/compiler/filesEmittingIntoSameOutputWithOutOption.ts | |
../TypeScript/tests/cases/compiler/fileWithNextLine1.ts | |
../TypeScript/tests/cases/compiler/fileWithNextLine2.ts | |
../TypeScript/tests/cases/compiler/fileWithNextLine3.ts | |
../TypeScript/tests/cases/compiler/fillInMissingTypeArgsOnConstructCalls.ts | |
../TypeScript/tests/cases/compiler/fixingTypeParametersRepeatedly1.ts | |
../TypeScript/tests/cases/compiler/fixingTypeParametersRepeatedly2.ts | |
../TypeScript/tests/cases/compiler/fixingTypeParametersRepeatedly3.ts | |
../TypeScript/tests/cases/compiler/fixTypeParameterInSignatureWithRestParameters.ts | |
../TypeScript/tests/cases/compiler/flowAfterFinally1.ts | |
../TypeScript/tests/cases/compiler/flowInFinally1.ts | |
../TypeScript/tests/cases/compiler/for.ts | |
../TypeScript/tests/cases/compiler/for.ts: { index: 392, | |
lineNumber: 31, | |
column: 5, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/forIn.ts | |
../TypeScript/tests/cases/compiler/forIn2.ts | |
../TypeScript/tests/cases/compiler/forInModule.ts | |
../TypeScript/tests/cases/compiler/forInStatement1.ts | |
../TypeScript/tests/cases/compiler/forInStatement2.ts | |
../TypeScript/tests/cases/compiler/forInStatement3.ts | |
../TypeScript/tests/cases/compiler/forInStatement4.ts | |
../TypeScript/tests/cases/compiler/forInStatement5.ts | |
../TypeScript/tests/cases/compiler/forInStatement6.ts | |
../TypeScript/tests/cases/compiler/forInStatement7.ts | |
../TypeScript/tests/cases/compiler/forOfStringConstituents.ts | |
../TypeScript/tests/cases/compiler/forOfTransformsExpression.ts | |
../TypeScript/tests/cases/compiler/forwardRefInClassProperties.ts | |
../TypeScript/tests/cases/compiler/forwardRefInEnum.ts | |
../TypeScript/tests/cases/compiler/fromAsIdentifier1.ts | |
../TypeScript/tests/cases/compiler/fromAsIdentifier2.ts | |
../TypeScript/tests/cases/compiler/funcdecl.ts | |
../TypeScript/tests/cases/compiler/funClodule.ts | |
../TypeScript/tests/cases/compiler/functionAndImportNameConflict.ts | |
../TypeScript/tests/cases/compiler/functionAndInterfaceWithSeparateErrors.ts | |
../TypeScript/tests/cases/compiler/functionAndPropertyNameConflict.ts | |
../TypeScript/tests/cases/compiler/functionArgShadowing.ts | |
../TypeScript/tests/cases/compiler/functionAssignment.ts | |
../TypeScript/tests/cases/compiler/functionAssignmentError.ts | |
../TypeScript/tests/cases/compiler/functionCall1.ts | |
../TypeScript/tests/cases/compiler/functionCall10.ts | |
../TypeScript/tests/cases/compiler/functionCall11.ts | |
../TypeScript/tests/cases/compiler/functionCall12.ts | |
../TypeScript/tests/cases/compiler/functionCall13.ts | |
../TypeScript/tests/cases/compiler/functionCall14.ts | |
../TypeScript/tests/cases/compiler/functionCall15.ts | |
../TypeScript/tests/cases/compiler/functionCall16.ts | |
../TypeScript/tests/cases/compiler/functionCall17.ts | |
../TypeScript/tests/cases/compiler/functionCall2.ts | |
../TypeScript/tests/cases/compiler/functionCall3.ts | |
../TypeScript/tests/cases/compiler/functionCall4.ts | |
../TypeScript/tests/cases/compiler/functionCall5.ts | |
../TypeScript/tests/cases/compiler/functionCall6.ts | |
../TypeScript/tests/cases/compiler/functionCall7.ts | |
../TypeScript/tests/cases/compiler/functionCall8.ts | |
../TypeScript/tests/cases/compiler/functionCall9.ts | |
../TypeScript/tests/cases/compiler/FunctionDeclaration3.ts | |
../TypeScript/tests/cases/compiler/FunctionDeclaration4.ts | |
../TypeScript/tests/cases/compiler/FunctionDeclaration6.ts | |
../TypeScript/tests/cases/compiler/FunctionDeclaration7.ts | |
../TypeScript/tests/cases/compiler/functionDeclarationWithArgumentOfTypeFunctionTypeArray.ts | |
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeNamedArguments01.ts | |
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeNamedArguments01.ts: { index: 50, | |
lineNumber: 5, | |
column: 5, | |
message: 'JSX element \'arguments\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts | |
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts: { index: 42, | |
lineNumber: 5, | |
column: 5, | |
message: 'JSX element \'f\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/functionExpressionAndLambdaMatchesFunction.ts | |
../TypeScript/tests/cases/compiler/functionExpressionInWithBlock.ts | |
../TypeScript/tests/cases/compiler/functionExpressionReturningItself.ts | |
../TypeScript/tests/cases/compiler/functionExpressionShadowedByParams.ts | |
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeNamedArguments01.ts | |
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeNamedArguments01.ts: { index: 58, | |
lineNumber: 5, | |
column: 5, | |
message: 'JSX element \'arguments\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName01.ts | |
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName01.ts: { index: 50, | |
lineNumber: 5, | |
column: 5, | |
message: 'JSX element \'f\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName02.ts | |
../TypeScript/tests/cases/compiler/functionInIfStatementInModule.ts | |
../TypeScript/tests/cases/compiler/functionLikeInParameterInitializer.ts | |
../TypeScript/tests/cases/compiler/functionMergedWithModule.ts | |
../TypeScript/tests/cases/compiler/functionOnlyHasThrow.ts | |
../TypeScript/tests/cases/compiler/functionOverloadAmbiguity1.ts | |
../TypeScript/tests/cases/compiler/functionOverloadImplementationOfWrongName.ts | |
../TypeScript/tests/cases/compiler/functionOverloadImplementationOfWrongName2.ts | |
../TypeScript/tests/cases/compiler/functionOverloads.ts | |
../TypeScript/tests/cases/compiler/functionOverloads1.ts | |
../TypeScript/tests/cases/compiler/functionOverloads10.ts | |
../TypeScript/tests/cases/compiler/functionOverloads11.ts | |
../TypeScript/tests/cases/compiler/functionOverloads12.ts | |
../TypeScript/tests/cases/compiler/functionOverloads13.ts | |
../TypeScript/tests/cases/compiler/functionOverloads14.ts | |
../TypeScript/tests/cases/compiler/functionOverloads15.ts | |
../TypeScript/tests/cases/compiler/functionOverloads16.ts | |
../TypeScript/tests/cases/compiler/functionOverloads17.ts | |
../TypeScript/tests/cases/compiler/functionOverloads18.ts | |
../TypeScript/tests/cases/compiler/functionOverloads19.ts | |
../TypeScript/tests/cases/compiler/functionOverloads2.ts | |
../TypeScript/tests/cases/compiler/functionOverloads20.ts | |
../TypeScript/tests/cases/compiler/functionOverloads21.ts | |
../TypeScript/tests/cases/compiler/functionOverloads22.ts | |
../TypeScript/tests/cases/compiler/functionOverloads23.ts | |
../TypeScript/tests/cases/compiler/functionOverloads24.ts | |
../TypeScript/tests/cases/compiler/functionOverloads25.ts | |
../TypeScript/tests/cases/compiler/functionOverloads26.ts | |
../TypeScript/tests/cases/compiler/functionOverloads27.ts | |
../TypeScript/tests/cases/compiler/functionOverloads28.ts | |
../TypeScript/tests/cases/compiler/functionOverloads29.ts | |
../TypeScript/tests/cases/compiler/functionOverloads3.ts | |
../TypeScript/tests/cases/compiler/functionOverloads30.ts | |
../TypeScript/tests/cases/compiler/functionOverloads31.ts | |
../TypeScript/tests/cases/compiler/functionOverloads32.ts | |
../TypeScript/tests/cases/compiler/functionOverloads33.ts | |
../TypeScript/tests/cases/compiler/functionOverloads34.ts | |
../TypeScript/tests/cases/compiler/functionOverloads35.ts | |
../TypeScript/tests/cases/compiler/functionOverloads36.ts | |
../TypeScript/tests/cases/compiler/functionOverloads37.ts | |
../TypeScript/tests/cases/compiler/functionOverloads38.ts | |
../TypeScript/tests/cases/compiler/functionOverloads39.ts | |
../TypeScript/tests/cases/compiler/functionOverloads4.ts | |
../TypeScript/tests/cases/compiler/functionOverloads40.ts | |
../TypeScript/tests/cases/compiler/functionOverloads41.ts | |
../TypeScript/tests/cases/compiler/functionOverloads42.ts | |
../TypeScript/tests/cases/compiler/functionOverloads43.ts | |
../TypeScript/tests/cases/compiler/functionOverloads44.ts | |
../TypeScript/tests/cases/compiler/functionOverloads45.ts | |
../TypeScript/tests/cases/compiler/functionOverloads5.ts | |
../TypeScript/tests/cases/compiler/functionOverloads6.ts | |
../TypeScript/tests/cases/compiler/functionOverloads7.ts | |
../TypeScript/tests/cases/compiler/functionOverloads8.ts | |
../TypeScript/tests/cases/compiler/functionOverloads9.ts | |
../TypeScript/tests/cases/compiler/functionOverloadsOnGenericArity1.ts | |
../TypeScript/tests/cases/compiler/functionOverloadsOnGenericArity2.ts | |
../TypeScript/tests/cases/compiler/functionOverloadsOutOfOrder.ts | |
../TypeScript/tests/cases/compiler/functionOverloadsRecursiveGenericReturnType.ts | |
../TypeScript/tests/cases/compiler/functionReturn.ts | |
../TypeScript/tests/cases/compiler/functionReturningItself.ts | |
../TypeScript/tests/cases/compiler/functionSignatureAssignmentCompat1.ts | |
../TypeScript/tests/cases/compiler/functionsInClassExpressions.ts | |
../TypeScript/tests/cases/compiler/functionsMissingReturnStatementsAndExpressions.ts | |
../TypeScript/tests/cases/compiler/functionsMissingReturnStatementsAndExpressions.ts: { index: 2736, | |
lineNumber: 131, | |
column: 4, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/functionSubtypingOfVarArgs.ts | |
../TypeScript/tests/cases/compiler/functionSubtypingOfVarArgs2.ts | |
../TypeScript/tests/cases/compiler/functionsWithModifiersInBlocks1.ts | |
../TypeScript/tests/cases/compiler/functionType.ts | |
../TypeScript/tests/cases/compiler/functionTypeArgumentArrayAssignment.ts | |
../TypeScript/tests/cases/compiler/functionTypeArgumentAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/functionTypesLackingReturnTypes.ts | |
../TypeScript/tests/cases/compiler/functionTypesLackingReturnTypes.ts: { index: 38, | |
lineNumber: 3, | |
column: 16, | |
message: '\'=>\' expected.' } | |
../TypeScript/tests/cases/compiler/functionVariableInReturnTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/functionWithAnyReturnTypeAndNoReturnExpression.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements1.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements10.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements11.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements12.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements13.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements14.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements15.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements16.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements2.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements3.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements4.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements5.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements6.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements7.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements8.ts | |
../TypeScript/tests/cases/compiler/functionWithDefaultParameterWithNoStatements9.ts | |
../TypeScript/tests/cases/compiler/functionWithNoBestCommonType1.ts | |
../TypeScript/tests/cases/compiler/functionWithNoBestCommonType2.ts | |
../TypeScript/tests/cases/compiler/functionWithSameNameAsField.ts | |
../TypeScript/tests/cases/compiler/functionWithThrowButNoReturn1.ts | |
../TypeScript/tests/cases/compiler/funduleExportedClassIsUsedBeforeDeclaration.ts | |
../TypeScript/tests/cases/compiler/funduleOfFunctionWithoutReturnTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/funduleSplitAcrossFiles.ts | |
../TypeScript/tests/cases/compiler/funduleUsedAcrossFileBoundary.ts | |
../TypeScript/tests/cases/compiler/fuzzy.ts | |
../TypeScript/tests/cases/compiler/fuzzy.ts: { index: 340, | |
lineNumber: 17, | |
column: 33, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/generativeRecursionWithTypeOf.ts | |
../TypeScript/tests/cases/compiler/generatorES6InAMDModule.ts | |
../TypeScript/tests/cases/compiler/generatorES6_1.ts | |
../TypeScript/tests/cases/compiler/generatorES6_2.ts | |
../TypeScript/tests/cases/compiler/generatorES6_3.ts | |
../TypeScript/tests/cases/compiler/generatorES6_4.ts | |
../TypeScript/tests/cases/compiler/generatorES6_5.ts | |
../TypeScript/tests/cases/compiler/generatorES6_6.ts | |
../TypeScript/tests/cases/compiler/generatorTransformFinalLabel.ts | |
../TypeScript/tests/cases/compiler/genericAndNonGenericInheritedSignature1.ts | |
../TypeScript/tests/cases/compiler/genericAndNonGenericInheritedSignature2.ts | |
../TypeScript/tests/cases/compiler/genericAndNonGenericOverload1.ts | |
../TypeScript/tests/cases/compiler/genericArgumentCallSigAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/genericArray0.ts | |
../TypeScript/tests/cases/compiler/genericArray1.ts | |
../TypeScript/tests/cases/compiler/genericArrayAssignment1.ts | |
../TypeScript/tests/cases/compiler/genericArrayAssignmentCompatErrors.ts | |
../TypeScript/tests/cases/compiler/genericArrayExtenstions.ts | |
../TypeScript/tests/cases/compiler/genericArrayMethods1.ts | |
../TypeScript/tests/cases/compiler/genericArrayPropertyAssignment.ts | |
../TypeScript/tests/cases/compiler/genericArrayWithoutTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/genericAssignmentCompatOfFunctionSignatures1.ts | |
../TypeScript/tests/cases/compiler/genericAssignmentCompatWithInterfaces1.ts | |
../TypeScript/tests/cases/compiler/genericAssignmentCompatWithInterfaces1.ts: { index: 446, | |
lineNumber: 17, | |
column: 22, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericBaseClassLiteralProperty.ts | |
../TypeScript/tests/cases/compiler/genericBaseClassLiteralProperty2.ts | |
../TypeScript/tests/cases/compiler/genericCallbackInvokedInsideItsContainingFunction1.ts | |
../TypeScript/tests/cases/compiler/genericCallbacksAndClassHierarchy.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,8 +6,10 @@ | |
} | |
+ | |
export class C1<T> { | |
public value: I<T>; | |
} | |
+ | |
export class A<T> { | |
public dummy: any; | |
@@ -15,4 +17,5 @@ | |
export class B<T> extends C1<A<T>> {} | |
+ | |
export class D<T> { | |
_subscribe(viewModel: B<T>): void { | |
../TypeScript/tests/cases/compiler/genericCallSpecializedToTypeArg.ts | |
../TypeScript/tests/cases/compiler/genericCallsWithoutParens.ts | |
../TypeScript/tests/cases/compiler/genericCallsWithoutParens.ts: { index: 38, | |
lineNumber: 2, | |
column: 17, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/genericCallWithFixedArguments.ts | |
../TypeScript/tests/cases/compiler/genericCallWithNonGenericArgs1.ts | |
../TypeScript/tests/cases/compiler/genericCallWithObjectLiteralArguments1.ts | |
../TypeScript/tests/cases/compiler/genericCallWithoutArgs.ts | |
../TypeScript/tests/cases/compiler/genericCallWithoutArgs.ts: { index: 53, | |
lineNumber: 4, | |
column: 16, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/genericChainedCalls.ts | |
../TypeScript/tests/cases/compiler/genericClasses0.ts | |
../TypeScript/tests/cases/compiler/genericClasses1.ts | |
../TypeScript/tests/cases/compiler/genericClasses2.ts | |
../TypeScript/tests/cases/compiler/genericClasses3.ts | |
../TypeScript/tests/cases/compiler/genericClasses4.ts | |
../TypeScript/tests/cases/compiler/genericClassesInModule.ts | |
../TypeScript/tests/cases/compiler/genericClassesInModule2.ts | |
../TypeScript/tests/cases/compiler/genericClassesRedeclaration.ts | |
../TypeScript/tests/cases/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.ts | |
../TypeScript/tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts | |
../TypeScript/tests/cases/compiler/genericClassPropertyInheritanceSpecialization.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -102,14 +102,5 @@ | |
"type": "Identifier", | |
"name": "KnockoutObservableBase" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -215,17 +206,5 @@ | |
"type": "Identifier", | |
"name": "KnockoutObservable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSArrayType", | |
- "elementType": { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -1345,26 +1324,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "PortalFx" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "ViewModels" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Controls" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Validators" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -1438,26 +1396,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "PortalFx" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "ViewModels" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Controls" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Validators" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -1502,26 +1439,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "PortalFx" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "ViewModels" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Controls" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Validators" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,74 +1,73 @@ | |
interface KnockoutObservableBase<T> { | |
- peek(): T; | |
- (): T; | |
- (value: T): void; | |
+ peek(): T, | |
+ (): T, | |
+ (value: T): void | |
} | |
-interface KnockoutObservable<T> extends KnockoutObservableBase<T> { | |
- equalityComparer(a: T, b: T): boolean; | |
- valueHasMutated(): void; | |
- valueWillMutate(): void; | |
+interface KnockoutObservable<T> extends KnockoutObservableBase { | |
+ equalityComparer(a: T, b: T): boolean, | |
+ valueHasMutated(): void, | |
+ valueWillMutate(): void | |
} | |
-interface KnockoutObservableArray<T> extends KnockoutObservable<T[]> { | |
- indexOf(searchElement: T, fromIndex?: number): number; | |
- slice(start: number, end?: number): T[]; | |
- splice(start: number, deleteCount?: number, ...items: T[]): T[]; | |
- pop(): T; | |
- push(...items: T[]): void; | |
- shift(): T; | |
- unshift(...items: T[]): number; | |
- reverse(): T[]; | |
- sort(compareFunction?: (a: T, b: T) => number): void; | |
- replace(oldItem: T, newItem: T): void; | |
- remove(item: T): T[]; | |
- removeAll(items?: T[]): T[]; | |
- destroy(item: T): void; | |
- destroyAll(items?: T[]): void; | |
+interface KnockoutObservableArray<T> extends KnockoutObservable { | |
+ indexOf(searchElement: T, fromIndex?: number): number, | |
+ slice(start: number, end?: number): T[], | |
+ splice(start: number, deleteCount?: number, ...items: T[]): T[], | |
+ pop(): T, | |
+ push(...items: T[]): void, | |
+ shift(): T, | |
+ unshift(...items: T[]): number, | |
+ reverse(): T[], | |
+ sort(compareFunction?: (a: T, b: T) => number): void, | |
+ replace(oldItem: T, newItem: T): void, | |
+ remove(item: T): T[], | |
+ removeAll(items?: T[]): T[], | |
+ destroy(item: T): void, | |
+ destroyAll(items?: T[]): void | |
} | |
interface KnockoutObservableArrayStatic { | |
- fn: KnockoutObservableArray<any>; | |
+ fn: KnockoutObservableArray<any>, | |
- <T>(value?: T[]): KnockoutObservableArray<T>; | |
+ <T>(value?: T[]): KnockoutObservableArray<T> | |
} | |
-declare module ko { | |
- export var observableArray: KnockoutObservableArrayStatic; | |
+declare namespace ko { | |
+ export var observableArray: KnockoutObservableArrayStatic; | |
} | |
-module Portal.Controls.Validators { | |
+namespace Portal.Controls.Validators { | |
- export class Validator<TValue> { | |
- private _subscription; | |
- public message: KnockoutObservable<string>; | |
- public validationState: KnockoutObservable<number>; | |
- public validate: KnockoutObservable<TValue>; | |
- constructor(message?: string) { } | |
- public destroy(): void { } | |
- public _validate(value: TValue): number {return 0 } | |
+ export class Validator<TValue> { | |
+ private _subscription; | |
+ public message: KnockoutObservable<string>; | |
+ public validationState: KnockoutObservable<number>; | |
+ public validate: KnockoutObservable<TValue>; | |
+ constructor(message?: string) {} | |
+ public destroy(): void {} | |
+ public _validate(value: TValue): number { | |
+ return 0; | |
} | |
+ } | |
} | |
-module PortalFx.ViewModels.Controls.Validators { | |
+namespace PortalFx.ViewModels.Controls.Validators { | |
- export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> { | |
- | |
- constructor(message?: string) { | |
- super(message); | |
- } | |
+ export class Validator<TValue> | |
+ extends Portal.Controls.Validators.Validator<TValue> { | |
+ constructor(message?: string) { | |
+ super(message); | |
} | |
- | |
+ } | |
} | |
interface Contract<TValue> { | |
- | |
- validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>; | |
+ validators: KnockoutObservableArray<undefined.Validator<TValue>> | |
} | |
- | |
class ViewModel<TValue> implements Contract<TValue> { | |
- | |
- public validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>(); | |
+ public validators: KnockoutObservableArray< | |
+ undefined.Validator<TValue> | |
+ > = ko.observableArray<undefined.Validator<TValue>>(); | |
} | |
- | |
../TypeScript/tests/cases/compiler/genericClassStaticMethod.ts | |
../TypeScript/tests/cases/compiler/genericClassWithStaticFactory.ts | |
../TypeScript/tests/cases/compiler/genericClassWithStaticsUsingTypeArguments.ts | |
../TypeScript/tests/cases/compiler/genericCloduleInModule.ts | |
../TypeScript/tests/cases/compiler/genericCloduleInModule2.ts | |
../TypeScript/tests/cases/compiler/genericCloneReturnTypes.ts | |
../TypeScript/tests/cases/compiler/genericCloneReturnTypes2.ts | |
../TypeScript/tests/cases/compiler/genericCombinators2.ts | |
../TypeScript/tests/cases/compiler/genericConstraint1.ts | |
../TypeScript/tests/cases/compiler/genericConstraint2.ts | |
../TypeScript/tests/cases/compiler/genericConstraint3.ts | |
../TypeScript/tests/cases/compiler/genericConstraint3.ts: { index: 41, | |
lineNumber: 2, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericConstraintDeclaration.ts | |
../TypeScript/tests/cases/compiler/genericConstraintOnExtendedBuiltinTypes.ts | |
../TypeScript/tests/cases/compiler/genericConstraintOnExtendedBuiltinTypes2.ts | |
../TypeScript/tests/cases/compiler/genericConstraintSatisfaction1.ts | |
../TypeScript/tests/cases/compiler/genericConstraintSatisfaction1.ts: { index: 26, | |
lineNumber: 2, | |
column: 8, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericConstructExpressionWithoutArgs.ts | |
../TypeScript/tests/cases/compiler/genericConstructExpressionWithoutArgs.ts: { index: 195, | |
lineNumber: 10, | |
column: 0, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/genericConstructInvocationWithNoTypeArg.ts | |
../TypeScript/tests/cases/compiler/genericConstructorFunction1.ts | |
../TypeScript/tests/cases/compiler/genericConstructSignatureInInterface.ts | |
../TypeScript/tests/cases/compiler/genericContextualTypingSpecialization.ts | |
../TypeScript/tests/cases/compiler/genericDefaults.ts | |
../TypeScript/tests/cases/compiler/genericDefaults.ts: { index: 9327, | |
lineNumber: 399, | |
column: 20, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericDefaultsErrors.ts | |
../TypeScript/tests/cases/compiler/genericDefaultsErrors.ts: { index: 749, | |
lineNumber: 28, | |
column: 16, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericDefaultsJs.ts | |
../TypeScript/tests/cases/compiler/genericDerivedTypeWithSpecializedBase.ts | |
../TypeScript/tests/cases/compiler/genericDerivedTypeWithSpecializedBase2.ts | |
../TypeScript/tests/cases/compiler/genericFunctionCallSignatureReturnTypeMismatch.ts | |
../TypeScript/tests/cases/compiler/genericFunctionHasFreshTypeArgs.ts | |
../TypeScript/tests/cases/compiler/genericFunctions0.ts | |
../TypeScript/tests/cases/compiler/genericFunctions1.ts | |
../TypeScript/tests/cases/compiler/genericFunctions2.ts | |
../TypeScript/tests/cases/compiler/genericFunctions3.ts | |
../TypeScript/tests/cases/compiler/genericFunctionSpecializations1.ts | |
../TypeScript/tests/cases/compiler/genericFunctionsWithOptionalParameters1.ts | |
../TypeScript/tests/cases/compiler/genericFunctionsWithOptionalParameters2.ts | |
../TypeScript/tests/cases/compiler/genericFunctionsWithOptionalParameters3.ts | |
../TypeScript/tests/cases/compiler/genericFunctionTypedArgumentsAreFixed.ts | |
../TypeScript/tests/cases/compiler/genericFunduleInModule.ts | |
../TypeScript/tests/cases/compiler/genericFunduleInModule2.ts | |
../TypeScript/tests/cases/compiler/genericGetter.ts | |
../TypeScript/tests/cases/compiler/genericGetter2.ts | |
../TypeScript/tests/cases/compiler/genericGetter3.ts | |
../TypeScript/tests/cases/compiler/genericImplements.ts | |
../TypeScript/tests/cases/compiler/genericImplements.ts: { index: 61, | |
lineNumber: 8, | |
column: 6, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericInference1.ts | |
../TypeScript/tests/cases/compiler/genericInference2.ts | |
../TypeScript/tests/cases/compiler/genericInheritedDefaultConstructors.ts | |
../TypeScript/tests/cases/compiler/genericInstanceOf.ts | |
../TypeScript/tests/cases/compiler/genericInstanceOf.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/genericInterfaceFunctionTypeParameter.ts | |
../TypeScript/tests/cases/compiler/genericInterfaceImplementation.ts | |
../TypeScript/tests/cases/compiler/genericInterfacesWithoutTypeArguments.ts | |
../TypeScript/tests/cases/compiler/genericInterfaceTypeCall.ts | |
../TypeScript/tests/cases/compiler/genericLambaArgWithoutTypeArguments.ts | |
../TypeScript/tests/cases/compiler/genericMemberFunction.ts | |
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter.ts | |
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter.ts: { index: 105, | |
lineNumber: 4, | |
column: 13, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter2.ts | |
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter2.ts: { index: 89, | |
lineNumber: 4, | |
column: 13, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericMethodOverspecialization.ts | |
../TypeScript/tests/cases/compiler/genericNewInterface.ts | |
../TypeScript/tests/cases/compiler/genericObjectCreationWithoutTypeArgs.ts | |
../TypeScript/tests/cases/compiler/genericObjectCreationWithoutTypeArgs.ts: { index: 80, | |
lineNumber: 6, | |
column: 25, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/genericObjectLitReturnType.ts | |
../TypeScript/tests/cases/compiler/genericOfACloduleType1.ts | |
../TypeScript/tests/cases/compiler/genericOfACloduleType2.ts | |
../TypeScript/tests/cases/compiler/genericOverloadSignatures.ts | |
../TypeScript/tests/cases/compiler/genericParameterAssignability1.ts | |
../TypeScript/tests/cases/compiler/genericParameterAssignability1.ts: { index: 50, | |
lineNumber: 2, | |
column: 9, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericPrototypeProperty.ts | |
../TypeScript/tests/cases/compiler/genericPrototypeProperty2.ts | |
../TypeScript/tests/cases/compiler/genericPrototypeProperty3.ts | |
../TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors1.ts | |
../TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
export enum PullSymbolVisibility { Private, Public } | |
+ | |
export class PullSymbol { | |
constructor(name: string, declKind: DeclKind) {} | |
../TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors3.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -12,4 +12,5 @@ | |
} | |
+ | |
export class PullTypeSymbol<A, B, C> extends PullSymbol { | |
private _elementType: PullTypeSymbol = null; | |
../TypeScript/tests/cases/compiler/genericReduce.ts | |
../TypeScript/tests/cases/compiler/genericRestArgs.ts | |
../TypeScript/tests/cases/compiler/genericReturnTypeFromGetter1.ts | |
../TypeScript/tests/cases/compiler/genericReversingTypeParameters.ts | |
../TypeScript/tests/cases/compiler/genericReversingTypeParameters2.ts | |
../TypeScript/tests/cases/compiler/generics0.ts | |
../TypeScript/tests/cases/compiler/generics1.ts | |
../TypeScript/tests/cases/compiler/generics1.ts: { index: 115, | |
lineNumber: 4, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/generics1NoError.ts | |
../TypeScript/tests/cases/compiler/generics1NoError.ts: { index: 137, | |
lineNumber: 5, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/generics2.ts | |
../TypeScript/tests/cases/compiler/generics2.ts: { index: 115, | |
lineNumber: 4, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/generics2NoError.ts | |
../TypeScript/tests/cases/compiler/generics2NoError.ts: { index: 137, | |
lineNumber: 5, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/generics3.ts | |
../TypeScript/tests/cases/compiler/generics4.ts | |
../TypeScript/tests/cases/compiler/generics4NoError.ts | |
../TypeScript/tests/cases/compiler/generics5.ts | |
../TypeScript/tests/cases/compiler/generics5.ts: { index: 120, | |
lineNumber: 5, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericsAndHigherOrderFunctions.ts | |
../TypeScript/tests/cases/compiler/genericsAndHigherOrderFunctions.ts: { index: 221, | |
lineNumber: 11, | |
column: 11, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericSignatureIdentity.ts | |
../TypeScript/tests/cases/compiler/genericSignatureIdentity.ts: { index: 308, | |
lineNumber: 7, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/genericSignatureInheritance.ts | |
../TypeScript/tests/cases/compiler/genericSignatureInheritance2.ts | |
../TypeScript/tests/cases/compiler/genericsManyTypeParameters.ts | |
../TypeScript/tests/cases/compiler/genericSpecializations1.ts | |
../TypeScript/tests/cases/compiler/genericSpecializations2.ts | |
../TypeScript/tests/cases/compiler/genericSpecializations3.ts | |
../TypeScript/tests/cases/compiler/genericSpecializationToTypeLiteral1.ts | |
../TypeScript/tests/cases/compiler/genericStaticAnyTypeFunction.ts | |
../TypeScript/tests/cases/compiler/genericsWithDuplicateTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/genericsWithoutTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/genericTypeArgumentInference1.ts | |
../TypeScript/tests/cases/compiler/genericTypeArgumentInference1.ts: { index: 445, | |
lineNumber: 15, | |
column: 17, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions1.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions1.ts: { index: 78, | |
lineNumber: 3, | |
column: 21, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions2.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions2.ts: { index: 156, | |
lineNumber: 9, | |
column: 21, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions3.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions3.ts: { index: 8, | |
lineNumber: 1, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions4.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions4.ts: { index: 434, | |
lineNumber: 24, | |
column: 9, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions5.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions5.ts: { index: 430, | |
lineNumber: 24, | |
column: 9, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericTypeAssertions6.ts | |
../TypeScript/tests/cases/compiler/genericTypeAssertions6.ts: { index: 186, | |
lineNumber: 13, | |
column: 22, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/genericTypeConstraints.ts | |
../TypeScript/tests/cases/compiler/genericTypeParameterEquivalence2.ts | |
../TypeScript/tests/cases/compiler/genericTypeReferencesRequireTypeArgs.ts | |
../TypeScript/tests/cases/compiler/genericTypeUsedWithoutTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/genericTypeUsedWithoutTypeArguments3.ts | |
../TypeScript/tests/cases/compiler/genericTypeWithCallableMembers.ts | |
../TypeScript/tests/cases/compiler/genericTypeWithCallableMembers2.ts | |
../TypeScript/tests/cases/compiler/genericTypeWithMultipleBases1.ts | |
../TypeScript/tests/cases/compiler/genericTypeWithMultipleBases2.ts | |
../TypeScript/tests/cases/compiler/genericTypeWithMultipleBases3.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -129,14 +129,5 @@ | |
"type": "Identifier", | |
"name": "IA" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
}, | |
{ | |
@@ -145,14 +136,5 @@ | |
"type": "Identifier", | |
"name": "IB" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,15 +1,11 @@ | |
interface IA<T> { | |
- | |
-foo(x: T): T; | |
- | |
+ foo(x: T): T | |
} | |
interface IB<T> { | |
- | |
-bar(x: T): T; | |
- | |
+ bar(x: T): T | |
} | |
-interface IC<T> extends IA<T>, IB<T> { } | |
+interface IC<T> extends IA, IB {} | |
var c: IC<number>; | |
../TypeScript/tests/cases/compiler/genericTypeWithNonGenericBaseMisMatch.ts | |
../TypeScript/tests/cases/compiler/genericWithCallSignatureReturningSpecialization.ts | |
../TypeScript/tests/cases/compiler/genericWithCallSignatures1.ts | |
../TypeScript/tests/cases/compiler/genericWithCallSignatures1.ts: { index: 385, | |
lineNumber: 15, | |
column: 17, | |
message: 'JSX element \'string\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType1.ts | |
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType1.ts: { index: 44, | |
lineNumber: 2, | |
column: 22, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType2.ts | |
../TypeScript/tests/cases/compiler/genericWithOpenTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/genericWithOpenTypeParameters1.ts: { index: 121, | |
lineNumber: 7, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.ts | |
../TypeScript/tests/cases/compiler/getAndSetAsMemberNames.ts | |
../TypeScript/tests/cases/compiler/getAndSetNotIdenticalType.ts | |
../TypeScript/tests/cases/compiler/getAndSetNotIdenticalType2.ts | |
../TypeScript/tests/cases/compiler/getAndSetNotIdenticalType3.ts | |
../TypeScript/tests/cases/compiler/getsetReturnTypes.ts | |
../TypeScript/tests/cases/compiler/getterControlFlowStrictNull.ts | |
../TypeScript/tests/cases/compiler/getterMissingReturnError.ts | |
../TypeScript/tests/cases/compiler/gettersAndSetters.ts | |
../TypeScript/tests/cases/compiler/gettersAndSettersAccessibility.ts | |
../TypeScript/tests/cases/compiler/gettersAndSettersErrors.ts | |
../TypeScript/tests/cases/compiler/gettersAndSettersTypesAgree.ts | |
../TypeScript/tests/cases/compiler/getterSetterNonAccessor.ts | |
../TypeScript/tests/cases/compiler/getterSetterNonAccessor.ts: { index: 138, | |
lineNumber: 5, | |
column: 13, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/getterThatThrowsShouldNotNeedReturn.ts | |
../TypeScript/tests/cases/compiler/giant.ts | |
../TypeScript/tests/cases/compiler/giant.ts: { index: 1178, | |
lineNumber: 64, | |
column: 16, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/global.ts | |
../TypeScript/tests/cases/compiler/globalIsContextualKeyword.ts | |
../TypeScript/tests/cases/compiler/globalThis.ts | |
../TypeScript/tests/cases/compiler/globalThisCapture.ts | |
../TypeScript/tests/cases/compiler/grammarAmbiguities1.ts | |
../TypeScript/tests/cases/compiler/heterogeneousArrayAndOverloads.ts | |
../TypeScript/tests/cases/compiler/hidingCallSignatures.ts | |
../TypeScript/tests/cases/compiler/hidingConstructSignatures.ts | |
../TypeScript/tests/cases/compiler/hidingIndexSignatures.ts | |
../TypeScript/tests/cases/compiler/i3.ts | |
../TypeScript/tests/cases/compiler/icomparable.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -126,10 +126,5 @@ | |
"type": "Identifier", | |
"name": "IComparable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,12 +1,11 @@ | |
- interface IComparable<T> { | |
- compareTo(other: T); | |
- } | |
+interface IComparable<T> { | |
+ compareTo(other: T) | |
+} | |
- declare function sort<U extends IComparable<any>>(items: U[]): U[]; | |
+declare function sort<U extends IComparable<any>>(items: U[]): U[] | |
- interface StringComparable extends IComparable<string> { | |
- } | |
\ No newline at end of file | |
+interface StringComparable extends IComparable {} | |
- var sc: StringComparable[]; | |
+var sc: StringComparable[]; | |
- var x = sort(sc); | |
+var x = sort(sc); | |
../TypeScript/tests/cases/compiler/identityForSignaturesWithTypeParametersAndAny.ts | |
../TypeScript/tests/cases/compiler/identityForSignaturesWithTypeParametersSwitched.ts | |
../TypeScript/tests/cases/compiler/idInProp.ts | |
../TypeScript/tests/cases/compiler/ifElseWithStatements1.ts | |
../TypeScript/tests/cases/compiler/illegalGenericWrapping1.ts | |
../TypeScript/tests/cases/compiler/illegalModifiersOnClassElements.ts | |
../TypeScript/tests/cases/compiler/illegalSuperCallsInConstructor.ts | |
../TypeScript/tests/cases/compiler/implementArrayInterface.ts | |
../TypeScript/tests/cases/compiler/implementClausePrecedingExtends.ts | |
../TypeScript/tests/cases/compiler/implementGenericWithMismatchedTypes.ts | |
../TypeScript/tests/cases/compiler/implementInterfaceAnyMemberWithVoid.ts | |
../TypeScript/tests/cases/compiler/implementPublicPropertyAsPrivate.ts | |
../TypeScript/tests/cases/compiler/implementsClauseAlreadySeen.ts | |
../TypeScript/tests/cases/compiler/implementsInClassExpression.ts | |
../TypeScript/tests/cases/compiler/implicitAnyAmbients.ts | |
../TypeScript/tests/cases/compiler/implicitAnyAmbients.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/implicitAnyAnyReturningFunction.ts | |
../TypeScript/tests/cases/compiler/implicitAnyAnyReturningFunction.ts: { index: 85, | |
lineNumber: 7, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/implicitAnyCastedValue.ts | |
../TypeScript/tests/cases/compiler/implicitAnyCastedValue.ts: { index: 121, | |
lineNumber: 7, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareFunctionExprWithoutFormalType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareFunctionWithoutFormalType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareFunctionWithoutFormalType2.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareMemberWithoutType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareMemberWithoutType2.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareTypePropertyWithoutType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyDeclareVariablesWithoutTypeAndInit.ts | |
../TypeScript/tests/cases/compiler/implicitAnyFromCircularInference.ts | |
../TypeScript/tests/cases/compiler/implicitAnyFunctionInvocationWithAnyArguements.ts | |
../TypeScript/tests/cases/compiler/implicitAnyFunctionInvocationWithAnyArguements.ts: { index: 921, | |
lineNumber: 29, | |
column: 26, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/implicitAnyFunctionOverloadWithImplicitAnyReturnType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyFunctionReturnNullOrUndefined.ts | |
../TypeScript/tests/cases/compiler/implicitAnyGenerics.ts | |
../TypeScript/tests/cases/compiler/implicitAnyGenerics.ts: { index: 349, | |
lineNumber: 22, | |
column: 23, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/implicitAnyGenericTypeInference.ts | |
../TypeScript/tests/cases/compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.ts | |
../TypeScript/tests/cases/compiler/implicitAnyInAmbientDeclaration.ts | |
../TypeScript/tests/cases/compiler/implicitAnyInAmbientDeclaration2.d.ts | |
../TypeScript/tests/cases/compiler/implicitAnyInCatch.ts | |
../TypeScript/tests/cases/compiler/implicitAnyNewExprLackConstructorSignature.ts | |
../TypeScript/tests/cases/compiler/implicitAnyWidenToAny.ts | |
../TypeScript/tests/cases/compiler/implicitAnyWidenToAny.ts: { index: 587, | |
lineNumber: 22, | |
column: 17, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/implicitConstParameters.ts | |
../TypeScript/tests/cases/compiler/implicitIndexSignatures.ts | |
../TypeScript/tests/cases/compiler/importAliasAnExternalModuleInsideAnInternalModule.ts | |
../TypeScript/tests/cases/compiler/importAliasWithDottedName.ts | |
../TypeScript/tests/cases/compiler/importAndVariableDeclarationConflict1.ts | |
../TypeScript/tests/cases/compiler/importAndVariableDeclarationConflict2.ts | |
../TypeScript/tests/cases/compiler/importAndVariableDeclarationConflict3.ts | |
../TypeScript/tests/cases/compiler/importAndVariableDeclarationConflict4.ts | |
../TypeScript/tests/cases/compiler/importAnImport.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -58,19 +58,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "c" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "a" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "b" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,7 @@ | |
-module c.a.b { | |
- import ma = a; | |
+namespace c.a.b { | |
+ import ma = a; | |
} | |
-module m0 { | |
\ No newline at end of file | |
- import m8 = c.a.b.ma; | |
-} | |
+namespace m0 { | |
+ import m8 = undefined.ma; | |
+} | |
../TypeScript/tests/cases/compiler/importAsBaseClass.ts | |
../TypeScript/tests/cases/compiler/importDecl.ts | |
../TypeScript/tests/cases/compiler/importDeclarationInModuleDeclaration1.ts | |
../TypeScript/tests/cases/compiler/importDeclarationUsedAsTypeQuery.ts | |
../TypeScript/tests/cases/compiler/importDeclRefereingExternalModuleWithNoResolve.ts | |
../TypeScript/tests/cases/compiler/importDeclWithClassModifiers.ts | |
../TypeScript/tests/cases/compiler/importDeclWithDeclareModifier.ts | |
../TypeScript/tests/cases/compiler/importDeclWithDeclareModifierInAmbientContext.ts | |
../TypeScript/tests/cases/compiler/importDeclWithExportModifier.ts | |
../TypeScript/tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts | |
../TypeScript/tests/cases/compiler/importDeclWithExportModifierAndExportAssignmentInAmbientContext.ts | |
../TypeScript/tests/cases/compiler/importDeclWithExportModifierInAmbientContext.ts | |
../TypeScript/tests/cases/compiler/importedAliasesInTypePositions.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -114,33 +114,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "RT_ALIAS" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "elaborate" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "nested" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "mod" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "name" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
// @module:amd | |
// @Filename: file1.ts | |
-export module elaborate.nested.mod.name { | |
- export class ReferredTo { | |
- doSomething(): void { | |
- } | |
- } | |
+export namespace elaborate.nested.mod.name { | |
+ | |
+ export class ReferredTo { | |
+ doSomething(): void {} | |
+ } | |
} | |
@@ -11,9 +11,9 @@ | |
// @module: amd | |
import RT_ALIAS = require("file1"); | |
-import ReferredTo = RT_ALIAS.elaborate.nested.mod.name.ReferredTo; | |
+import ReferredTo = undefined.ReferredTo; | |
-export module ImportingModule { | |
- class UsesReferredType { | |
- constructor(private referred: ReferredTo) { } | |
- } | |
\ No newline at end of file | |
-} | |
+export namespace ImportingModule { | |
+ class UsesReferredType { | |
+ constructor(private referred: ReferredTo) {} | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/importedModuleAddToGlobal.ts | |
../TypeScript/tests/cases/compiler/importedModuleClassNameClash.ts | |
../TypeScript/tests/cases/compiler/importHelpers.ts | |
../TypeScript/tests/cases/compiler/importHelpers.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/compiler/importHelpersAmd.ts | |
../TypeScript/tests/cases/compiler/importHelpersDeclarations.ts | |
../TypeScript/tests/cases/compiler/importHelpersES6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,5 +4,5 @@ | |
// @filename: a.ts | |
declare var dec: any; | |
-dec | |
+dec; | |
export class A {} | |
../TypeScript/tests/cases/compiler/importHelpersInAmbientContext.ts | |
../TypeScript/tests/cases/compiler/importHelpersInIsolatedModules.ts | |
../TypeScript/tests/cases/compiler/importHelpersInIsolatedModules.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/compiler/importHelpersNoHelpers.ts | |
../TypeScript/tests/cases/compiler/importHelpersNoHelpers.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/compiler/importHelpersNoModule.ts | |
../TypeScript/tests/cases/compiler/importHelpersNoModule.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/compiler/importHelpersOutFile.ts | |
../TypeScript/tests/cases/compiler/importHelpersSystem.ts | |
../TypeScript/tests/cases/compiler/importInsideModule.ts | |
../TypeScript/tests/cases/compiler/importInTypePosition.ts | |
../TypeScript/tests/cases/compiler/importOnAliasedIdentifiers.ts | |
../TypeScript/tests/cases/compiler/importShadowsGlobalName.ts | |
../TypeScript/tests/cases/compiler/importsInAmbientModules1.ts | |
../TypeScript/tests/cases/compiler/importsInAmbientModules2.ts | |
../TypeScript/tests/cases/compiler/importsInAmbientModules3.ts | |
../TypeScript/tests/cases/compiler/importUsedInExtendsList1.ts | |
../TypeScript/tests/cases/compiler/importWithTrailingSlash.ts | |
../TypeScript/tests/cases/compiler/importWithTrailingSlash_noResolve.ts | |
../TypeScript/tests/cases/compiler/import_reference-exported-alias.ts | |
../TypeScript/tests/cases/compiler/import_reference-to-type-alias.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -118,12 +118,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "appJs" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "App" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,11 +1,12 @@ | |
// @Filename: file1.ts | |
-export module App { | |
- export module Services { | |
- export class UserServices { | |
- public getUserName(): string { | |
- return "Bill Gates"; | |
- } | |
- } | |
+export namespace App { | |
+ export namespace Services { | |
+ | |
+ export class UserServices { | |
+ public getUserName(): string { | |
+ return "Bill Gates"; | |
+ } | |
} | |
+ } | |
} | |
@@ -13,4 +14,4 @@ | |
// @module: amd | |
import appJs = require("file1"); | |
-import Services = appJs.App.Services; | |
+import Services = undefined.Services; | |
var x = new Services.UserServices().getUserName(); | |
../TypeScript/tests/cases/compiler/import_unneeded-require-when-referenecing-aliased-type-throug-array.ts | |
../TypeScript/tests/cases/compiler/import_var-referencing-an-imported-module-alias.ts | |
../TypeScript/tests/cases/compiler/incompatibleAssignmentOfIdenticallyNamedTypes.ts | |
../TypeScript/tests/cases/compiler/incompatibleExports1.ts | |
../TypeScript/tests/cases/compiler/incompatibleExports2.ts | |
../TypeScript/tests/cases/compiler/incompatibleGenericTypes.ts | |
../TypeScript/tests/cases/compiler/incompatibleTypes.ts | |
../TypeScript/tests/cases/compiler/incompleteDottedExpressionAtEOF.ts | |
../TypeScript/tests/cases/compiler/incompleteDottedExpressionAtEOF.ts: { index: 63, | |
lineNumber: 2, | |
column: 17, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/incompleteObjectLiteral1.ts | |
../TypeScript/tests/cases/compiler/incompleteObjectLiteral1.ts: { index: 13, | |
lineNumber: 1, | |
column: 13, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/compiler/incorrectClassOverloadChain.ts | |
../TypeScript/tests/cases/compiler/incrementOnTypeParameter.ts | |
../TypeScript/tests/cases/compiler/indexClassByNumber.ts | |
../TypeScript/tests/cases/compiler/indexedAccessRelation.ts | |
../TypeScript/tests/cases/compiler/indexedAccessTypeConstraints.ts | |
../TypeScript/tests/cases/compiler/indexedAccessTypeConstraints.ts: { index: 104, | |
lineNumber: 10, | |
column: 10, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/indexer.ts | |
../TypeScript/tests/cases/compiler/indexer2.ts | |
../TypeScript/tests/cases/compiler/indexer2.ts: { index: 207, | |
lineNumber: 6, | |
column: 25, | |
message: 'JSX element \'IDirectChildrenMap\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/indexer2A.ts | |
../TypeScript/tests/cases/compiler/indexer2A.ts: { index: 239, | |
lineNumber: 7, | |
column: 25, | |
message: 'JSX element \'IDirectChildrenMap\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/indexer3.ts | |
../TypeScript/tests/cases/compiler/indexerA.ts | |
../TypeScript/tests/cases/compiler/indexerAsOptional.ts | |
../TypeScript/tests/cases/compiler/indexerAssignability.ts | |
../TypeScript/tests/cases/compiler/indexerConstraints.ts | |
../TypeScript/tests/cases/compiler/indexerConstraints2.ts | |
../TypeScript/tests/cases/compiler/indexerReturningTypeParameter1.ts | |
../TypeScript/tests/cases/compiler/indexerSignatureWithRestParam.ts | |
../TypeScript/tests/cases/compiler/indexIntoArraySubclass.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -27,14 +27,5 @@ | |
"type": "Identifier", | |
"name": "Array" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,4 @@ | |
-interface Foo2<T> extends Array<T> { } | |
+interface Foo2<T> extends Array {} | |
var x2: Foo2<string>; | |
var r = x2[0]; // string | |
\ No newline at end of file | |
-r = 0; //error | |
+r = 0; //error | |
../TypeScript/tests/cases/compiler/indexIntoEnum.ts | |
../TypeScript/tests/cases/compiler/indexSignatureMustHaveTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/indexSignatureMustHaveTypeAnnotation.ts: { index: 101, | |
lineNumber: 5, | |
column: 0, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/indexSignaturesInferentialTyping.ts | |
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck.ts | |
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck.ts: { index: 173, | |
lineNumber: 10, | |
column: 17, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck2.ts | |
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck2.ts: { index: 169, | |
lineNumber: 10, | |
column: 17, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/indexSignatureWithAccessibilityModifier.ts | |
../TypeScript/tests/cases/compiler/indexSignatureWithInitializer.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -10,17 +10,18 @@ | |
"members": [ | |
{ | |
- "type": "TSPropertySignature", | |
- "name": { | |
- "type": "AssignmentExpression", | |
- "operator": "=", | |
- "left": { | |
- "type": "Identifier", | |
- "name": "x" | |
- }, | |
- "right": { | |
- "type": "Literal", | |
- "value": "" | |
+ "type": "TSCallSignature", | |
+ "parameters": [ | |
+ { | |
+ "type": "AssignmentPattern", | |
+ "left": { | |
+ "type": "Identifier", | |
+ "name": "x" | |
+ }, | |
+ "right": { | |
+ "type": "Literal", | |
+ "value": "" | |
+ } | |
} | |
- }, | |
+ ], | |
"typeAnnotation": { | |
"type": "TypeAnnotation", | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
// These used to be indexers, now they are computed properties | |
interface I { | |
- [x = '']: string; | |
+ (x = ""): string | |
} | |
class C { | |
- [x = 0]: string | |
\ No newline at end of file | |
-} | |
+ [(x = 0)]: string; | |
+} | |
../TypeScript/tests/cases/compiler/indexSignatureWithInitializer1.ts | |
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1..ts | |
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1.ts | |
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1.ts: { index: 27, lineNumber: 3, column: 0, message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/indexTypeCheck.ts | |
../TypeScript/tests/cases/compiler/indexTypeCheck.ts: { index: 832, | |
lineNumber: 58, | |
column: 11, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/indexWithoutParamType.ts | |
../TypeScript/tests/cases/compiler/indexWithoutParamType.ts: { index: 14, | |
lineNumber: 1, | |
column: 14, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/compiler/indexWithoutParamType2.ts | |
../TypeScript/tests/cases/compiler/indexWithUndefinedAndNull.ts | |
../TypeScript/tests/cases/compiler/indexWithUndefinedAndNullStrictNullChecks.ts | |
../TypeScript/tests/cases/compiler/indirectSelfReference.ts | |
../TypeScript/tests/cases/compiler/indirectSelfReferenceGeneric.ts | |
../TypeScript/tests/cases/compiler/inferenceFromParameterlessLambda.ts | |
../TypeScript/tests/cases/compiler/inferenceLimit.ts | |
../TypeScript/tests/cases/compiler/inferentiallyTypingAnEmptyArray.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingObjectLiteralMethod1.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingObjectLiteralMethod2.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingUsingApparentType1.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingUsingApparentType2.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingUsingApparentType3.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionType.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionType2.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionTypeNested.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionTypeSyntacticScenarios.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionTypeSyntacticScenarios.ts: { index: 575, | |
lineNumber: 29, | |
column: 13, | |
message: 'JSX element \'typeof\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/inferentialTypingWithFunctionTypeZip.ts | |
../TypeScript/tests/cases/compiler/inferentialTypingWithObjectLiteralProperties.ts | |
../TypeScript/tests/cases/compiler/inferParameterWithMethodCallInitializer.ts | |
../TypeScript/tests/cases/compiler/inferredFunctionReturnTypeIsEmptyType.ts | |
../TypeScript/tests/cases/compiler/inferringAnyFunctionType1.ts | |
../TypeScript/tests/cases/compiler/inferringAnyFunctionType2.ts | |
../TypeScript/tests/cases/compiler/inferringAnyFunctionType3.ts | |
../TypeScript/tests/cases/compiler/inferringAnyFunctionType4.ts | |
../TypeScript/tests/cases/compiler/inferringAnyFunctionType5.ts | |
../TypeScript/tests/cases/compiler/inferSecondaryParameter.ts | |
../TypeScript/tests/cases/compiler/inferSetterParamType.ts | |
../TypeScript/tests/cases/compiler/inferTypeArgumentsInSignatureWithRestParameters.ts | |
../TypeScript/tests/cases/compiler/infiniteExpandingTypeThroughInheritanceInstantiation.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -80,14 +80,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
-interface A<T> | |
-{ | |
- x: A<B<T>> | |
+interface A<T> { | |
+ x: A<B<T>> | |
} | |
-interface B<T> extends A<T> // error | |
-{ | |
- x: B<A<T>> | |
+interface B< | |
+ T // error | |
+> extends A { | |
+ x: B<A<T>> | |
} | |
../TypeScript/tests/cases/compiler/infinitelyExpandingBaseTypes1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -124,14 +124,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
}, | |
{ | |
@@ -140,14 +131,5 @@ | |
"type": "Identifier", | |
"name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,13 +1,9 @@ | |
-interface A<T> | |
-{ | |
- x : A<A<T>> | |
+interface A<T> { | |
+ x: A<A<T>> | |
} | |
- | |
-interface B<T> | |
-{ | |
- x : B<T> | |
+ | |
+interface B<T> { | |
+ x: B<T> | |
} | |
- | |
-interface C<T> extends A<T>, B<T> { } | |
- | |
+interface C<T> extends A, B {} | |
../TypeScript/tests/cases/compiler/infinitelyExpandingBaseTypes2.ts | |
../TypeScript/tests/cases/compiler/infinitelyExpandingOverloads.ts | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypeAssignability.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -62,41 +62,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -130,41 +94,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "C" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "C" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "C" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,10 +1,10 @@ | |
interface A<T> { | |
- x : T | |
+ x: T | |
} | |
- | |
-interface B<T> extends A<B<B<B<T>>>> { } | |
-interface C<T> extends A<C<C<C<T>>>> { } | |
- | |
-var x : B<string> | |
-var y : C<string> = x | |
+interface B<T> extends A {} | |
+ | |
+interface C<T> extends A {} | |
+ | |
+var x: B<string>; | |
+var y: C<string> = x; | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes1.ts | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -80,14 +80,5 @@ | |
"type": "Identifier", | |
"name": "Foo" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,12 +1,12 @@ | |
interface Foo<T> { | |
- x: Foo<Foo<T>>; | |
-} | |
+ x: Foo<Foo<T>> | |
+} | |
-interface Bar<T> extends Foo<T> { | |
- y: string; | |
+interface Bar<T> extends Foo { | |
+ y: string | |
} | |
function f(p: Foo<number>) { | |
- console.log(p); | |
+ console.log(p); | |
} | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes3.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -114,23 +114,5 @@ | |
"type": "Identifier", | |
"name": "List" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "List" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "U" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -178,23 +160,5 @@ | |
"type": "Identifier", | |
"name": "List" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "List" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "U" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,14 +1,14 @@ | |
interface List<T> { | |
- data: T; | |
- next: List<T>; // will be recursive reference when OwnerList is expanded | |
- owner: OwnerList<T>; | |
+ data: T, | |
+ next: List<T>, // will be recursive reference when OwnerList is expanded | |
+ owner: OwnerList<T> | |
} | |
-interface OwnerList<U> extends List<List<U>> { | |
- name: string; | |
+interface OwnerList<U> extends List { | |
+ name: string | |
} | |
-interface OwnerList2<U> extends List<List<U>> { | |
- name: string; | |
+interface OwnerList2<U> extends List { | |
+ name: string | |
} | |
@@ -16,3 +16,3 @@ | |
var o2: OwnerList2<number>; | |
-o1 = o2; // should not error | |
\ No newline at end of file | |
+o1 = o2; // should not error | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes4.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -248,14 +248,5 @@ | |
"type": "Identifier", | |
"name": "Query" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,16 +1,20 @@ | |
interface Query<T> { | |
- // ... | |
- groupBy<K>(keySelector: (item: T) => K): Query<Grouping<K, T>>; | |
- // ... | |
+ // ... | |
+ groupBy<K>( | |
+ keySelector: (item: T) => K | |
+ ): Query<Grouping<K, T>> | |
+ // ... | |
} | |
interface QueryEnumerator<T> { | |
- // ... | |
- groupBy<K>(keySelector: (item: T) => K): QueryEnumerator<Grouping<K, T>>; | |
- // ... | |
+ // ... | |
+ groupBy<K>( | |
+ keySelector: (item: T) => K | |
+ ): QueryEnumerator<Grouping<K, T>> | |
+ // ... | |
} | |
-interface Grouping<K, T> extends Query<T> { | |
- key(): K; | |
+interface Grouping<K, T> extends Query { | |
+ key(): K | |
} | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes5.ts | |
../TypeScript/tests/cases/compiler/infinitelyExpandingTypesNonGenericBase.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -212,14 +212,5 @@ | |
"type": "Identifier", | |
"name": "OptionsBase" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,23 +1,19 @@ | |
class Functionality<V> { | |
- property: Options<V>; | |
+ property: Options<V>; | |
} | |
-class Base { | |
-} | |
+class Base {} | |
class A<T> extends Base { | |
- options: Options<Functionality<T>[]>; | |
+ options: Options<Functionality<T>[]>; | |
} | |
interface OptionsBase<T> { | |
- Options: Options<T>; | |
+ Options: Options<T> | |
} | |
-interface Options<T> extends OptionsBase<T> { | |
-} | |
+interface Options<T> extends OptionsBase {} | |
+function o(type: new () => Base) {} | |
-function o(type: new () => Base) { | |
-} | |
- | |
o(A); | |
../TypeScript/tests/cases/compiler/infinitelyGenerativeInheritance1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -155,14 +155,5 @@ | |
"type": "Identifier", | |
"name": "Stack" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
interface Stack<T> { | |
- pop(): T | |
- zip<S>(a: Stack<S>): Stack<{ x: T; y: S }> | |
+ pop(): T, | |
+ zip<S>(a: Stack<S>): Stack<{ x: T, y: S }> | |
} | |
-interface MyStack<T> extends Stack<T> { | |
- zip<S>(a: Stack<S>): Stack<{ x: T; y: S }> | |
+interface MyStack<T> extends Stack { | |
+ zip<S>(a: Stack<S>): Stack<{ x: T, y: S }> | |
} | |
../TypeScript/tests/cases/compiler/inheritance.ts | |
../TypeScript/tests/cases/compiler/inheritance1.ts | |
../TypeScript/tests/cases/compiler/inheritanceGrandParentPrivateMemberCollision.ts | |
../TypeScript/tests/cases/compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.ts | |
../TypeScript/tests/cases/compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberAccessorOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberAccessorOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberAccessorOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberFuncOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberFuncOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberFuncOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberPropertyOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberPropertyOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceMemberPropertyOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceOfGenericConstructorMethod1.ts | |
../TypeScript/tests/cases/compiler/inheritanceOfGenericConstructorMethod2.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticAccessorOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticAccessorOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticAccessorOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFuncOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFuncOverridingAccessorOfFuncType.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFuncOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFuncOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFuncOverridingPropertyOfFuncType.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticFunctionOverridingInstanceProperty.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticMembersCompatible.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticMembersIncompatible.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticPropertyOverridingAccessor.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticPropertyOverridingMethod.ts | |
../TypeScript/tests/cases/compiler/inheritanceStaticPropertyOverridingProperty.ts | |
../TypeScript/tests/cases/compiler/inheritedConstructorWithRestParams.ts | |
../TypeScript/tests/cases/compiler/inheritedConstructorWithRestParams2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -103,21 +103,5 @@ | |
"type": "Identifier", | |
"name": "IBaseBase" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- }, | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "U" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,22 +1,21 @@ | |
class IBaseBase<T, U> { | |
- constructor(x: U) { } | |
+ constructor(x: U) {} | |
} | |
-interface IBase<T, U> extends IBaseBase<T, U> { } | |
+interface IBase<T, U> extends IBaseBase {} | |
class BaseBase2 { | |
- constructor(x: number) { } | |
+ constructor(x: number) {} | |
} | |
declare class BaseBase<T, U> extends BaseBase2 implements IBase<T, U> { | |
- constructor(x: T, ...y: U[]); | |
- constructor(x1: T, x2: T, ...y: U[]); | |
- constructor(x1: T, x2: U, y: T); | |
+ constructor(x: T, ...y: U[]); | |
+ constructor(x1: T, x2: T, ...y: U[]); | |
+ constructor(x1: T, x2: U, y: T); | |
} | |
-class Base extends BaseBase<string, number> { | |
-} | |
+class Base extends BaseBase<string, number> {} | |
-class Derived extends Base { } | |
+class Derived extends Base {} | |
// Ok | |
@@ -32,3 +31,3 @@ | |
new Derived(3); | |
new Derived("", 3, "", 3); | |
-new Derived("", 3, "", ""); | |
\ No newline at end of file | |
+new Derived("", 3, "", ""); | |
../TypeScript/tests/cases/compiler/inheritedFunctionAssignmentCompatibility.ts | |
../TypeScript/tests/cases/compiler/inheritedGenericCallSignature.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -82,17 +82,5 @@ | |
"type": "Identifier", | |
"name": "I1" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSArrayType", | |
- "elementType": { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,27 +1,15 @@ | |
- | |
interface I1<T> { | |
- | |
- (a: T): T; | |
- | |
+ (a: T): T | |
} | |
- | |
interface Object {} | |
- | |
- | |
-interface I2<T> extends I1<T[]> { | |
- | |
- b: T; | |
- | |
+interface I2<T> extends I1 { | |
+ b: T | |
} | |
- | |
- | |
var x: I2<Date>; | |
- | |
- | |
var y = x(undefined); | |
-y.length; // should not error | |
+y.length; // should not error | |
../TypeScript/tests/cases/compiler/inheritedMembersAndIndexSignaturesFromDifferentBases.ts | |
../TypeScript/tests/cases/compiler/inheritedMembersAndIndexSignaturesFromDifferentBases2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -90,10 +90,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
interface A<T> { | |
- [n: number]: T; | |
+ [n: number]: T | |
} | |
interface B { | |
- foo: number; | |
+ foo: number | |
} | |
\ No newline at end of file | |
-interface C extends B, A<string> { } // Should succeed | |
+interface C extends B, A {} // Should succeed | |
../TypeScript/tests/cases/compiler/inheritedModuleMembersForClodule.ts | |
../TypeScript/tests/cases/compiler/inheritedOverloadedSpecializedSignatures.ts | |
../TypeScript/tests/cases/compiler/inheritedStringIndexersFromDifferentBaseTypes.ts | |
../TypeScript/tests/cases/compiler/inheritedStringIndexersFromDifferentBaseTypes2.ts | |
../TypeScript/tests/cases/compiler/inheritFromGenericTypeParameter.ts | |
../TypeScript/tests/cases/compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.ts | |
../TypeScript/tests/cases/compiler/inheritSameNamePrivatePropertiesFromSameOrigin.ts | |
../TypeScript/tests/cases/compiler/inheritSameNamePropertiesWithDifferentOptionality.ts | |
../TypeScript/tests/cases/compiler/inheritSameNamePropertiesWithDifferentVisibility.ts | |
../TypeScript/tests/cases/compiler/initializePropertiesWithRenamedLet.ts | |
../TypeScript/tests/cases/compiler/initializersInAmbientEnums.ts | |
../TypeScript/tests/cases/compiler/inlineSourceMap.ts | |
../TypeScript/tests/cases/compiler/inlineSourceMap2.ts | |
../TypeScript/tests/cases/compiler/inlineSources.ts | |
../TypeScript/tests/cases/compiler/inlineSources2.ts | |
../TypeScript/tests/cases/compiler/innerAliases.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -86,12 +86,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "A" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -185,12 +178,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "D" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "inner" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,22 +1,17 @@ | |
-module A { | |
- export module B { | |
- export module C { | |
- export class Class1 {} | |
- } | |
- } | |
+namespace A { | |
+ export namespace B { export namespace C { export class Class1 {} } } | |
} | |
-module D { | |
- import inner = A.B.C; | |
- | |
- var c1 = new inner.Class1(); | |
+namespace D { | |
+ import inner = undefined.C; | |
- export module E { | |
- export class Class2 {} | |
- } | |
+ var c1 = new inner.Class1(); | |
+ | |
+ export namespace E { | |
+ export class Class2 {} | |
+ } | |
} | |
-var c: D.inner.Class1; | |
+var c: undefined.Class1; | |
c = new D.inner.Class1(); | |
- | |
../TypeScript/tests/cases/compiler/innerAliases2.ts | |
../TypeScript/tests/cases/compiler/innerBoundLambdaEmit.ts | |
../TypeScript/tests/cases/compiler/innerExtern.ts | |
../TypeScript/tests/cases/compiler/innerFunc.ts | |
../TypeScript/tests/cases/compiler/innerModExport1.ts | |
../TypeScript/tests/cases/compiler/innerModExport1.ts: { index: 82, | |
lineNumber: 5, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/innerModExport2.ts | |
../TypeScript/tests/cases/compiler/innerModExport2.ts: { index: 82, | |
lineNumber: 5, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/innerOverloads.ts | |
../TypeScript/tests/cases/compiler/innerTypeArgumentInference.ts | |
../TypeScript/tests/cases/compiler/innerTypeCheckOfLambdaArgument.ts | |
../TypeScript/tests/cases/compiler/inOperator.ts | |
../TypeScript/tests/cases/compiler/inOperatorWithFunction.ts | |
../TypeScript/tests/cases/compiler/inOperatorWithGeneric.ts | |
../TypeScript/tests/cases/compiler/instanceAndStaticDeclarations1.ts | |
../TypeScript/tests/cases/compiler/instanceOfAssignability.ts | |
../TypeScript/tests/cases/compiler/instanceOfAssignability.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/instanceOfInExternalModules.ts | |
../TypeScript/tests/cases/compiler/instanceOfInExternalModules.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/instanceofOperator.ts | |
../TypeScript/tests/cases/compiler/instanceofOperator.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/instanceofWithStructurallyIdenticalTypes.ts | |
../TypeScript/tests/cases/compiler/instanceofWithStructurallyIdenticalTypes.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/instanceSubtypeCheck1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -80,14 +80,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,7 @@ | |
-interface A<T> | |
-{ | |
- x: A<B<T>> | |
+interface A<T> { | |
+ x: A<B<T>> | |
} | |
- | |
-interface B<T> extends A<T> | |
-{ | |
\ No newline at end of file | |
- x: B<A<T>> | |
-} | |
+ | |
+interface B<T> extends A { | |
+ x: B<A<T>> | |
+} | |
../TypeScript/tests/cases/compiler/instanceSubtypeCheck2.ts | |
../TypeScript/tests/cases/compiler/instantiateConstraintsToTypeArguments2.ts | |
../TypeScript/tests/cases/compiler/instantiateConstraintsToTypeArguments2.ts: { index: 14, | |
lineNumber: 1, | |
column: 14, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/instantiateContextuallyTypedGenericThis.ts | |
../TypeScript/tests/cases/compiler/instantiateCrossFileMerge.ts | |
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints.ts | |
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints.ts: { index: 16, | |
lineNumber: 1, | |
column: 16, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints2.ts | |
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints2.ts: { index: 14, | |
lineNumber: 1, | |
column: 14, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/instantiatedReturnTypeContravariance.ts | |
../TypeScript/tests/cases/compiler/instantiatedTypeAliasDisplay.ts | |
../TypeScript/tests/cases/compiler/instantiateTypeParameter.ts | |
../TypeScript/tests/cases/compiler/instantiateTypeParameter.ts: { index: 24, | |
lineNumber: 2, | |
column: 4, | |
message: 'Property or signature expected.' } | |
../TypeScript/tests/cases/compiler/interface0.ts | |
../TypeScript/tests/cases/compiler/interfaceAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/interfaceClassMerging.ts | |
../TypeScript/tests/cases/compiler/interfaceClassMerging2.ts | |
../TypeScript/tests/cases/compiler/interfaceContextualType.ts | |
../TypeScript/tests/cases/compiler/interfacedecl.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration1.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration2.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration3.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration4.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration4.ts: { index: 731, | |
lineNumber: 39, | |
column: 13, | |
message: '\'{\' expected.' } | |
../TypeScript/tests/cases/compiler/interfaceDeclaration5.ts | |
../TypeScript/tests/cases/compiler/interfaceDeclaration6.ts | |
../TypeScript/tests/cases/compiler/InterfaceDeclaration8.ts | |
../TypeScript/tests/cases/compiler/interfacedeclWithIndexerErrors.ts | |
../TypeScript/tests/cases/compiler/interfaceExtendsClass1.ts | |
../TypeScript/tests/cases/compiler/interfaceExtendsClassWithPrivate1.ts | |
../TypeScript/tests/cases/compiler/interfaceExtendsClassWithPrivate2.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation1.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation2.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation3.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation4.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation5.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation6.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation7.ts | |
../TypeScript/tests/cases/compiler/interfaceImplementation8.ts | |
../TypeScript/tests/cases/compiler/interfaceInheritance.ts | |
../TypeScript/tests/cases/compiler/interfaceInheritance2.ts | |
../TypeScript/tests/cases/compiler/interfaceInReopenedModule.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,4 +7,5 @@ | |
interface f {} | |
+ | |
export class n { | |
private n: f; | |
../TypeScript/tests/cases/compiler/interfaceMayNotBeExtendedWitACall.ts | |
../TypeScript/tests/cases/compiler/interfaceMemberValidation.ts | |
../TypeScript/tests/cases/compiler/interfaceNameAsIdentifier.ts | |
../TypeScript/tests/cases/compiler/interfaceNaming1.ts | |
../TypeScript/tests/cases/compiler/interfaceNaming1.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/interfaceOnly.ts | |
../TypeScript/tests/cases/compiler/interfacePropertiesWithSameName1.ts | |
../TypeScript/tests/cases/compiler/interfacePropertiesWithSameName2.ts | |
../TypeScript/tests/cases/compiler/interfacePropertiesWithSameName3.ts | |
../TypeScript/tests/cases/compiler/interfaceSubtyping.ts | |
../TypeScript/tests/cases/compiler/interfaceWithCommaSeparators.ts | |
../TypeScript/tests/cases/compiler/interfaceWithImplements1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -19,5 +19,5 @@ | |
{ | |
"type": "TSHeritageClause", | |
- "token": 108, | |
+ "token": 85, | |
"types": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,3 @@ | |
-interface IFoo { } | |
+interface IFoo {} | |
-interface IBar implements IFoo { | |
\ No newline at end of file | |
-} | |
+interface IBar extends IFoo {} | |
../TypeScript/tests/cases/compiler/interfaceWithMultipleDeclarations.ts | |
../TypeScript/tests/cases/compiler/interfaceWithMultipleDeclarations.ts: { index: 88, | |
lineNumber: 7, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/interfaceWithOptionalProperty.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces0.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces1.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces2.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces3.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces4.ts | |
../TypeScript/tests/cases/compiler/interMixingModulesInterfaces5.ts | |
../TypeScript/tests/cases/compiler/internalAliasClass.ts | |
../TypeScript/tests/cases/compiler/internalAliasClassInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasClassInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasClassInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasClassInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnum.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnumInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnumInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnumInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasEnumInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunction.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunctionInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasFunctionInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModule.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInitializedModuleInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterface.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterfaceInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasInterfaceInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModule.ts | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -166,12 +166,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "c" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "b" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,17 +1,16 @@ | |
//@module: amd | |
-export module a { | |
- export module b { | |
- export interface I { | |
- foo(); | |
- } | |
+export namespace a { | |
+ export namespace b { | |
+ export interface I { | |
+ foo() | |
} | |
+ } | |
} | |
-export module c { | |
- import b = a.b; | |
- export var x: b.I; | |
\ No newline at end of file | |
- x.foo(); | |
+export namespace c { | |
+ import b = a.b; | |
+ export var x: b.I; | |
+ x.foo(); | |
} | |
- | |
-export var z: c.b.I; | |
+export var z: undefined.I; | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasVar.ts | |
../TypeScript/tests/cases/compiler/internalAliasVarInsideLocalModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExportAccessError.ts | |
../TypeScript/tests/cases/compiler/internalAliasVarInsideTopLevelModuleWithExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasVarInsideTopLevelModuleWithoutExport.ts | |
../TypeScript/tests/cases/compiler/internalAliasWithDottedNameEmit.ts | |
../TypeScript/tests/cases/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.ts | |
../TypeScript/tests/cases/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.ts | |
../TypeScript/tests/cases/compiler/internalImportInstantiatedModuleNotReferencingInstance.ts | |
../TypeScript/tests/cases/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.ts | |
../TypeScript/tests/cases/compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.ts | |
../TypeScript/tests/cases/compiler/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.ts | |
../TypeScript/tests/cases/compiler/intersectionTypeInference1.ts | |
../TypeScript/tests/cases/compiler/intersectionTypeInference1.ts: { index: 171, | |
lineNumber: 6, | |
column: 50, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/intersectionTypeNormalization.ts | |
../TypeScript/tests/cases/compiler/intersectionTypeWithLeadingOperator.ts | |
../TypeScript/tests/cases/compiler/intrinsics.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,4 +13,4 @@ | |
m1.__proto__ = 0; | |
-class Foo<___proto__> {} | |
+class Foo<____proto__> {} | |
var foo: (__proto__: number) => void; | |
../TypeScript/tests/cases/compiler/intTypeCheck.ts | |
../TypeScript/tests/cases/compiler/intTypeCheck.ts: { index: 2452, | |
lineNumber: 117, | |
column: 34, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/invalidConstraint1.ts | |
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES5.ts | |
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES5.ts: { index: 165, | |
lineNumber: 6, | |
column: 12, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES6.ts | |
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES6.ts: { index: 165, | |
lineNumber: 6, | |
column: 12, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/invalidReferenceSyntax1.ts | |
../TypeScript/tests/cases/compiler/invalidReferenceSyntax1.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid \'reference\' directive syntax.' } | |
../TypeScript/tests/cases/compiler/invalidSplice.ts | |
../TypeScript/tests/cases/compiler/invalidStaticField.ts | |
../TypeScript/tests/cases/compiler/invalidSymbolInTypeParameter1.ts | |
../TypeScript/tests/cases/compiler/invalidThisEmitInContextualObjectLiteral.ts | |
../TypeScript/tests/cases/compiler/invalidTripleSlashReference.ts | |
../TypeScript/tests/cases/compiler/invalidTypeNames.ts | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance.ts | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance.ts: { index: 7, | |
lineNumber: 1, | |
column: 7, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance2.ts | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance2.ts: { index: 7, | |
lineNumber: 1, | |
column: 7, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance3.ts | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance3.ts: { index: 1, | |
lineNumber: 1, | |
column: 1, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance4.ts | |
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance4.ts: { index: 46, | |
lineNumber: 2, | |
column: 4, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/invalidUseOfTypeAsNamespace.ts | |
../TypeScript/tests/cases/compiler/invocationExpressionInFunctionParameter.ts | |
../TypeScript/tests/cases/compiler/invokingNonGenericMethodWithTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/invokingNonGenericMethodWithTypeArguments2.ts | |
../TypeScript/tests/cases/compiler/ipromise2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -185,12 +185,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -344,12 +337,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -503,12 +489,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -653,12 +632,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -833,12 +805,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,20 +1,38 @@ | |
-declare module Windows.Foundation { | |
- export interface IPromise<T> { | |
- then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- done<U>(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void ): void; | |
- value: T; | |
- } | |
+declare namespace Windows.Foundation { | |
+ export interface IPromise<T> { | |
+ then<U>( | |
+ success?: (value: T) => IPromise<U>, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => IPromise<U>, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => U, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => U, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ done<U>( | |
+ success?: (value: T) => any, | |
+ error?: (error: any) => any, | |
+ progress?: (progress: any) => void | |
+ ): void, | |
+ value: T | |
+ } | |
} | |
-var p: Windows.Foundation.IPromise<string>; | |
+var p: undefined.IPromise<string>; | |
-var p2 = p.then(function (s) { | |
- return 34; | |
-} ); | |
+var p2 = p.then(function(s) { | |
+ return 34; | |
+}); | |
- | |
var x: number = p2.value; | |
- | |
../TypeScript/tests/cases/compiler/ipromise3.ts | |
../TypeScript/tests/cases/compiler/ipromise4.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -185,12 +185,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -344,12 +337,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -503,12 +489,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -653,12 +632,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -820,12 +792,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Windows" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Foundation" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,15 +1,40 @@ | |
-declare module Windows.Foundation { | |
- export interface IPromise<T> { | |
- then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void ): Windows.Foundation.IPromise<U>; | |
- done? <U>(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void ): void; | |
- } | |
+declare namespace Windows.Foundation { | |
+ export interface IPromise<T> { | |
+ then<U>( | |
+ success?: (value: T) => IPromise<U>, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => IPromise<U>, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => U, | |
+ error?: (error: any) => IPromise<U>, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ then<U>( | |
+ success?: (value: T) => U, | |
+ error?: (error: any) => U, | |
+ progress?: (progress: any) => void | |
+ ): undefined.IPromise<U>, | |
+ done?<U>( | |
+ success?: (value: T) => any, | |
+ error?: (error: any) => any, | |
+ progress?: (progress: any) => void | |
+ ): void | |
+ } | |
} | |
- | |
-var p: Windows.Foundation.IPromise<number> = null; | |
- | |
-p.then(function (x) { } ); // should not error | |
-p.then(function (x) { return "hello"; } ).then(function (x) { return x } ); // should not error | |
- | |
+ | |
+var p: undefined.IPromise<number> = null; | |
+ | |
+p.then(function(x) {}); // should not error | |
+p | |
+ .then(function(x) { | |
+ return "hello"; | |
+ }) | |
+ .then(function(x) { | |
+ return x; | |
+ }); // should not error | |
../TypeScript/tests/cases/compiler/isArray.ts | |
../TypeScript/tests/cases/compiler/isDeclarationVisibleNodeKinds.ts | |
../TypeScript/tests/cases/compiler/isLiteral1.ts | |
../TypeScript/tests/cases/compiler/isLiteral2.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesAmbientConstEnum.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesDeclaration.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesES6.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesImportExportElision.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesNoEmitOnError.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesNoExternalModule.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesNonAmbientConstEnum.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesOut.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesPlainFile-AMD.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesPlainFile-CommonJS.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesPlainFile-ES6.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesPlainFile-System.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesPlainFile-UMD.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesSourceMap.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesSpecifiedModule.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesUnspecifiedModule.ts | |
../TypeScript/tests/cases/compiler/isolatedModulesWithDeclarationFile.ts | |
../TypeScript/tests/cases/compiler/iteratorsAndStrictNullChecks.ts | |
../TypeScript/tests/cases/compiler/jsdocInTypeScript.ts | |
../TypeScript/tests/cases/compiler/jsFileClassPropertyInitalizationInObjectLiteral.ts | |
../TypeScript/tests/cases/compiler/jsFileClassPropertyType.ts | |
../TypeScript/tests/cases/compiler/jsFileClassPropertyType2.ts | |
../TypeScript/tests/cases/compiler/jsFileClassPropertyType3.ts | |
../TypeScript/tests/cases/compiler/jsFileClassSelfReferencedProperty.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationAbstractModifier.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationAmbientVarDeclarationSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindDuplicateIdentifier.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindErrors.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindMultipleDefaultExports.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindMultipleDefaultExports.ts: { index: 118, | |
lineNumber: 7, | |
column: 15, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindReachabilityErrors.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindStrictModeErrors.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationBindStrictModeErrors.ts: { index: 682, | |
lineNumber: 40, | |
column: 10, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/jsFileCompilationClassMethodContainingArrowFunction.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationConstModifier.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationDecoratorSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationDecoratorSyntax.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/compiler/jsFileCompilationDuplicateFunctionImplementation.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationDuplicateVariable.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationDuplicateVariableErrorReported.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationEmitBlockedCorrectly.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationEmitDeclarations.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationEmitTrippleSlashReference.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationEnumSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithNoOut.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationExportAssignmentSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationExternalPackageError.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationHeritageClauseSyntaxOfClass.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationImportEqualsSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationInterfaceSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationLetBeingRenamed.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationLetDeclarationOrder.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationLetDeclarationOrder2.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationModuleSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithNoOut.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationOptionalParameter.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationPublicMethodSyntaxOfClass.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationPublicParameterModifier.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationRestParameter.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationRestParamJsDocFunction.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationReturnTypeSyntaxOfFunction.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationShortHandProperty.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationSyntaxError.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeAliasSyntax.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeArgumentSyntaxOfCall.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeAssertions.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeAssertions.ts: { index: 48, | |
lineNumber: 3, | |
column: 9, | |
message: 'JSX element \'string\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeOfParameter.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeParameterSyntaxOfClass.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeParameterSyntaxOfFunction.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationTypeSyntaxOfVar.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithDeclarationEmitPathSameAsInput.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithJsEmitPathSameAsInput.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithMapFileAsJs.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithMapFileAsJsWithOutDir.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithOut.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithOutDeclarationFileNameSameAsInputJsFile.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithOutFileNameSameAsInputJsFile.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithoutJsExtensions.ts | |
../TypeScript/tests/cases/compiler/jsFileCompilationWithoutOut.ts | |
../TypeScript/tests/cases/compiler/jsFileFunctionParametersAsOptional.ts | |
../TypeScript/tests/cases/compiler/jsFileFunctionParametersAsOptional2.ts | |
../TypeScript/tests/cases/compiler/json.stringify.ts | |
../TypeScript/tests/cases/compiler/jsxEmitWithAttributes.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryAndReactNamespace.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryIdentifier.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryIdentifierAsParameter.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryIdentifierWithAbsentParameter.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryNotIdentifierOrQualifiedName.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryNotIdentifierOrQualifiedName2.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryQualifiedName.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryQualifiedNameResolutionError.ts | |
../TypeScript/tests/cases/compiler/jsxFactoryQualifiedNameWithEs5.ts | |
../TypeScript/tests/cases/compiler/jsxPreserveWithJsInput.ts | |
../TypeScript/tests/cases/compiler/keepImportsInDts1.ts | |
../TypeScript/tests/cases/compiler/keepImportsInDts2.ts | |
../TypeScript/tests/cases/compiler/keepImportsInDts3.ts | |
../TypeScript/tests/cases/compiler/keepImportsInDts4.ts | |
../TypeScript/tests/cases/compiler/keyofIsLiteralContexualType.ts | |
../TypeScript/tests/cases/compiler/keywordField.ts | |
../TypeScript/tests/cases/compiler/knockout.ts | |
../TypeScript/tests/cases/compiler/lambdaArgCrash.ts | |
../TypeScript/tests/cases/compiler/lambdaASIEmit.ts | |
../TypeScript/tests/cases/compiler/lambdaExpression.ts | |
../TypeScript/tests/cases/compiler/lambdaParamTypes.ts | |
../TypeScript/tests/cases/compiler/lambdaPropSelf.ts | |
../TypeScript/tests/cases/compiler/lastPropertyInLiteralWins.ts | |
../TypeScript/tests/cases/compiler/letAndVarRedeclaration.ts | |
../TypeScript/tests/cases/compiler/letAsIdentifier.ts | |
../TypeScript/tests/cases/compiler/letAsIdentifier2.ts | |
../TypeScript/tests/cases/compiler/letAsIdentifierInStrictMode.ts | |
../TypeScript/tests/cases/compiler/letConstInCaseClauses.ts | |
../TypeScript/tests/cases/compiler/letConstMatchingParameterNames.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-access.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-es5-1.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-es5.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-invalidContexts.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates2.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates3.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates4.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates5.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates6.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes-duplicates7.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-scopes2.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-useBeforeDefinition.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-useBeforeDefinition2.ts | |
../TypeScript/tests/cases/compiler/letDeclarations-validContexts.ts | |
../TypeScript/tests/cases/compiler/letDeclarations.ts | |
../TypeScript/tests/cases/compiler/letDeclarations2.ts | |
../TypeScript/tests/cases/compiler/letInConstDeclarations_ES5.ts | |
../TypeScript/tests/cases/compiler/letInConstDeclarations_ES6.ts | |
../TypeScript/tests/cases/compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts | |
../TypeScript/tests/cases/compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts | |
../TypeScript/tests/cases/compiler/letInLetDeclarations_ES5.ts | |
../TypeScript/tests/cases/compiler/letInLetDeclarations_ES6.ts | |
../TypeScript/tests/cases/compiler/letInNonStrictMode.ts | |
../TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts | |
../TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES6.ts | |
../TypeScript/tests/cases/compiler/letInVarDeclOfForOf_ES5.ts | |
../TypeScript/tests/cases/compiler/letInVarDeclOfForOf_ES6.ts | |
../TypeScript/tests/cases/compiler/letKeepNamesOfTopLevelItems.ts | |
../TypeScript/tests/cases/compiler/letShadowedByNameInNestedScope.ts | |
../TypeScript/tests/cases/compiler/libdtsFix.ts | |
../TypeScript/tests/cases/compiler/libMembers.ts | |
../TypeScript/tests/cases/compiler/library_ArraySlice.ts | |
../TypeScript/tests/cases/compiler/library_DatePrototypeProperties.ts | |
../TypeScript/tests/cases/compiler/library_ObjectPrototypeProperties.ts | |
../TypeScript/tests/cases/compiler/library_RegExpExecArraySlice.ts | |
../TypeScript/tests/cases/compiler/library_StringSlice.ts | |
../TypeScript/tests/cases/compiler/lift.ts | |
../TypeScript/tests/cases/compiler/limitDeepInstantiations.ts | |
../TypeScript/tests/cases/compiler/listFailure.ts | |
../TypeScript/tests/cases/compiler/literals-negative.ts | |
../TypeScript/tests/cases/compiler/literals-negative.ts: { index: 162, | |
lineNumber: 5, | |
column: 9, | |
message: 'JSX element \'boolean\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/literals1.ts | |
../TypeScript/tests/cases/compiler/literalsInComputedProperties1.ts | |
../TypeScript/tests/cases/compiler/localAliasExportAssignment.ts | |
../TypeScript/tests/cases/compiler/localClassesInLoop.ts | |
../TypeScript/tests/cases/compiler/localClassesInLoop_ES6.ts | |
../TypeScript/tests/cases/compiler/localImportNameVsGlobalName.ts | |
../TypeScript/tests/cases/compiler/localRequireFunction.ts | |
../TypeScript/tests/cases/compiler/localVariablesReturnedFromCatchBlocks.ts | |
../TypeScript/tests/cases/compiler/logicalNotExpression1.ts | |
../TypeScript/tests/cases/compiler/m7Bugs.ts | |
../TypeScript/tests/cases/compiler/m7Bugs.ts: { index: 141, | |
lineNumber: 10, | |
column: 15, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/mapOnTupleTypes01.ts | |
../TypeScript/tests/cases/compiler/mapOnTupleTypes02.ts | |
../TypeScript/tests/cases/compiler/mappedTypeInferenceCircularity.ts | |
../TypeScript/tests/cases/compiler/mappedTypeNestedGenericInstantiation.ts | |
../TypeScript/tests/cases/compiler/mappedTypeWithCombinedTypeMappers.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,7 +14,4 @@ | |
"init": { | |
"type": "TSMappedType", | |
- "readonlyToken": { | |
- "type": "TSReadonlyKeyword" | |
- }, | |
"typeParameter": { | |
"type": "TSTypeParameter", | |
@@ -89,9 +86,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,14 +2,14 @@ | |
type Meta<T, A> = { | |
- readonly[P in keyof T]: { | |
- value: T[P]; | |
- also: A; | |
- readonly children: Meta<T[P], A>; | |
- }; | |
+[P in keyof T]: { | |
+ value: T[P], | |
+ also: A, | |
+ children: Meta<T[P], A> | |
} | |
+}; | |
interface Input { | |
- x: string; | |
- y: number; | |
+ x: string, | |
+ y: number | |
} | |
../TypeScript/tests/cases/compiler/matchingOfObjectLiteralConstraints.ts | |
../TypeScript/tests/cases/compiler/matchReturnTypeInAllBranches.ts | |
../TypeScript/tests/cases/compiler/maxConstraints.ts | |
../TypeScript/tests/cases/compiler/maxConstraints.ts: { index: 84, | |
lineNumber: 5, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts | |
../TypeScript/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts: { index: 160, | |
lineNumber: 9, | |
column: 19, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/memberAccessMustUseModuleInstances.ts | |
../TypeScript/tests/cases/compiler/memberAccessOnConstructorType.ts | |
../TypeScript/tests/cases/compiler/MemberAccessorDeclaration15.ts | |
../TypeScript/tests/cases/compiler/memberOverride.ts | |
../TypeScript/tests/cases/compiler/memberScope.ts | |
../TypeScript/tests/cases/compiler/memberVariableDeclarations1.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -9,4 +9,5 @@ | |
export var origin = point(0, 0); | |
+ | |
export function equals(p1: Point, p2: Point) { | |
return p1.x == p2.x && p1.y == p2.y; | |
../TypeScript/tests/cases/compiler/mergedDeclarations2.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations3.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations4.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations5.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations6.ts | |
../TypeScript/tests/cases/compiler/mergedDeclarations7.ts | |
../TypeScript/tests/cases/compiler/mergedEnumDeclarationCodeGen.ts | |
../TypeScript/tests/cases/compiler/mergedInterfaceFromMultipleFiles1.ts | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationCodeGen.ts | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationCodeGen2.ts | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationCodeGen3.ts | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationCodeGen4.ts | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationCodeGen5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,5 @@ | |
} | |
+ | |
export function M() { | |
} | |
../TypeScript/tests/cases/compiler/mergedModuleDeclarationWithSharedExportedVar.ts | |
../TypeScript/tests/cases/compiler/mergeWithImportedNamespace.ts | |
../TypeScript/tests/cases/compiler/mergeWithImportedType.ts | |
../TypeScript/tests/cases/compiler/metadataOfClassFromModule.ts | |
../TypeScript/tests/cases/compiler/metadataOfClassFromModule.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/metadataOfEventAlias.ts | |
../TypeScript/tests/cases/compiler/metadataOfEventAlias.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/metadataOfStringLiteral.ts | |
../TypeScript/tests/cases/compiler/metadataOfStringLiteral.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/metadataOfUnion.ts | |
../TypeScript/tests/cases/compiler/metadataOfUnion.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/metadataOfUnionWithNull.ts | |
../TypeScript/tests/cases/compiler/metadataOfUnionWithNull.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/compiler/methodContainingLocalFunction.ts | |
../TypeScript/tests/cases/compiler/methodContainingLocalFunction.ts: { index: 731, | |
lineNumber: 31, | |
column: 25, | |
message: '\'=>\' expected.' } | |
../TypeScript/tests/cases/compiler/methodInAmbientClass1.ts | |
../TypeScript/tests/cases/compiler/methodSignatureDeclarationEmit1.ts | |
../TypeScript/tests/cases/compiler/mismatchedClassConstructorVariable.ts | |
../TypeScript/tests/cases/compiler/mismatchedExplicitTypeParameterAndArgumentType.ts | |
../TypeScript/tests/cases/compiler/mismatchedGenericArguments1.ts | |
../TypeScript/tests/cases/compiler/missingArgument1.ts | |
../TypeScript/tests/cases/compiler/missingFunctionImplementation.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -82,4 +82,5 @@ | |
export function m(): void | |
+ | |
export function m(a?): void { | |
} | |
../TypeScript/tests/cases/compiler/missingFunctionImplementation2.ts | |
../TypeScript/tests/cases/compiler/missingImportAfterModuleImport.ts | |
../TypeScript/tests/cases/compiler/missingPropertiesOfClassExpression.ts | |
../TypeScript/tests/cases/compiler/missingRequiredDeclare.d.ts | |
../TypeScript/tests/cases/compiler/missingReturnStatement.ts | |
../TypeScript/tests/cases/compiler/missingReturnStatement1.ts | |
../TypeScript/tests/cases/compiler/missingSelf.ts | |
../TypeScript/tests/cases/compiler/missingSemicolonInModuleSpecifier.ts | |
../TypeScript/tests/cases/compiler/missingTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/missingTypeArguments2.ts | |
../TypeScript/tests/cases/compiler/missingTypeArguments3.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -399,14 +399,5 @@ | |
"type": "Identifier", | |
"name": "Enumerable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -521,14 +512,5 @@ | |
"type": "Identifier", | |
"name": "Enumerable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "TElement" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,40 +1,46 @@ | |
-declare module linq { | |
+declare namespace linq { // used to incorrectly think this was missing a type argument | |
+ interface Enumerable<T> { | |
+ OrderByDescending(keySelector?: string): OrderedEnumerable<T>, | |
+ GroupBy<TKey>( | |
+ keySelector: (element: T) => TKey | |
+ ): Enumerable<Grouping<TKey, T>>, | |
+ GroupBy<TKey, TElement>( | |
+ keySelector: (element: T) => TKey, | |
+ elementSelector: (element: T) => TElement | |
+ ): Enumerable<Grouping<TKey, TElement>>, | |
+ ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T> | |
+ } | |
- interface Enumerable<T> { | |
- OrderByDescending(keySelector?: string): OrderedEnumerable<T>; | |
- GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; | |
- GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TElement): Enumerable<Grouping<TKey, TElement>>; | |
- ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; | |
- } | |
+ interface OrderedEnumerable<T> extends Enumerable { | |
+ ThenBy<TCompare>( | |
+ keySelector: (element: T) => TCompare | |
+ ): OrderedEnumerable<T> | |
+ } | |
- interface OrderedEnumerable<T> extends Enumerable<T> { | |
- ThenBy<TCompare>(keySelector: (element: T) => TCompare): OrderedEnumerable<T>; // used to incorrectly think this was missing a type argument | |
- } | |
+ interface Grouping<TKey, TElement> extends Enumerable { | |
+ Key(): TKey | |
+ } | |
- interface Grouping<TKey, TElement> extends Enumerable<TElement> { | |
- Key(): TKey; | |
- } | |
+ interface Lookup<TKey, TElement> { | |
+ Count(): number, | |
+ Get(key): Enumerable<any>, | |
+ Contains(key): boolean, | |
+ ToEnumerable(): Enumerable<Grouping<TKey, any>> | |
+ } | |
- interface Lookup<TKey, TElement> { | |
- Count(): number; | |
- Get(key): Enumerable<any>; | |
- Contains(key): boolean; | |
- ToEnumerable(): Enumerable<Grouping<TKey, any>>; | |
- } | |
+ interface Dictionary<TKey, TValue> { | |
+ Add(key: TKey, value: TValue): void, | |
+ Get(ke: TKey): TValue, | |
+ Set(key: TKey, value: TValue): boolean, | |
+ Contains(key: TKey): boolean, | |
+ Clear(): void, | |
+ Remove(key: TKey): void, | |
+ Count(): number, | |
+ ToEnumerable(): Enumerable<KeyValuePair<TKey, TValue>> | |
+ } | |
- interface Dictionary<TKey, TValue> { | |
- Add(key: TKey, value: TValue): void; | |
- Get(ke: TKey): TValue; | |
- Set(key: TKey, value: TValue): boolean; | |
- Contains(key: TKey): boolean; | |
- Clear(): void; | |
- Remove(key: TKey): void; | |
- Count(): number; | |
- ToEnumerable(): Enumerable<KeyValuePair<TKey, TValue>>; | |
- } | |
- | |
- interface KeyValuePair<TKey, TValue> { | |
- Key: TKey; | |
- Value: TValue; | |
- } | |
+ interface KeyValuePair<TKey, TValue> { | |
+ Key: TKey, | |
+ Value: TValue | |
+ } | |
} | |
../TypeScript/tests/cases/compiler/misspelledJsDocTypedefTags.ts | |
../TypeScript/tests/cases/compiler/misspelledNewMetaProperty.ts | |
../TypeScript/tests/cases/compiler/mixedExports.ts | |
../TypeScript/tests/cases/compiler/mixedStaticAndInstanceClassMembers.ts | |
../TypeScript/tests/cases/compiler/mixingFunctionAndAmbientModule1.ts | |
../TypeScript/tests/cases/compiler/mixingStaticAndInstanceOverloads.ts | |
../TypeScript/tests/cases/compiler/mixinPrivateAndProtected.ts | |
../TypeScript/tests/cases/compiler/modFunctionCrash.ts | |
../TypeScript/tests/cases/compiler/modifierOnParameter1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -22,11 +22,6 @@ | |
"params": [ | |
{ | |
- "type": "TSParameterProperty", | |
- "accessibility": null, | |
- "isReadonly": false, | |
- "parameter": { | |
- "type": "Identifier", | |
- "name": "p" | |
- }, | |
+ "type": "Identifier", | |
+ "name": "p", | |
"decorators": [] | |
} | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class C { | |
- constructor(declare p) { } | |
-} | |
\ No newline at end of file | |
+ constructor(p) {} | |
+} | |
../TypeScript/tests/cases/compiler/modifiersInObjectLiterals.ts | |
../TypeScript/tests/cases/compiler/modifiersOnInterfaceIndexSignature1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,9 +11,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPublicKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
interface I { | |
- public [a: string]: number; | |
-} | |
\ No newline at end of file | |
+ [a: string]: number | |
+} | |
../TypeScript/tests/cases/compiler/modKeyword.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_Dom.iterable.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_NoErrorDuplicateLibOptions1.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_NoErrorDuplicateLibOptions2.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_TargetES5UsingES6Lib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_TargetES6UsingES6Lib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_UsingES5LibAndES6ArrayLib.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_UsingES5LibAndES6FeatureLibs.ts | |
../TypeScript/tests/cases/compiler/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.ts | |
../TypeScript/tests/cases/compiler/moduleAliasAsFunctionArgument.ts | |
../TypeScript/tests/cases/compiler/moduleAliasInterface.ts | |
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -73,12 +73,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Y" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
-module X { | |
- export module Y { | |
- export interface Z { } | |
- } | |
- export interface Y { } | |
+namespace X { | |
+ export namespace Y { | |
+ export interface Z {} | |
\ No newline at end of file | |
+ } | |
+ export interface Y {} | |
} | |
-var z: X.Y.Z = null; | |
-var z2: X.Y; | |
+var z: undefined.Z = null; | |
+var z2: X.Y; | |
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -73,12 +73,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Y" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
-module X { | |
- export module Y { | |
- export interface Z { } | |
- } | |
- export interface Y { } | |
+namespace X { | |
+ export namespace Y { | |
+ export interface Z {} | |
\ No newline at end of file | |
+ } | |
+ export interface Y {} | |
} | |
-var z: X.Y.Z = null; | |
-var z2: X.Y<string>; | |
+var z: undefined.Z = null; | |
+var z2: X.Y<string>; | |
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName3.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -82,12 +82,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Y" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,8 @@ | |
-module X { | |
- export module Y { | |
- export interface Z { } | |
- } | |
- export interface Y<T> { } | |
+namespace X { | |
+ export namespace Y { | |
+ export interface Z {} | |
\ No newline at end of file | |
+ } | |
+ export interface Y<T> {} | |
} | |
-var z: X.Y.Z = null; | |
-var z2: X.Y<string>; | |
+var z: undefined.Z = null; | |
+var z2: X.Y<string>; | |
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName4.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -32,12 +32,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "D3" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Color" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
-declare module D3 { | |
- var x: D3.Color.Color; | |
+declare namespace D3 { | |
+ var x: undefined.Color; | |
- module Color { | |
- export interface Color { | |
- darker: Color; | |
- } | |
\ No newline at end of file | |
+ namespace Color { | |
+ export interface Color { | |
+ darker: Color | |
} | |
-} | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/moduleAndInterfaceWithSameName.ts | |
../TypeScript/tests/cases/compiler/moduleAsBaseType.ts | |
../TypeScript/tests/cases/compiler/moduleAssignmentCompat1.ts | |
../TypeScript/tests/cases/compiler/moduleAssignmentCompat2.ts | |
../TypeScript/tests/cases/compiler/moduleAssignmentCompat3.ts | |
../TypeScript/tests/cases/compiler/moduleAssignmentCompat4.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationCollidingNamesInAugmentation1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationCollidingNamesInAugmentation1.ts: { index: 209, | |
lineNumber: 10, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit1.ts: { index: 204, | |
lineNumber: 10, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit2.ts: { index: 204, | |
lineNumber: 10, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationDisallowedExtensions.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule1.ts: { index: 186, | |
lineNumber: 9, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule2.ts: { index: 209, | |
lineNumber: 10, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule1.ts: { index: 190, | |
lineNumber: 9, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule2.ts: { index: 190, | |
lineNumber: 9, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal3.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal4.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal5.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal6.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal6_1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal7.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal7_1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal8.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationGlobal8_1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports3.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports4.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports5.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationImportsAndExports6.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInAmbientModule1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInAmbientModule2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInAmbientModule3.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInAmbientModule4.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInAmbientModule5.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInDependency.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationInDependency2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationNoNewNames.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationNoNewNames.ts: { index: 190, | |
lineNumber: 9, | |
column: 14, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationsBundledOutput1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationsBundledOutput1.ts: { index: 210, | |
lineNumber: 12, | |
column: 40, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/moduleAugmentationsImports1.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationsImports2.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationsImports3.ts | |
../TypeScript/tests/cases/compiler/moduleAugmentationsImports4.ts | |
../TypeScript/tests/cases/compiler/moduleClassArrayCodeGenTest.ts | |
../TypeScript/tests/cases/compiler/moduleCodeGenTest3.ts | |
../TypeScript/tests/cases/compiler/moduleCodegenTest4.ts | |
../TypeScript/tests/cases/compiler/moduleCodeGenTest5.ts | |
../TypeScript/tests/cases/compiler/moduleCrashBug1.ts | |
../TypeScript/tests/cases/compiler/moduledecl.ts | |
../TypeScript/tests/cases/compiler/moduledecl.ts: TypeError: parent.body.filter is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/moduleDuplicateIdentifiers.ts | |
../TypeScript/tests/cases/compiler/moduleElementsInWrongContext.ts | |
../TypeScript/tests/cases/compiler/moduleElementsInWrongContext2.ts | |
../TypeScript/tests/cases/compiler/moduleElementsInWrongContext3.ts | |
../TypeScript/tests/cases/compiler/moduleExports1.ts | |
../TypeScript/tests/cases/compiler/moduleIdentifiers.ts | |
../TypeScript/tests/cases/compiler/moduleImport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
import XYZ = undefined.Z; | |
+ | |
export function ping(x: number) { | |
if (x > 0) XYZ.pong(x - 1); | |
@@ -10,4 +11,5 @@ | |
import ABC = undefined.C; | |
+ | |
export function pong(x: number) { | |
if (x > 0) ABC.ping(x - 1); | |
../TypeScript/tests/cases/compiler/moduleImportedForTypeArgumentPosition.ts | |
../TypeScript/tests/cases/compiler/moduleInTypePosition1.ts | |
../TypeScript/tests/cases/compiler/moduleKeywordRepeatError.ts | |
../TypeScript/tests/cases/compiler/moduleKeywordRepeatError.ts: { index: 68, | |
lineNumber: 3, | |
column: 14, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleMemberWithoutTypeAnnotation1.ts | |
../TypeScript/tests/cases/compiler/moduleMemberWithoutTypeAnnotation2.ts | |
../TypeScript/tests/cases/compiler/moduleMerge.ts | |
../TypeScript/tests/cases/compiler/moduleMergeConstructor.ts | |
../TypeScript/tests/cases/compiler/moduleNewExportBug.ts | |
../TypeScript/tests/cases/compiler/moduleNoEmit.ts | |
../TypeScript/tests/cases/compiler/moduleNoneErrors.ts | |
../TypeScript/tests/cases/compiler/moduleOuterQualification.ts | |
../TypeScript/tests/cases/compiler/modulePrologueAMD.ts | |
../TypeScript/tests/cases/compiler/modulePrologueCommonjs.ts | |
../TypeScript/tests/cases/compiler/modulePrologueES6.ts | |
../TypeScript/tests/cases/compiler/modulePrologueSystem.ts | |
../TypeScript/tests/cases/compiler/modulePrologueUmd.ts | |
../TypeScript/tests/cases/compiler/moduleProperty1.ts | |
../TypeScript/tests/cases/compiler/moduleProperty1.ts: { index: 248, | |
lineNumber: 9, | |
column: 4, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/moduleProperty2.ts | |
../TypeScript/tests/cases/compiler/moduleRedifinitionErrors.ts | |
../TypeScript/tests/cases/compiler/moduleReopenedTypeOtherBlock.ts | |
../TypeScript/tests/cases/compiler/moduleReopenedTypeSameBlock.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
export interface I { n: number } | |
+ | |
export class C2 { | |
f(): I { | |
../TypeScript/tests/cases/compiler/moduleResolutionNoResolve.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionNoTs.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_notSupported.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_notSupported2.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_notSupported3.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_preferTs.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected.ts: { index: 206, | |
lineNumber: 6, | |
column: 5, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected2.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected2.ts: { index: 190, | |
lineNumber: 6, | |
column: 5, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_withAmbientPresent.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_notInNodeModules.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_notInNodeModules.ts: { index: 544, | |
lineNumber: 19, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_referenceTypes.ts | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_referenceTypes.ts: { index: 858, | |
lineNumber: 23, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_withOutDir.ts | |
../TypeScript/tests/cases/compiler/moduleSameValueDuplicateExportedBindings1.ts | |
../TypeScript/tests/cases/compiler/moduleSameValueDuplicateExportedBindings2.ts | |
../TypeScript/tests/cases/compiler/moduleScopingBug.ts | |
../TypeScript/tests/cases/compiler/moduleScopingBug.ts: TypeError: parent.body.filter is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
import M = Z.M; | |
+ | |
export function bar() { | |
} | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
export import M = Z.M; | |
+ | |
export function bar() { | |
} | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt3.ts | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt4.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -9,4 +9,5 @@ | |
import M = Z.M; | |
+ | |
export function bar() { | |
} | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt5.ts | |
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,4 +8,5 @@ | |
import M = Z.M; | |
+ | |
export function bar() { | |
} | |
../TypeScript/tests/cases/compiler/moduleSymbolMerging.ts | |
../TypeScript/tests/cases/compiler/moduleUnassignedVariable.ts | |
../TypeScript/tests/cases/compiler/moduleUnassignedVariable.ts: TypeError: parent.body.filter is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/moduleVariableArrayIndexer.ts | |
../TypeScript/tests/cases/compiler/moduleVariables.ts | |
../TypeScript/tests/cases/compiler/moduleVisibilityTest1.ts | |
../TypeScript/tests/cases/compiler/moduleVisibilityTest1.ts: { index: 1196, | |
lineNumber: 60, | |
column: 20, | |
message: 'JSX element \'M.I\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/moduleVisibilityTest2.ts | |
../TypeScript/tests/cases/compiler/moduleVisibilityTest2.ts: { index: 1172, | |
lineNumber: 61, | |
column: 20, | |
message: 'JSX element \'M.I\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/moduleVisibilityTest3.ts | |
../TypeScript/tests/cases/compiler/moduleWithNoValuesAsType.ts | |
../TypeScript/tests/cases/compiler/moduleWithTryStatement1.ts | |
../TypeScript/tests/cases/compiler/moduleWithValuesAsType.ts | |
../TypeScript/tests/cases/compiler/module_augmentExistingAmbientVariable.ts | |
../TypeScript/tests/cases/compiler/module_augmentExistingVariable.ts | |
../TypeScript/tests/cases/compiler/module_augmentUninstantiatedModule.ts | |
../TypeScript/tests/cases/compiler/module_augmentUninstantiatedModule2.ts | |
../TypeScript/tests/cases/compiler/multiCallOverloads.ts | |
../TypeScript/tests/cases/compiler/multiExtendsSplitInterfaces1.ts | |
../TypeScript/tests/cases/compiler/multiExtendsSplitInterfaces2.ts | |
../TypeScript/tests/cases/compiler/multiImportExport.ts | |
../TypeScript/tests/cases/compiler/multiLineErrors.ts | |
../TypeScript/tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts | |
../TypeScript/tests/cases/compiler/multiModuleClodule1.ts | |
../TypeScript/tests/cases/compiler/multiModuleFundule1.ts | |
../TypeScript/tests/cases/compiler/multipleBaseInterfaesWithIncompatibleProperties.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -53,10 +53,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
}, | |
{ | |
@@ -65,10 +60,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSNumberKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,6 +1,5 @@ | |
-interface A<T> | |
-{ | |
- x: T | |
+interface A<T> { | |
+ x: T | |
} | |
-interface C extends A<string>, A<number> { } | |
+interface C extends A, A {} | |
../TypeScript/tests/cases/compiler/multipleClassPropertyModifiers.ts | |
../TypeScript/tests/cases/compiler/multipleClassPropertyModifiersErrors.ts | |
../TypeScript/tests/cases/compiler/multipleExportAssignments.ts | |
../TypeScript/tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts | |
../TypeScript/tests/cases/compiler/multipleExports.ts | |
../TypeScript/tests/cases/compiler/multipleInheritance.ts | |
../TypeScript/tests/cases/compiler/multivar.ts | |
../TypeScript/tests/cases/compiler/mutrec.ts | |
../TypeScript/tests/cases/compiler/mutuallyRecursiveGenericBaseTypes1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -109,14 +109,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,15 +1,13 @@ | |
interface A<T> { | |
- foo(): B<T>; // instead of B does see this | |
- foo(): void; // instead of B does see this | |
- | |
- foo2(): B<number>; | |
+ foo(): B<T>, // instead of B does see this | |
+ foo(): void, // instead of B does see this | |
+ | |
+ foo2(): B<number> | |
} | |
- | |
-interface B<T> extends A<T> { | |
- bar(): void; | |
+ | |
+interface B<T> extends A { | |
+ bar(): void | |
} | |
- | |
+ | |
var b: B<number>; | |
b.foo(); // should not error | |
- | |
- | |
../TypeScript/tests/cases/compiler/mutuallyRecursiveGenericBaseTypes2.ts | |
../TypeScript/tests/cases/compiler/nameCollisions.ts | |
../TypeScript/tests/cases/compiler/nameCollisions.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/nameCollisionsInPropertyAssignments.ts | |
../TypeScript/tests/cases/compiler/nameCollisionWithBlockScopedVariable1.ts | |
../TypeScript/tests/cases/compiler/namedFunctionExpressionAssignedToClassProperty.ts | |
../TypeScript/tests/cases/compiler/namedFunctionExpressionCall.ts | |
../TypeScript/tests/cases/compiler/namedFunctionExpressionCallErrors.ts | |
../TypeScript/tests/cases/compiler/namedFunctionExpressionInModule.ts | |
../TypeScript/tests/cases/compiler/namespaces1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -73,12 +73,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "X" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Y" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
-module X { | |
- export module Y { | |
- export interface Z { } | |
- } | |
- export interface Y { } | |
+namespace X { | |
+ export namespace Y { | |
+ export interface Z {} | |
+ } | |
\ No newline at end of file | |
+ export interface Y {} | |
} | |
-var x: X.Y.Z; | |
-var x2: X.Y; | |
+var x: undefined.Z; | |
+var x2: X.Y; | |
../TypeScript/tests/cases/compiler/namespaces2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -66,12 +66,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "A" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "B" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,5 @@ | |
-module A { | |
- export module B { | |
- export class C { } | |
- } | |
+namespace A { | |
+ export namespace B { export class C {} } | |
} | |
\ No newline at end of file | |
-var c: A.B.C = new A.B.C(); | |
+var c: undefined.C = new A.B.C(); | |
../TypeScript/tests/cases/compiler/namespacesDeclaration1.ts | |
../TypeScript/tests/cases/compiler/namespacesDeclaration2.ts | |
../TypeScript/tests/cases/compiler/narrowedConstInMethod.ts | |
../TypeScript/tests/cases/compiler/narrowedConstInMethod.ts: { index: 152, | |
lineNumber: 7, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/narrowingByDiscriminantInLoop.ts | |
../TypeScript/tests/cases/compiler/narrowingConstrainedTypeParameter.ts | |
../TypeScript/tests/cases/compiler/narrowingOfDottedNames.ts | |
../TypeScript/tests/cases/compiler/narrowingOfDottedNames.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/narrowTypeByInstanceof.ts | |
../TypeScript/tests/cases/compiler/narrowTypeByInstanceof.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/nativeToBoxedTypes.ts | |
../TypeScript/tests/cases/compiler/negativeZero.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings1.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings10.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings11.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings12.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings13.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings14.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings15.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings16.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings2.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings3.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings4.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings5.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings6.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings7.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings8.ts | |
../TypeScript/tests/cases/compiler/nestedBlockScopedBindings9.ts | |
../TypeScript/tests/cases/compiler/nestedFreshLiteral.ts | |
../TypeScript/tests/cases/compiler/nestedGenerics.ts | |
../TypeScript/tests/cases/compiler/nestedIfStatement.ts | |
../TypeScript/tests/cases/compiler/nestedIndexer.ts | |
../TypeScript/tests/cases/compiler/nestedInfinitelyExpandedRecursiveTypes.ts | |
../TypeScript/tests/cases/compiler/nestedLoops.ts | |
../TypeScript/tests/cases/compiler/nestedLoopTypeGuards.ts | |
../TypeScript/tests/cases/compiler/nestedLoopWithOnlyInnerLetCaptured.ts | |
../TypeScript/tests/cases/compiler/nestedModulePrivateAccess.ts | |
../TypeScript/tests/cases/compiler/nestedRecursiveLambda.ts | |
../TypeScript/tests/cases/compiler/nestedRedeclarationInES6AMD.ts | |
../TypeScript/tests/cases/compiler/nestedSelf.ts | |
../TypeScript/tests/cases/compiler/newArrays.ts | |
../TypeScript/tests/cases/compiler/newExpressionWithCast.ts | |
../TypeScript/tests/cases/compiler/newExpressionWithCast.ts: { index: 167, | |
lineNumber: 9, | |
column: 16, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts | |
../TypeScript/tests/cases/compiler/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts: { index: 26, | |
lineNumber: 2, | |
column: 9, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/newFunctionImplicitAny.ts | |
../TypeScript/tests/cases/compiler/newLexicalEnvironmentForConvertedLoop.ts | |
../TypeScript/tests/cases/compiler/newLineFlagWithCRLF.ts | |
../TypeScript/tests/cases/compiler/newLineFlagWithLF.ts | |
../TypeScript/tests/cases/compiler/newMissingIdentifier.ts | |
../TypeScript/tests/cases/compiler/newMissingIdentifier.ts: { index: 13, | |
lineNumber: 1, | |
column: 13, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/newNamesInGlobalAugmentations1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -168,12 +168,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "M" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "M1" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,14 +4,16 @@ | |
export {}; | |
-declare module M.M1 { | |
- export let x: number; | |
+declare namespace M.M1 { | |
+ export let x: number; | |
} | |
-declare global { | |
- interface SymbolConstructor { | |
- observable: symbol; | |
- } | |
- class Cls {x} | |
- let [a, b]: number[]; | |
- export import X = M.M1.x; | |
+declare namespace global { | |
+ interface SymbolConstructor { | |
+ observable: symbol | |
+ } | |
+ class Cls { | |
+ x; | |
+ } | |
+ let [a, b]: number[]; | |
+ export import X = undefined.x; | |
} | |
@@ -19,4 +21,4 @@ | |
Symbol.observable; | |
-new Cls().x | |
-let c = a + b + X; | |
\ No newline at end of file | |
+new Cls().x; | |
+let c = a + b + X; | |
../TypeScript/tests/cases/compiler/newNonReferenceType.ts | |
../TypeScript/tests/cases/compiler/newOnInstanceSymbol.ts | |
../TypeScript/tests/cases/compiler/newOperator.ts | |
../TypeScript/tests/cases/compiler/noBundledEmitFromNodeModules.ts | |
../TypeScript/tests/cases/compiler/noCatchBlock.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndClassInGlobal.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInAccessors.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInConstructor.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInFunction.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInLambda.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInMethod.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndLocalVarInProperty.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionAndVarInGlobal.ts | |
../TypeScript/tests/cases/compiler/noCollisionThisExpressionInFunctionAndVarInGlobal.ts | |
../TypeScript/tests/cases/compiler/noConstraintInReturnType1.ts | |
../TypeScript/tests/cases/compiler/noDefaultLib.ts | |
../TypeScript/tests/cases/compiler/nodeResolution1.ts | |
../TypeScript/tests/cases/compiler/nodeResolution2.ts | |
../TypeScript/tests/cases/compiler/nodeResolution3.ts | |
../TypeScript/tests/cases/compiler/nodeResolution4.ts | |
../TypeScript/tests/cases/compiler/nodeResolution5.ts | |
../TypeScript/tests/cases/compiler/nodeResolution6.ts | |
../TypeScript/tests/cases/compiler/nodeResolution7.ts | |
../TypeScript/tests/cases/compiler/nodeResolution8.ts | |
../TypeScript/tests/cases/compiler/noEmitHelpers.ts | |
../TypeScript/tests/cases/compiler/noEmitHelpers2.ts | |
../TypeScript/tests/cases/compiler/noEmitHelpers2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/compiler/noEmitOnError.ts | |
../TypeScript/tests/cases/compiler/noErrorsInCallback.ts | |
../TypeScript/tests/cases/compiler/noErrorTruncation.ts | |
../TypeScript/tests/cases/compiler/noErrorUsingImportExportModuleAugmentationInDeclarationFile1.ts | |
../TypeScript/tests/cases/compiler/noErrorUsingImportExportModuleAugmentationInDeclarationFile2.ts | |
../TypeScript/tests/cases/compiler/noErrorUsingImportExportModuleAugmentationInDeclarationFile3.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyDestructuringInPrivateMethod.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyDestructuringParameterDeclaration.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyDestructuringVarDeclaration.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyDestructuringVarDeclaration2.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyDestructuringVarDeclaration2.ts: { index: 398, | |
lineNumber: 8, | |
column: 6, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/noImplicitAnyForIn.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyForMethodParameters.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyForwardReferencedInterface.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyFunctionExpressionAssignment.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyFunctions.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyInBareInterface.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyInCastExpression.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyInCastExpression.ts: { index: 202, | |
lineNumber: 11, | |
column: 10, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyIndexing.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyIndexing.ts: { index: 737, | |
lineNumber: 36, | |
column: 8, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/noImplicitAnyIndexingSuppressed.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyIndexingSuppressed.ts: { index: 884, | |
lineNumber: 36, | |
column: 8, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/noImplicitAnyMissingGetAccessor.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyMissingSetAccessor.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyModule.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInAmbientClass.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInAmbientFunctions.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInAmbientModule.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInAmbientModule.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInBareFunctions.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInClass.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInInterface.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInModule.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyParametersInModule.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/noImplicitAnyReferencingDeclaredInterface.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyStringIndexerOnObject.ts | |
../TypeScript/tests/cases/compiler/noImplicitAnyWithOverloads.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnInConstructors.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsInAsync1.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsInAsync2.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsWithoutReturnExpression.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsWithProtectedBlocks1.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsWithProtectedBlocks2.ts | |
../TypeScript/tests/cases/compiler/noImplicitReturnsWithProtectedBlocks3.ts | |
../TypeScript/tests/cases/compiler/noImplicitThisFunctions.ts | |
../TypeScript/tests/cases/compiler/noImplicitUseStrict_amd.ts | |
../TypeScript/tests/cases/compiler/noImplicitUseStrict_commonjs.ts | |
../TypeScript/tests/cases/compiler/noImplicitUseStrict_es6.ts | |
../TypeScript/tests/cases/compiler/noImplicitUseStrict_system.ts | |
../TypeScript/tests/cases/compiler/noImplicitUseStrict_umd.ts | |
../TypeScript/tests/cases/compiler/nonArrayRestArgs.ts | |
../TypeScript/tests/cases/compiler/nonConflictingRecursiveBaseTypeMembers.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -115,14 +115,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
}, | |
{ | |
@@ -131,14 +122,5 @@ | |
"type": "Identifier", | |
"name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,9 +1,9 @@ | |
interface A<T> { | |
- x: C<T> | |
+ x: C<T> | |
} | |
interface B<T> { | |
- x: C<T> | |
+ x: C<T> | |
} | |
\ No newline at end of file | |
-interface C<T> extends A<T>, B<T> { } // Should not be an error | |
+interface C<T> extends A, B {} // Should not be an error | |
../TypeScript/tests/cases/compiler/nonContextuallyTypedLogicalOr.ts | |
../TypeScript/tests/cases/compiler/nonExportedElementsOfMergedModules.ts | |
../TypeScript/tests/cases/compiler/nonGenericClassExtendingGenericClassWithAny.ts | |
../TypeScript/tests/cases/compiler/nonIdenticalTypeConstraints.ts | |
../TypeScript/tests/cases/compiler/nonIdenticalTypeConstraints.ts: { index: 128, | |
lineNumber: 10, | |
column: 16, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/nonMergedDeclarationsAndOverloads.ts | |
../TypeScript/tests/cases/compiler/nonMergedOverloads.ts | |
../TypeScript/tests/cases/compiler/noReachabilityErrorsOnEmptyStatement.ts | |
../TypeScript/tests/cases/compiler/noSelfOnVars.ts | |
../TypeScript/tests/cases/compiler/noSymbolForMergeCrash.ts | |
../TypeScript/tests/cases/compiler/noTypeArgumentOnReturnType1.ts | |
../TypeScript/tests/cases/compiler/nounusedTypeParameterConstraint.ts | |
../TypeScript/tests/cases/compiler/noUsedBeforeDefinedErrorInAmbientContext1.ts | |
../TypeScript/tests/cases/compiler/null.ts | |
../TypeScript/tests/cases/compiler/nullKeyword.ts | |
../TypeScript/tests/cases/compiler/numberAsInLHS.ts | |
../TypeScript/tests/cases/compiler/numberAssignableToEnumInsideUnion.ts | |
../TypeScript/tests/cases/compiler/numberOnLeftSideOfInExpression.ts | |
../TypeScript/tests/cases/compiler/numberToString.ts | |
../TypeScript/tests/cases/compiler/numericClassMembers1.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint1.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint2.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint3.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint4.ts | |
../TypeScript/tests/cases/compiler/numericIndexerConstraint5.ts | |
../TypeScript/tests/cases/compiler/numericIndexerTyping1.ts | |
../TypeScript/tests/cases/compiler/numericIndexerTyping2.ts | |
../TypeScript/tests/cases/compiler/numericIndexExpressions.ts | |
../TypeScript/tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints01.ts | |
../TypeScript/tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints01.ts: { index: 35, | |
lineNumber: 3, | |
column: 2, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/numericMethodName1.ts | |
../TypeScript/tests/cases/compiler/objectCreate-errors.ts | |
../TypeScript/tests/cases/compiler/objectCreate.ts | |
../TypeScript/tests/cases/compiler/objectCreate.ts: { index: 451, | |
lineNumber: 12, | |
column: 25, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/objectCreate2.ts | |
../TypeScript/tests/cases/compiler/objectCreate2.ts: { index: 440, | |
lineNumber: 12, | |
column: 25, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/objectCreationExpressionInFunctionParameter.ts | |
../TypeScript/tests/cases/compiler/objectCreationExpressionInFunctionParameter.ts: { index: 126, | |
lineNumber: 6, | |
column: 1, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/objectCreationOfElementAccessExpression.ts | |
../TypeScript/tests/cases/compiler/objectFreeze.ts | |
../TypeScript/tests/cases/compiler/objectIndexer.ts | |
../TypeScript/tests/cases/compiler/objectLitArrayDeclNoNew.ts | |
../TypeScript/tests/cases/compiler/objectLitArrayDeclNoNew.ts: { index: 526, | |
lineNumber: 27, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/objectLiteral1.ts | |
../TypeScript/tests/cases/compiler/objectLiteral2.ts | |
../TypeScript/tests/cases/compiler/objectLiteralArraySpecialization.ts | |
../TypeScript/tests/cases/compiler/objectLiteralDeclarationGeneration1.ts | |
../TypeScript/tests/cases/compiler/objectLiteralExcessProperties.ts | |
../TypeScript/tests/cases/compiler/objectLiteralFunctionArgContextualTyping.ts | |
../TypeScript/tests/cases/compiler/objectLiteralFunctionArgContextualTyping2.ts | |
../TypeScript/tests/cases/compiler/objectLiteralIndexerErrors.ts | |
../TypeScript/tests/cases/compiler/objectLiteralIndexerNoImplicitAny.ts | |
../TypeScript/tests/cases/compiler/objectLiteralIndexers.ts | |
../TypeScript/tests/cases/compiler/objectLiteralMemberWithModifiers1.ts | |
../TypeScript/tests/cases/compiler/objectLiteralMemberWithModifiers2.ts | |
../TypeScript/tests/cases/compiler/objectLiteralMemberWithoutBlock1.ts | |
../TypeScript/tests/cases/compiler/objectLiteralMemberWithQuestionMark1.ts | |
../TypeScript/tests/cases/compiler/objectLiteralParameterResolution.ts | |
../TypeScript/tests/cases/compiler/objectLiteralReferencingInternalProperties.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithGetAccessorInsideFunction.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithNumericPropertyName.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons1.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons1.ts: { index: 11, | |
lineNumber: 1, | |
column: 11, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons2.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons2.ts: { index: 14, | |
lineNumber: 2, | |
column: 3, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons3.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons3.ts: { index: 14, | |
lineNumber: 2, | |
column: 3, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons4.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons4.ts: { index: 16, | |
lineNumber: 3, | |
column: 0, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons5.ts | |
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons5.ts: { index: 19, | |
lineNumber: 1, | |
column: 19, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLitGetterSetter.ts | |
../TypeScript/tests/cases/compiler/objectLitGetterSetter.ts: { index: 124, | |
lineNumber: 3, | |
column: 19, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/objectLitIndexerContextualType.ts | |
../TypeScript/tests/cases/compiler/objectLitPropertyScoping.ts | |
../TypeScript/tests/cases/compiler/objectLitStructuralTypeMismatch.ts | |
../TypeScript/tests/cases/compiler/objectLitTargetTypeCallSite.ts | |
../TypeScript/tests/cases/compiler/objectMembersOnTypes.ts | |
../TypeScript/tests/cases/compiler/objectTypeWithOptionalProperty1.ts | |
../TypeScript/tests/cases/compiler/operatorAddNullUndefined.ts | |
../TypeScript/tests/cases/compiler/optionalAccessorsInInterface1.ts | |
../TypeScript/tests/cases/compiler/optionalArgsWithDefaultValues.ts | |
../TypeScript/tests/cases/compiler/optionalConstructorArgInSuper.ts | |
../TypeScript/tests/cases/compiler/optionalFunctionArgAssignability.ts | |
../TypeScript/tests/cases/compiler/optionalParamArgsTest.ts | |
../TypeScript/tests/cases/compiler/optionalParamAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/optionalParameterProperty.ts | |
../TypeScript/tests/cases/compiler/optionalParameterRetainsNull.ts | |
../TypeScript/tests/cases/compiler/optionalParamInOverride.ts | |
../TypeScript/tests/cases/compiler/optionalParamReferencingOtherParams1.ts | |
../TypeScript/tests/cases/compiler/optionalParamReferencingOtherParams2.ts | |
../TypeScript/tests/cases/compiler/optionalParamReferencingOtherParams3.ts | |
../TypeScript/tests/cases/compiler/optionalParamterAndVariableDeclaration.ts | |
../TypeScript/tests/cases/compiler/optionalParamterAndVariableDeclaration2.ts | |
../TypeScript/tests/cases/compiler/optionalParamTypeComparison.ts | |
../TypeScript/tests/cases/compiler/optionalPropertiesInClasses.ts | |
../TypeScript/tests/cases/compiler/optionalPropertiesSyntax.ts | |
../TypeScript/tests/cases/compiler/optionalPropertiesSyntax.ts: { index: 211, | |
lineNumber: 11, | |
column: 6, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/optionalPropertiesTest.ts | |
../TypeScript/tests/cases/compiler/optionalSetterParam.ts | |
../TypeScript/tests/cases/compiler/optionsInlineSourceMapMapRoot.ts | |
../TypeScript/tests/cases/compiler/optionsInlineSourceMapSourcemap.ts | |
../TypeScript/tests/cases/compiler/optionsInlineSourceMapSourceRoot.ts | |
../TypeScript/tests/cases/compiler/optionsOutAndNoModuleGen.ts | |
../TypeScript/tests/cases/compiler/optionsSourcemapInlineSources.ts | |
../TypeScript/tests/cases/compiler/optionsSourcemapInlineSourcesMapRoot.ts | |
../TypeScript/tests/cases/compiler/optionsSourcemapInlineSourcesSourceRoot.ts | |
../TypeScript/tests/cases/compiler/orderMattersForSignatureGroupIdentity.ts | |
../TypeScript/tests/cases/compiler/out-flag.ts | |
../TypeScript/tests/cases/compiler/out-flag2.ts | |
../TypeScript/tests/cases/compiler/out-flag3.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatAmd.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatCommonjs.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatES6.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatSystem.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatUmd.ts | |
../TypeScript/tests/cases/compiler/outModuleConcatUnspecifiedModuleKind.ts | |
../TypeScript/tests/cases/compiler/outModuleTripleSlashRefs.ts | |
../TypeScript/tests/cases/compiler/overEagerReturnTypeSpecialization.ts | |
../TypeScript/tests/cases/compiler/overload1.ts | |
../TypeScript/tests/cases/compiler/overload2.ts | |
../TypeScript/tests/cases/compiler/overloadAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/overloadBindingAcrossDeclarationBoundaries.ts | |
../TypeScript/tests/cases/compiler/overloadBindingAcrossDeclarationBoundaries2.ts | |
../TypeScript/tests/cases/compiler/overloadCallTest.ts | |
../TypeScript/tests/cases/compiler/overloadConsecutiveness.ts | |
../TypeScript/tests/cases/compiler/overloadConsecutiveness.ts: { index: 162, | |
lineNumber: 3, | |
column: 13, | |
message: '\'{\' or \';\' expected.' } | |
../TypeScript/tests/cases/compiler/overloadCrash.ts | |
../TypeScript/tests/cases/compiler/overloadedStaticMethodSpecialization.ts | |
../TypeScript/tests/cases/compiler/overloadEquivalenceWithStatics.ts | |
../TypeScript/tests/cases/compiler/overloadGenericFunctionWithRestArgs.ts | |
../TypeScript/tests/cases/compiler/overloadingOnConstants1.ts | |
../TypeScript/tests/cases/compiler/overloadingOnConstants2.ts | |
../TypeScript/tests/cases/compiler/overloadingOnConstantsInImplementation.ts | |
../TypeScript/tests/cases/compiler/overloadingStaticFunctionsInFunctions.ts | |
../TypeScript/tests/cases/compiler/overloadingStaticFunctionsInFunctions.ts: { index: 13, | |
lineNumber: 1, | |
column: 13, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/overloadModifiersMustAgree.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstantsInvalidOverload1.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstAsTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstConstraintChecks1.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstConstraintChecks2.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstConstraintChecks3.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstConstraintChecks4.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstDuplicateOverloads1.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInBaseWithBadImplementationInDerived.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInCallback1.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInheritance1.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInheritance2.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInheritance3.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInheritance4.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstInObjectLiteralImplementingAnInterface.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstNoAnyImplementation.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstNoAnyImplementation2.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstNoNonSpecializedSignature.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstNoStringImplementation.ts | |
../TypeScript/tests/cases/compiler/overloadOnConstNoStringImplementation2.ts | |
../TypeScript/tests/cases/compiler/overloadOnGenericArity.ts | |
../TypeScript/tests/cases/compiler/overloadOnGenericClassAndNonGenericClass.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionOnDefaultConstructor1.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionOverCTLambda.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionOverNonCTLambdas.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionOverNonCTObjectLit.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionOverNonCTObjectLit.ts: { index: 748, | |
lineNumber: 19, | |
column: 65, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/overloadResolutionTest1.ts | |
../TypeScript/tests/cases/compiler/overloadResolutionWithAny.ts | |
../TypeScript/tests/cases/compiler/overloadresolutionWithConstraintCheckingDeferred.ts | |
../TypeScript/tests/cases/compiler/overloadRet.ts | |
../TypeScript/tests/cases/compiler/overloadReturnTypes.ts | |
../TypeScript/tests/cases/compiler/overloadsAndTypeArgumentArity.ts | |
../TypeScript/tests/cases/compiler/overloadsAndTypeArgumentArityErrors.ts | |
../TypeScript/tests/cases/compiler/overloadsInDifferentContainersDisagreeOnAmbient.ts | |
../TypeScript/tests/cases/compiler/overloadsWithConstraints.ts | |
../TypeScript/tests/cases/compiler/overloadsWithinClasses.ts | |
../TypeScript/tests/cases/compiler/overloadsWithProvisionalErrors.ts | |
../TypeScript/tests/cases/compiler/overloadWithCallbacksWithDifferingOptionalityOnArgs.ts | |
../TypeScript/tests/cases/compiler/overrideBaseIntersectionMethod.ts | |
../TypeScript/tests/cases/compiler/overridingPrivateStaticMembers.ts | |
../TypeScript/tests/cases/compiler/parameterInitializerBeforeDestructuringEmit.ts | |
../TypeScript/tests/cases/compiler/ParameterList13.ts | |
../TypeScript/tests/cases/compiler/ParameterList4.ts | |
../TypeScript/tests/cases/compiler/ParameterList5.ts | |
../TypeScript/tests/cases/compiler/ParameterList6.ts | |
../TypeScript/tests/cases/compiler/ParameterList7.ts | |
../TypeScript/tests/cases/compiler/ParameterList8.ts | |
../TypeScript/tests/cases/compiler/parameterNamesInTypeParameterList.ts | |
../TypeScript/tests/cases/compiler/parameterPropertyInConstructor1.ts | |
../TypeScript/tests/cases/compiler/parameterPropertyInConstructor2.ts | |
../TypeScript/tests/cases/compiler/parameterPropertyInitializerInInitializers.ts | |
../TypeScript/tests/cases/compiler/parameterPropertyOutsideConstructor.ts | |
../TypeScript/tests/cases/compiler/parameterPropertyReferencingOtherParameter.ts | |
../TypeScript/tests/cases/compiler/parameterReferenceInInitializer1.ts | |
../TypeScript/tests/cases/compiler/parameterReferenceInInitializer2.ts | |
../TypeScript/tests/cases/compiler/parameterReferencesOtherParameter1.ts | |
../TypeScript/tests/cases/compiler/parameterReferencesOtherParameter2.ts | |
../TypeScript/tests/cases/compiler/paramPropertiesInSignatures.ts | |
../TypeScript/tests/cases/compiler/paramterDestrcuturingDeclaration.ts | |
../TypeScript/tests/cases/compiler/parse1.ts | |
../TypeScript/tests/cases/compiler/parse1.ts: { index: 40, | |
lineNumber: 4, | |
column: 0, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/parse2.ts | |
../TypeScript/tests/cases/compiler/parse2.ts: { index: 25, | |
lineNumber: 3, | |
column: 0, | |
message: 'Argument expression expected.' } | |
../TypeScript/tests/cases/compiler/parseErrorInHeritageClause1.ts | |
../TypeScript/tests/cases/compiler/parseErrorInHeritageClause1.ts: { index: 18, | |
lineNumber: 1, | |
column: 18, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/parseObjectLiteralsWithoutTypes.ts | |
../TypeScript/tests/cases/compiler/parserConstructorDeclaration12.ts | |
../TypeScript/tests/cases/compiler/parseShortform.ts | |
../TypeScript/tests/cases/compiler/parseTypes.ts | |
../TypeScript/tests/cases/compiler/parseTypes.ts: { index: 10, | |
lineNumber: 2, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/parsingClassRecoversWhenHittingUnexpectedSemicolon.ts | |
../TypeScript/tests/cases/compiler/partiallyAmbientClodule.ts | |
../TypeScript/tests/cases/compiler/partiallyAmbientFundule.ts | |
../TypeScript/tests/cases/compiler/partiallyDiscriminantedUnions.ts | |
../TypeScript/tests/cases/compiler/partiallyDiscriminantedUnions.ts: { index: 266, | |
lineNumber: 23, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_classic.ts: { index: 158, | |
lineNumber: 8, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_node.ts: { index: 161, | |
lineNumber: 7, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_classic.ts: { index: 167, | |
lineNumber: 9, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_node.ts: { index: 172, | |
lineNumber: 9, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution3_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution3_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_classic.ts: { index: 173, | |
lineNumber: 9, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts: { index: 175, | |
lineNumber: 9, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts: { index: 145, | |
lineNumber: 7, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_node.ts: { index: 150, | |
lineNumber: 7, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_classic.ts: { index: 111, | |
lineNumber: 6, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_node.ts: { index: 116, | |
lineNumber: 6, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_classic.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_classic.ts: { index: 111, | |
lineNumber: 6, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_node.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_node.ts: { index: 116, | |
lineNumber: 6, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension.ts: { index: 323, | |
lineNumber: 17, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension_failedLookup.ts | |
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension_failedLookup.ts: { index: 166, | |
lineNumber: 9, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathsValidation1.ts | |
../TypeScript/tests/cases/compiler/pathsValidation1.ts: { index: 53, | |
lineNumber: 3, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathsValidation2.ts | |
../TypeScript/tests/cases/compiler/pathsValidation2.ts: { index: 53, | |
lineNumber: 3, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pathsValidation3.ts | |
../TypeScript/tests/cases/compiler/pathsValidation3.ts: { index: 53, | |
lineNumber: 3, | |
column: 21, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/pinnedComments1.ts | |
../TypeScript/tests/cases/compiler/prefixIncrementAsOperandOfPlusExpression.ts | |
../TypeScript/tests/cases/compiler/prefixUnaryOperatorsOnExportedVariables.ts | |
../TypeScript/tests/cases/compiler/preserveConstEnums.ts | |
../TypeScript/tests/cases/compiler/prespecializedGenericMembers1.ts | |
../TypeScript/tests/cases/compiler/primaryExpressionMods.ts | |
../TypeScript/tests/cases/compiler/primitiveConstraints1.ts | |
../TypeScript/tests/cases/compiler/primitiveConstraints2.ts | |
../TypeScript/tests/cases/compiler/primitiveMembers.ts | |
../TypeScript/tests/cases/compiler/primitiveTypeAsClassName.ts | |
../TypeScript/tests/cases/compiler/primitiveTypeAsInterfaceName.ts | |
../TypeScript/tests/cases/compiler/primitiveTypeAsInterfaceNameGeneric.ts | |
../TypeScript/tests/cases/compiler/primitiveTypeAsmoduleName.ts | |
../TypeScript/tests/cases/compiler/primitiveTypeAssignment.ts | |
../TypeScript/tests/cases/compiler/privacyAccessorDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -205,4 +205,5 @@ | |
export class publicClass {} | |
+ | |
export class publicClassWithWithPrivateGetAccessorTypes { | |
static get myPublicStaticMethod(): privateClass { | |
@@ -392,4 +393,5 @@ | |
export class publicClass {} | |
+ | |
export class publicClassWithWithPrivateGetAccessorTypes { | |
static get myPublicStaticMethod(): privateClass { | |
@@ -621,4 +623,5 @@ | |
export class publicClass {} | |
+ | |
export class publicClassWithWithPrivateGetAccessorTypes { | |
static get myPublicStaticMethod(): privateClass { | |
../TypeScript/tests/cases/compiler/privacyCannotNameAccessorDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -34,4 +34,5 @@ | |
} | |
+ | |
export function createWidget2() { | |
return new Widget2(); | |
../TypeScript/tests/cases/compiler/privacyCannotNameVarTypeDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -33,4 +33,5 @@ | |
} | |
+ | |
export function createWidget2() { | |
return new Widget2(); | |
../TypeScript/tests/cases/compiler/privacyCheckAnonymousFunctionParameter.ts | |
../TypeScript/tests/cases/compiler/privacyCheckAnonymousFunctionParameter2.ts | |
../TypeScript/tests/cases/compiler/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -96,14 +96,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,7 +2,6 @@ | |
//@declaration: true | |
export interface A<T> { | |
- f1(callback: (p: T) => any); | |
+ f1(callback: (p: T) => any) | |
} | |
- | |
-export interface B<T> extends A<T> { | |
-} | |
+ | |
+export interface B<T> extends A {} | |
../TypeScript/tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface1.ts | |
../TypeScript/tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface2.ts | |
../TypeScript/tests/cases/compiler/privacyCheckExternalModuleExportAssignmentOfGenericClass.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -9,4 +9,5 @@ | |
// @Filename: privacyCheckExternalModuleExportAssignmentOfGenericClass_1.ts | |
+ | |
import Foo = require("./privacyCheckExternalModuleExportAssignmentOfGenericClass_0"); | |
export default Bar; | |
../TypeScript/tests/cases/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.ts | |
../TypeScript/tests/cases/compiler/privacyCheckTypeOfFunction.ts | |
../TypeScript/tests/cases/compiler/privacyCheckTypeOfInvisibleModuleError.ts | |
../TypeScript/tests/cases/compiler/privacyCheckTypeOfInvisibleModuleNoError.ts | |
../TypeScript/tests/cases/compiler/privacyClass.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -29,8 +29,10 @@ | |
implements m1_i_private, m1_i_public {} | |
+ | |
export class m1_C11_public | |
extends m1_c_public | |
implements m1_i_private, m1_i_public {} | |
+ | |
export class m1_C12_public | |
extends m1_c_private | |
@@ -67,8 +69,10 @@ | |
implements m2_i_private, m2_i_public {} | |
+ | |
export class m2_C11_public | |
extends m2_c_public | |
implements m2_i_private, m2_i_public {} | |
+ | |
export class m2_C12_public | |
extends m2_c_private | |
../TypeScript/tests/cases/compiler/privacyClassExtendsClauseDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -16,7 +16,9 @@ | |
extends privateClassInPublicModule {} | |
+ | |
export class publicClassExtendingPublicClassInModule | |
extends publicClassInPublicModule {} | |
+ | |
export class publicClassExtendingPrivateClassInModule | |
extends privateClassInPublicModule {} | |
@@ -25,4 +27,5 @@ | |
extends privateModule.publicClassInPrivateModule {} | |
+ | |
export class publicClassExtendingFromPrivateModuleClass | |
extends privateModule.publicClassInPrivateModule {} | |
@@ -42,7 +45,9 @@ | |
extends privateClassInPrivateModule {} | |
+ | |
export class publicClassExtendingPublicClassInModule | |
extends publicClassInPrivateModule {} | |
+ | |
export class publicClassExtendingPrivateClassInModule | |
extends privateClassInPrivateModule {} | |
@@ -51,4 +56,5 @@ | |
extends privateModule.publicClassInPrivateModule {} | |
+ | |
export class publicClassExtendingFromPrivateModuleClass | |
extends privateModule.publicClassInPrivateModule {} | |
@@ -89,7 +95,9 @@ | |
extends privateClassInPublicModule {} | |
+ | |
export class publicClassExtendingPublicClassInModule | |
extends publicClassInPublicModule {} | |
+ | |
export class publicClassExtendingPrivateClassInModule | |
extends privateClassInPublicModule {} | |
../TypeScript/tests/cases/compiler/privacyClassImplementsClauseDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,7 +13,9 @@ | |
implements privateInterfaceInPublicModule {} | |
+ | |
export class publicClassImplementingPublicInterfaceInModule | |
implements publicInterfaceInPublicModule {} | |
+ | |
export class publicClassImplementingPrivateInterfaceInModule | |
implements privateInterfaceInPublicModule {} | |
@@ -22,4 +24,5 @@ | |
implements privateModule.publicInterfaceInPrivateModule {} | |
+ | |
export class publicClassImplementingFromPrivateModuleInterface | |
implements privateModule.publicInterfaceInPrivateModule {} | |
@@ -40,7 +43,9 @@ | |
implements privateInterfaceInPrivateModule {} | |
+ | |
export class publicClassImplementingPublicInterfaceInModule | |
implements publicInterfaceInPrivateModule {} | |
+ | |
export class publicClassImplementingPrivateInterfaceInModule | |
implements privateInterfaceInPrivateModule {} | |
@@ -49,4 +54,5 @@ | |
implements privateModule.publicInterfaceInPrivateModule {} | |
+ | |
export class publicClassImplementingFromPrivateModuleInterface | |
implements privateModule.publicInterfaceInPrivateModule {} | |
@@ -85,7 +91,9 @@ | |
implements privateInterfaceInPublicModule {} | |
+ | |
export class publicClassImplementingPublicInterfaceInModule | |
implements publicInterfaceInPublicModule {} | |
+ | |
export class publicClassImplementingPrivateInterfaceInModule | |
implements privateInterfaceInPublicModule {} | |
../TypeScript/tests/cases/compiler/privacyFunc.ts | |
../TypeScript/tests/cases/compiler/privacyFunc.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/privacyFunctionCannotNameParameterTypeDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -33,4 +33,5 @@ | |
} | |
+ | |
export function createWidget2() { | |
return new Widget2(); | |
@@ -41,4 +42,5 @@ | |
///<reference path='privacyFunctionCannotNameParameterTypeDeclFile_GlobalWidgets.ts'/> | |
+ | |
import Widgets = require("./privacyFunctionCannotNameParameterTypeDeclFile_Widgets"); | |
import Widgets1 = require("GlobalWidgets"); | |
@@ -58,4 +60,5 @@ | |
// @Filename:privacyFunctionCannotNameParameterTypeDeclFile_consumer.ts | |
+ | |
import exporter = require("./privacyFunctionCannotNameParameterTypeDeclFile_exporter"); | |
export class publicClassWithWithPrivateParmeterTypes { | |
../TypeScript/tests/cases/compiler/privacyFunctionCannotNameReturnTypeDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -33,4 +33,5 @@ | |
} | |
+ | |
export function createWidget2() { | |
return new Widget2(); | |
../TypeScript/tests/cases/compiler/privacyFunctionParameterDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyFunctionParameterDeclFile.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/privacyFunctionReturnTypeDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyFunctionReturnTypeDeclFile.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/privacyGetter.ts | |
../TypeScript/tests/cases/compiler/privacyGloClass.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -28,8 +28,10 @@ | |
implements m1_i_private, m1_i_public {} | |
+ | |
export class m1_C11_public | |
extends m1_c_public | |
implements m1_i_private, m1_i_public {} | |
+ | |
export class m1_C12_public | |
extends m1_c_private | |
../TypeScript/tests/cases/compiler/privacyGloFunc.ts | |
../TypeScript/tests/cases/compiler/privacyGloFunc.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/privacyGloGetter.ts | |
../TypeScript/tests/cases/compiler/privacyGloImport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -42,4 +42,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -52,4 +53,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -86,4 +88,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
../TypeScript/tests/cases/compiler/privacyGloImportParseErrors.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -14,4 +15,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -84,4 +86,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
../TypeScript/tests/cases/compiler/privacyGloInterface.ts | |
../TypeScript/tests/cases/compiler/privacyGloVar.ts | |
../TypeScript/tests/cases/compiler/privacyImport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -43,4 +43,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -53,4 +54,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -128,4 +130,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -138,4 +141,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -172,4 +176,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -190,4 +195,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
../TypeScript/tests/cases/compiler/privacyImportParseErrors.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -14,4 +15,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -87,4 +89,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -97,4 +100,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -167,4 +171,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
@@ -184,4 +189,5 @@ | |
export class c1 {} | |
+ | |
export function f1() { | |
return new c1(); | |
../TypeScript/tests/cases/compiler/privacyInterface.ts | |
../TypeScript/tests/cases/compiler/privacyInterfaceExtendsClauseDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyLocalInternalReferenceImportWithExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
export enum e_private { Happy, Grumpy } | |
+ | |
export function f_private() { | |
return new c_private(); | |
@@ -24,4 +25,5 @@ | |
export enum e_public { Happy, Grumpy } | |
+ | |
export function f_public() { | |
return new c_public(); | |
../TypeScript/tests/cases/compiler/privacyLocalInternalReferenceImportWithoutExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
export enum e_private { Happy, Grumpy } | |
+ | |
export function f_private() { | |
return new c_private(); | |
@@ -24,4 +25,5 @@ | |
export enum e_public { Happy, Grumpy } | |
+ | |
export function f_public() { | |
return new c_public(); | |
../TypeScript/tests/cases/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -35,6 +35,8 @@ | |
// Privacy errors - importing private elements | |
+ | |
export import im_public_mi_private = require("./privacyTopLevelAmbientExternalModuleImportWithExport_require"); | |
+ | |
export import im_public_mu_private = require("./privacyTopLevelAmbientExternalModuleImportWithExport_require1"); | |
export import im_public_mi_public = require("m"); | |
../TypeScript/tests/cases/compiler/privacyTopLevelAmbientExternalModuleImportWithoutExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -38,6 +38,8 @@ | |
import im_private_mu_private = require("m2"); | |
+ | |
import im_private_mi_public = require("privacyTopLevelAmbientExternalModuleImportWithoutExport_require"); | |
+ | |
import im_private_mu_public = require("privacyTopLevelAmbientExternalModuleImportWithoutExport_require1"); | |
../TypeScript/tests/cases/compiler/privacyTopLevelInternalReferenceImportWithExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -6,4 +6,5 @@ | |
export enum e_private { Happy, Grumpy } | |
+ | |
export function f_private() { | |
return new c_private(); | |
@@ -24,4 +25,5 @@ | |
export enum e_public { Happy, Grumpy } | |
+ | |
export function f_public() { | |
return new c_public(); | |
../TypeScript/tests/cases/compiler/privacyTopLevelInternalReferenceImportWithoutExport.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,4 +7,5 @@ | |
export enum e_private { Happy, Grumpy } | |
+ | |
export function f_private() { | |
return new c_private(); | |
@@ -25,4 +26,5 @@ | |
export enum e_public { Happy, Grumpy } | |
+ | |
export function f_public() { | |
return new c_public(); | |
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunction.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunction.ts: { index: 250, | |
lineNumber: 8, | |
column: 9, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunctionDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunctionDeclFile.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfClass.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfClassDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterface.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterface.ts: { index: 277, | |
lineNumber: 11, | |
column: 60, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterfaceDeclFile.ts | |
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterfaceDeclFile.ts: { index: 229, | |
lineNumber: 12, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/privacyVar.ts | |
../TypeScript/tests/cases/compiler/privacyVarDeclFile.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -146,4 +146,5 @@ | |
} | |
+ | |
export class publicClassWithPrivateModulePropertyTypes { | |
static myPublicStaticProperty: privateModule.publicClass; | |
@@ -152,4 +153,5 @@ | |
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
+ | |
export declare var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
@@ -230,4 +232,5 @@ | |
} | |
+ | |
export class publicClassWithPrivateModulePropertyTypes { | |
static myPublicStaticProperty: privateModule.publicClass; | |
@@ -236,4 +239,5 @@ | |
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
+ | |
export declare var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
@@ -333,4 +337,5 @@ | |
} | |
+ | |
export class publicClassWithPrivateModulePropertyTypes { | |
static myPublicStaticProperty: privateModule.publicClass; | |
@@ -338,6 +343,8 @@ | |
} | |
+ | |
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
+ | |
export declare var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
@@ -413,4 +420,5 @@ | |
} | |
+ | |
export class publicClassWithPrivateModulePropertyTypes { | |
static myPublicStaticProperty: privateModule.publicClass; | |
@@ -419,4 +427,5 @@ | |
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
+ | |
export declare var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass; | |
../TypeScript/tests/cases/compiler/privateAccessInSubclass1.ts | |
../TypeScript/tests/cases/compiler/privateInstanceVisibility.ts | |
../TypeScript/tests/cases/compiler/privateInterfaceProperties.ts | |
../TypeScript/tests/cases/compiler/privatePropertyUsingObjectType.ts | |
../TypeScript/tests/cases/compiler/privateVisibility.ts | |
../TypeScript/tests/cases/compiler/privateVisibles.ts | |
../TypeScript/tests/cases/compiler/promiseChaining.ts | |
../TypeScript/tests/cases/compiler/promiseChaining1.ts | |
../TypeScript/tests/cases/compiler/promiseChaining2.ts | |
../TypeScript/tests/cases/compiler/promiseIdentity.ts | |
../TypeScript/tests/cases/compiler/promiseIdentity2.ts | |
../TypeScript/tests/cases/compiler/promiseIdentityWithAny.ts | |
../TypeScript/tests/cases/compiler/promiseIdentityWithAny2.ts | |
../TypeScript/tests/cases/compiler/promiseIdentityWithConstraints.ts | |
../TypeScript/tests/cases/compiler/promiseIdentityWithConstraints.ts: { index: 43, | |
lineNumber: 2, | |
column: 9, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/promisePermutations.ts | |
../TypeScript/tests/cases/compiler/promisePermutations2.ts | |
../TypeScript/tests/cases/compiler/promisePermutations3.ts | |
../TypeScript/tests/cases/compiler/promises.ts | |
../TypeScript/tests/cases/compiler/promisesWithConstraints.ts | |
../TypeScript/tests/cases/compiler/promisesWithConstraints.ts: { index: 99, | |
lineNumber: 5, | |
column: 21, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/promiseTest.ts | |
../TypeScript/tests/cases/compiler/promiseTest.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/promiseType.ts | |
../TypeScript/tests/cases/compiler/promiseTypeInference.ts | |
../TypeScript/tests/cases/compiler/promiseTypeStrictNull.ts | |
../TypeScript/tests/cases/compiler/promiseVoidErrorCallback.ts | |
../TypeScript/tests/cases/compiler/propagationOfPromiseInitialization.ts | |
../TypeScript/tests/cases/compiler/properties.ts | |
../TypeScript/tests/cases/compiler/propertiesAndIndexers.ts | |
../TypeScript/tests/cases/compiler/propertiesAndIndexers2.ts | |
../TypeScript/tests/cases/compiler/propertiesAndIndexersForNumericNames.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -140,6 +140,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "Infinity" | |
+ "type": "Identifier", | |
+ "name": "Infinity" | |
}, | |
"value": { | |
@@ -182,6 +182,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "NaN" | |
+ "type": "Identifier", | |
+ "name": "NaN" | |
}, | |
"value": { | |
@@ -308,6 +308,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "hunter2" | |
+ "type": "Identifier", | |
+ "name": "hunter2" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,41 +1,40 @@ | |
class C { | |
- [i: number]: number; | |
+ [i: number]: number | |
- // These all have numeric names; they should error | |
- // because their types are not compatible with the numeric indexer. | |
- public "1": string = "number"; // Error | |
- public "-1": string = "negative number"; // Error | |
- public "-2.5": string = "negative number"; // Error | |
- public "3.141592": string = "pi-sitive number"; // Error | |
- public "1.2e-20": string = "really small number"; // Error | |
- public "Infinity": string = "A gillion"; // Error | |
- public "-Infinity": string = "Negative-a-gillion"; // Error | |
- public "NaN": string = "not a number"; // Error | |
- | |
- // These all have *partially* numeric names, | |
- // but should really be treated as plain string literals. | |
- public " 1": string = "leading space"; // No error | |
- public "1 ": string = "trailing space"; // No error | |
- public "": string = "no nothing"; // No error | |
- public " ": string = "just space"; // No error | |
- public "1 0 1": string = "several numbers and spaces"; // No error | |
- public "hunter2": string = "not a password"; // No error | |
- public "+Infinity": string = "A gillion"; // No error | |
- public "+NaN": string = "not a positive number"; // No error | |
- public "-NaN": string = "not a negative number"; // No error | |
- | |
+ // These all have numeric names; they should error | |
+ // because their types are not compatible with the numeric indexer. | |
+ public "1": string = "number"; // Error | |
+ public "-1": string = "negative number"; // Error | |
+ public "-2.5": string = "negative number"; // Error | |
+ public "3.141592": string = "pi-sitive number"; // Error | |
+ public "1.2e-20": string = "really small number"; // Error | |
+ public Infinity: string = "A gillion"; // Error | |
+ public "-Infinity": string = "Negative-a-gillion"; // Error | |
+ public NaN: string = "not a number"; // Error | |
- // These fall into the above category, however, they are "trickier"; | |
- // these all are *scanned* as numeric literals, but they are not written in | |
- // "canonical" numeric representations. | |
- public "+1": string = "positive number (for the paranoid)"; // No error | |
- public "1e0": string = "just one"; // No error | |
- public "-0": string = "just zero"; // No error | |
- public "-0e0": string = "just zero"; // No error | |
- public "0xF00D": string = "hex food"; // No error | |
- public "0xBEEF": string = "hex beef"; // No error | |
- public "0123": string = "oct 83"; // No error | |
- public "0o123": string = "explicit oct 83"; // No error | |
- public "0b101101001010": string = "explicit binary"; // No error | |
- public "0.000000000000000000012": string = "should've been in exponential form"; // No error | |
+ // These all have *partially* numeric names, | |
+ // but should really be treated as plain string literals. | |
+ public " 1": string = "leading space"; // No error | |
+ public "1 ": string = "trailing space"; // No error | |
+ public "": string = "no nothing"; // No error | |
+ public " ": string = "just space"; // No error | |
+ public "1 0 1": string = "several numbers and spaces"; // No error | |
+ public hunter2: string = "not a password"; // No error | |
+ public "+Infinity": string = "A gillion"; // No error | |
+ public "+NaN": string = "not a positive number"; // No error | |
+ public "-NaN": string = "not a negative number"; // No error | |
+ | |
+ // These fall into the above category, however, they are "trickier"; | |
+ // these all are *scanned* as numeric literals, but they are not written in | |
+ // "canonical" numeric representations. | |
+ public "+1": string = "positive number (for the paranoid)"; // No error | |
+ public "1e0": string = "just one"; // No error | |
+ public "-0": string = "just zero"; // No error | |
+ public "-0e0": string = "just zero"; // No error | |
+ public "0xF00D": string = "hex food"; // No error | |
+ public "0xBEEF": string = "hex beef"; // No error | |
+ public "0123": string = "oct 83"; // No error | |
+ public "0o123": string = "explicit oct 83"; // No error | |
+ public "0b101101001010": string = "explicit binary"; // No error | |
+ public "0.000000000000000000012": string = "should've been in exponential form"; // No error | |
} | |
../TypeScript/tests/cases/compiler/propertyAccess1.ts | |
../TypeScript/tests/cases/compiler/propertyAccess2.ts | |
../TypeScript/tests/cases/compiler/propertyAccess3.ts | |
../TypeScript/tests/cases/compiler/propertyAccess4.ts | |
../TypeScript/tests/cases/compiler/propertyAccess5.ts | |
../TypeScript/tests/cases/compiler/propertyAccess6.ts | |
../TypeScript/tests/cases/compiler/propertyAccess7.ts | |
../TypeScript/tests/cases/compiler/propertyAccessibility1.ts | |
../TypeScript/tests/cases/compiler/propertyAccessibility2.ts | |
../TypeScript/tests/cases/compiler/propertyAssignment.ts | |
../TypeScript/tests/cases/compiler/propertyIdentityWithPrivacyMismatch.ts | |
../TypeScript/tests/cases/compiler/propertyNamesWithStringLiteral.ts | |
../TypeScript/tests/cases/compiler/propertyOrdering.ts | |
../TypeScript/tests/cases/compiler/propertyOrdering2.ts | |
../TypeScript/tests/cases/compiler/propertyParameterWithQuestionMark.ts | |
../TypeScript/tests/cases/compiler/propertySignatures.ts | |
../TypeScript/tests/cases/compiler/propertyWrappedInTry.ts | |
../TypeScript/tests/cases/compiler/propertyWrappedInTry.ts: { index: 19, | |
lineNumber: 3, | |
column: 4, | |
message: 'Unexpected token. A constructor, method, accessor, or property was expected.' } | |
../TypeScript/tests/cases/compiler/protectedMembers.ts | |
../TypeScript/tests/cases/compiler/protoAsIndexInIndexExpression.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -145,6 +145,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "___proto__" | |
+ "type": "Identifier", | |
+ "name": "___proto__" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,13 +7,12 @@ | |
var EntityPrototype = undefined; | |
var WorkspacePrototype = { | |
- serialize: function (): any { | |
- } | |
+ serialize: function(): any {} | |
}; | |
-WorkspacePrototype['__proto__'] = EntityPrototype; | |
+WorkspacePrototype["__proto__"] = EntityPrototype; | |
var o = { | |
- "__proto__": 0 | |
+ ___proto__: 0 | |
}; | |
\ No newline at end of file | |
class C { | |
- "__proto__" = 0; | |
-} | |
+ ___proto__ = 0; | |
+} | |
../TypeScript/tests/cases/compiler/protoAssignment.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -18,10 +18,5 @@ | |
"type": "Identifier", | |
"name": "Comparable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSNumberKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,14 +1,7 @@ | |
- | |
-interface Number extends Comparable<number> { | |
- | |
- compareTo(other: number); | |
- | |
+interface Number extends Comparable { | |
+ compareTo(other: number) | |
} | |
-Number.prototype.compareTo = function (other: number) { | |
- | |
- return this.valueOf() == other; | |
- | |
-} | |
- | |
- | |
+Number.prototype.compareTo = function(other: number) { | |
+ return this.valueOf() == other; | |
+}; | |
../TypeScript/tests/cases/compiler/protoInIndexer.ts | |
../TypeScript/tests/cases/compiler/prototypeInstantiatedWithBaseConstraint.ts | |
../TypeScript/tests/cases/compiler/prototypeOnConstructorFunctions.ts | |
../TypeScript/tests/cases/compiler/prototypes.ts | |
../TypeScript/tests/cases/compiler/publicMemberImplementedAsPrivateInDerivedClass.ts | |
../TypeScript/tests/cases/compiler/qualifiedModuleLocals.ts | |
../TypeScript/tests/cases/compiler/qualifiedModuleLocals.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts | |
../TypeScript/tests/cases/compiler/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts | |
../TypeScript/tests/cases/compiler/qualify.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -285,12 +285,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "T" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "U" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,59 +1,55 @@ | |
-module M { | |
- export var m=0; | |
- export module N { | |
- export var n=1; | |
- } | |
+namespace M { | |
+ export var m = 0; | |
+ export namespace N { | |
+ export var n = 1; | |
+ } | |
} | |
-module M { | |
- export module N { | |
- var y=m; | |
- var x=n+y; | |
- } | |
+namespace M { | |
+ export namespace N { | |
+ var y = m; | |
+ var x = n + y; | |
+ } | |
} | |
- | |
-module T { | |
- export interface I { | |
- p; | |
+namespace T { | |
+ export interface I { | |
+ p | |
+ } | |
+ export namespace U { | |
+ var z: I = 3; | |
+ export interface I2 { | |
+ q | |
} | |
- export module U { | |
- var z:I=3; | |
- export interface I2 { | |
- q; | |
- } | |
- } | |
+ } | |
} | |
-module Peer { | |
- export module U2 { | |
- var z:T.U.I2=3; | |
- } | |
+namespace Peer { | |
+ export namespace U2 { var z: undefined.I2 = 3; } | |
} | |
-module Everest { | |
- export module K1 { | |
- export interface I3 { | |
- zeep; | |
- } | |
+namespace Everest { | |
+ export namespace K1 { | |
+ export interface I3 { | |
+ zeep | |
} | |
- export module K2 { | |
- export interface I4 { | |
- z; | |
- } | |
- var v1:I4; | |
- var v2:K1.I3=v1; | |
- var v3:K1.I3[]=v1; | |
- var v4:()=>K1.I3=v1; | |
- var v5:(k:K1.I3)=>void=v1; | |
- var v6:{k:K1.I3;}=v1; | |
+ } | |
+ export namespace K2 { | |
+ export interface I4 { | |
+ z | |
} | |
+ var v1: I4; | |
+ var v2: K1.I3 = v1; | |
+ var v3: K1.I3[] = v1; | |
+ var v4: () => K1.I3 = v1; | |
+ var v5: (k: K1.I3) => void = v1; | |
+ var v6: { k: K1.I3 } = v1; | |
+ } | |
} | |
interface I { | |
- k; | |
+ k | |
} | |
-var y:I; | |
-var x:T.I=y; | |
- | |
+var y: I; | |
+var x: T.I = y; | |
../TypeScript/tests/cases/compiler/quotedAccessorName1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "foo" | |
+ "type": "Identifier", | |
+ "name": "foo" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,5 @@ | |
class C { | |
- get "foo"() { return 0; } | |
-} | |
\ No newline at end of file | |
+ get foo() { | |
+ return 0; | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/quotedAccessorName2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "foo" | |
+ "type": "Identifier", | |
+ "name": "foo" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,5 @@ | |
class C { | |
- static get "foo"() { return 0; } | |
-} | |
\ No newline at end of file | |
+ static get foo() { | |
+ return 0; | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/quotedFunctionName1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "prop1" | |
+ "type": "Identifier", | |
+ "name": "prop1" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class Test1 { | |
- "prop1"() { } | |
-} | |
\ No newline at end of file | |
+ prop1() {} | |
+} | |
../TypeScript/tests/cases/compiler/quotedFunctionName2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "prop1" | |
+ "type": "Identifier", | |
+ "name": "prop1" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class Test1 { | |
- static "prop1"() { } | |
-} | |
\ No newline at end of file | |
+ static prop1() {} | |
+} | |
../TypeScript/tests/cases/compiler/quotedModuleNameMustBeAmbient.ts | |
../TypeScript/tests/cases/compiler/quotedPropertyName1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "prop1" | |
+ "type": "Identifier", | |
+ "name": "prop1" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class Test1 { | |
- "prop1" = 0; | |
-} | |
\ No newline at end of file | |
+ prop1 = 0; | |
+} | |
../TypeScript/tests/cases/compiler/quotedPropertyName2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "prop1" | |
+ "type": "Identifier", | |
+ "name": "prop1" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class Test1 { | |
- static "prop1" = 0; | |
-} | |
\ No newline at end of file | |
+ static prop1 = 0; | |
+} | |
../TypeScript/tests/cases/compiler/quotedPropertyName3.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "prop1" | |
+ "type": "Identifier", | |
+ "name": "prop1" | |
}, | |
"value": null, | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,7 @@ | |
class Test { | |
- "prop1": number; | |
- foo() { | |
- var x = () => this["prop1"]; | |
- var y: number = x(); | |
- } | |
-} | |
\ No newline at end of file | |
+ prop1: number; | |
+ foo() { | |
+ var x = () => this["prop1"]; | |
+ var y: number = x(); | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/raiseErrorOnParameterProperty.ts | |
../TypeScript/tests/cases/compiler/randomSemicolons1.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks1.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks2.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks3.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks4.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks5.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks6.ts | |
../TypeScript/tests/cases/compiler/reachabilityChecks7.ts | |
../TypeScript/tests/cases/compiler/reachabilityCheckWithEmptyDefault.ts | |
../TypeScript/tests/cases/compiler/reactImportDropped.ts | |
../TypeScript/tests/cases/compiler/reactImportDropped.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/readonlyInDeclarationFile.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,9 +11,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -29,9 +24,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -70,9 +60,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -791,9 +776,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -809,9 +789,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -976,9 +951,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -994,9 +964,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,54 +3,82 @@ | |
interface Foo { | |
- readonly x: number; | |
- readonly [x: string]: Object; | |
+ x: number, | |
+ [x: string]: Object | |
} | |
class C { | |
- readonly [x: string]: Object; | |
- private readonly a1: number; | |
- protected readonly a2: number; | |
- public readonly a3: number; | |
- private get b1() { return 1 } | |
- protected get b2() { return 1 } | |
- public get b3() { return 1 } | |
- private get c1() { return 1 } | |
- private set c1(value) { } | |
- protected get c2() { return 1 } | |
- protected set c2(value) { } | |
- public get c3() { return 1 } | |
- public set c3(value) { } | |
- private static readonly s1: number; | |
- protected static readonly s2: number; | |
- public static readonly s3: number; | |
- private static get t1() { return 1 } | |
- protected static get t2() { return 1 } | |
- public static get t3() { return 1 } | |
- private static get u1() { return 1 } | |
- private static set u1(value) { } | |
- protected static get u2() { return 1 } | |
- protected static set u2(value) { } | |
- public static get u3() { return 1 } | |
- public static set u3(value) { } | |
+ [x: string]: Object | |
+ private a1: number; | |
+ protected a2: number; | |
+ public a3: number; | |
+ private get b1() { | |
+ return 1; | |
+ } | |
+ protected get b2() { | |
+ return 1; | |
+ } | |
+ public get b3() { | |
+ return 1; | |
+ } | |
+ private get c1() { | |
+ return 1; | |
+ } | |
+ private set c1(value) {} | |
+ protected get c2() { | |
+ return 1; | |
+ } | |
\ No newline at end of file | |
+ protected set c2(value) {} | |
+ public get c3() { | |
+ return 1; | |
+ } | |
+ public set c3(value) {} | |
+ static private s1: number; | |
+ static protected s2: number; | |
+ static public s3: number; | |
+ static private get t1() { | |
+ return 1; | |
+ } | |
+ static protected get t2() { | |
+ return 1; | |
+ } | |
+ static public get t3() { | |
+ return 1; | |
+ } | |
+ static private get u1() { | |
+ return 1; | |
+ } | |
+ static private set u1(value) {} | |
+ static protected get u2() { | |
+ return 1; | |
+ } | |
+ static protected set u2(value) {} | |
+ static public get u3() { | |
+ return 1; | |
+ } | |
+ static public set u3(value) {} | |
} | |
var z: { | |
- readonly a: string; | |
- readonly [x: string]: Object; | |
-} | |
+ a: string, | |
+ [x: string]: Object | |
+}; | |
function f() { | |
- return { | |
- get x() { return 1; }, | |
- get y() { return 1; }, | |
- set y(value) { } | |
- } | |
+ return { | |
+ get x() { | |
+ return 1; | |
+ }, | |
+ get y() { | |
+ return 1; | |
+ }, | |
+ set y(value) {} | |
+ }; | |
} | |
function g() { | |
- var x: { | |
- readonly a: string; | |
- readonly [x: string]: Object; | |
- } | |
- return x; | |
-} | |
+ var x: { | |
+ a: string, | |
+ [x: string]: Object | |
+ }; | |
+ return x; | |
+} | |
../TypeScript/tests/cases/compiler/readonlyInNonPropertyParameters.ts | |
../TypeScript/tests/cases/compiler/readonlyMembers.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,9 +11,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -29,9 +24,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -647,9 +637,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -1069,9 +1054,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -1165,9 +1145,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,42 +2,48 @@ | |
interface X { | |
- readonly a: number; | |
- readonly b?: number; | |
+ a: number, | |
+ b?: number | |
} | |
var x: X = { a: 0 }; | |
-x.a = 1; // Error | |
-x.b = 1; // Error | |
+x.a = 1; // Error | |
+x.b = 1; // Error | |
class C { | |
- readonly a: number; | |
- readonly b = 1; | |
- get c() { return 1 } | |
- constructor() { | |
- this.a = 1; // Ok | |
- this.b = 1; // Ok | |
- this.c = 1; // Error | |
- const f = () => { | |
- this.a = 1; // Error | |
- this.b = 1; // Error | |
- this.c = 1; // Error | |
- } | |
- } | |
- foo() { | |
- this.a = 1; // Error | |
- this.b = 1; // Error | |
- this.c = 1; // Error | |
- } | |
+ a: number; | |
+ b = 1; | |
+ get c() { | |
+ return 1; | |
+ } | |
+ constructor() { | |
+ this.a = 1; // Ok | |
+ this.b = 1; // Ok | |
+ this.c = 1; // Error | |
+ const f = () => { | |
+ this.a = 1; // Error | |
+ this.b = 1; // Error | |
+ this.c = 1; // Error | |
+ }; | |
+ } | |
+ foo() { | |
+ this.a = 1; // Error | |
+ this.b = 1; // Error | |
+ this.c = 1; // Error | |
+ } | |
} | |
var o = { | |
- get a() { return 1 }, | |
- get b() { return 1 }, | |
- set b(value) { } | |
+ get a() { | |
+ return 1; | |
+ }, | |
+ get b() { | |
+ return 1; | |
+ }, | |
+ set b(value) {} | |
}; | |
-o.a = 1; // Error | |
+o.a = 1; // Error | |
o.b = 1; | |
-var p: { readonly a: number, b: number } = { a: 1, b: 1 }; | |
-p.a = 1; // Error | |
+var p: { a: number, b: number } = { a: 1, b: 1 }; | |
+p.a = 1; // Error | |
p.b = 1; | |
var q: { a: number, b: number } = p; | |
@@ -45,23 +51,21 @@ | |
q.b = 1; | |
-enum E { | |
- A, B, C | |
-} | |
-E.A = 1; // Error | |
+enum E { A, B, C } | |
+E.A = 1; // Error | |
namespace N { | |
- export const a = 1; | |
- export let b = 1; | |
- export var c = 1; | |
+ export const a = 1; | |
+ export let b = 1; | |
+ export var c = 1; | |
} | |
-N.a = 1; // Error | |
+N.a = 1; // Error | |
N.b = 1; | |
N.c = 1; | |
-let xx: { readonly [x: string]: string }; | |
\ No newline at end of file | |
+let xx: { [x: string]: string }; | |
let s = xx["foo"]; | |
-xx["foo"] = "abc"; // Error | |
+xx["foo"] = "abc"; // Error | |
-let yy: { readonly [x: number]: string, [x: string]: string }; | |
-yy[1] = "abc"; // Error | |
-yy["foo"] = "abc"; | |
+let yy: { [x: number]: string, [x: string]: string }; | |
+yy[1] = "abc"; // Error | |
+yy["foo"] = "abc"; | |
../TypeScript/tests/cases/compiler/reassignStaticProp.ts | |
../TypeScript/tests/cases/compiler/reboundBaseClassSymbol.ts | |
../TypeScript/tests/cases/compiler/reboundIdentifierOnImportAlias.ts | |
../TypeScript/tests/cases/compiler/rectype.ts | |
../TypeScript/tests/cases/compiler/recur1.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck2.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck3.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck4.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck5.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -27,10 +27,5 @@ | |
"type": "Identifier", | |
"name": "I2" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -64,14 +59,5 @@ | |
"type": "Identifier", | |
"name": "I1" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,4 @@ | |
-interface I1<T> extends I2<string> { } | |
-interface I2<T> extends I1<T> { } | |
-class X<T, U> implements I2<T> { } | |
-(new X).blah; | |
\ No newline at end of file | |
+interface I1<T> extends I2 {} | |
+interface I2<T> extends I1 {} | |
+class X<T, U> implements I2<T> {} | |
+new X().blah; | |
../TypeScript/tests/cases/compiler/recursiveBaseCheck6.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseConstructorCreation1.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseConstructorCreation2.ts | |
../TypeScript/tests/cases/compiler/recursiveBaseConstructorCreation3.ts | |
../TypeScript/tests/cases/compiler/recursiveClassInstantiationsWithDefaultConstructors.ts | |
../TypeScript/tests/cases/compiler/recursiveClassReferenceTest.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -82,12 +82,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Sample" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Thing" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -365,12 +358,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Sample" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Thing" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -527,12 +513,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Sample" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Thing" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -609,12 +588,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "Sample" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Thing" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,100 +3,101 @@ | |
// Scenario 2: Test recursive function call with cast and "this" parameter | |
+declare namespace Sample.Thing { | |
+//addWidget(widget: Sample.Thing.Widgets.IWidget); | |
+ export interface IWidget { | |
+ getDomNode(): any, | |
+ destroy(), | |
+ gar(runner: (widget: undefined.IWidget) => any): any | |
+ } | |
-declare module Sample.Thing { | |
+ export interface ICodeThing { | |
+ getDomNode(): Element, | |
- export interface IWidget { | |
- getDomNode(): any; | |
- destroy(); | |
- gar(runner:(widget:Sample.Thing.IWidget)=>any):any; | |
- } | |
+ addWidget(widgetId: string, widget: IWidget), | |
- export interface ICodeThing { | |
- | |
- getDomNode(): Element; | |
- | |
- addWidget(widgetId:string, widget:IWidget); | |
+ focus() | |
+ } | |
- | |
- focus(); | |
- | |
- //addWidget(widget: Sample.Thing.Widgets.IWidget); | |
- } | |
- | |
- export interface IAction { | |
- run(Thing:ICodeThing):boolean; | |
- getId():string; | |
- } | |
+ export interface IAction { | |
+ run(Thing: ICodeThing): boolean, | |
+ getId(): string | |
+ } | |
} | |
-module Sample.Actions.Thing.Find { | |
- export class StartFindAction implements Sample.Thing.IAction { | |
- | |
- public getId() { return "yo"; } | |
- | |
- public run(Thing:Sample.Thing.ICodeThing):boolean { | |
+namespace Sample.Actions.Thing.Find { | |
- return true; | |
- } | |
- } | |
+ export class StartFindAction implements Sample.Thing.IAction { | |
+ public getId() { | |
+ return "yo"; | |
+ } | |
+ | |
+ public run(Thing: undefined.ICodeThing): boolean { | |
+ return true; | |
+ } | |
+ } | |
} | |
-module Sample.Thing.Widgets { | |
- export class FindWidget implements Sample.Thing.IWidget { | |
+namespace Sample.Thing.Widgets { | |
+// scenario 1 | |
- public gar(runner:(widget:Sample.Thing.IWidget)=>any) { if (true) {return runner(this);}} | |
- | |
- private domNode:any = null; | |
- constructor(private codeThing: Sample.Thing.ICodeThing) { | |
- // scenario 1 | |
- codeThing.addWidget("addWidget", this); | |
- } | |
- | |
- public getDomNode() { | |
- return domNode; | |
- } | |
- | |
- public destroy() { | |
+ export class FindWidget implements Sample.Thing.IWidget { | |
+ public gar(runner: (widget: undefined.IWidget) => any) { | |
+ if (true) { | |
+ return runner(this); | |
+ } | |
+ } | |
- } | |
+ private domNode: any = null; | |
+ constructor(private codeThing: undefined.ICodeThing) { | |
+ codeThing.addWidget("addWidget", this); | |
+ } | |
- } | |
+ public getDomNode() { | |
+ return domNode; | |
+ } | |
+ | |
+ public destroy() {} | |
+ } | |
} | |
-interface IMode { getInitialState(): IState;} | |
-class AbstractMode implements IMode { public getInitialState(): IState { return null;} } | |
+interface IMode { getInitialState(): IState } | |
+class AbstractMode implements IMode { | |
+ public getInitialState(): IState { | |
+ return null; | |
+ } | |
+} | |
interface IState {} | |
interface Window { | |
- opener: Window; | |
+ opener: Window | |
} | |
declare var self: Window; | |
-module Sample.Thing.Languages.PlainText { | |
- | |
- export class State implements IState { | |
- constructor(private mode: IMode) { } | |
- public clone():IState { | |
- return this; | |
- } | |
+namespace Sample.Thing.Languages.PlainText { | |
- public equals(other:IState):boolean { | |
- return this === other; | |
- } | |
- | |
- public getMode(): IMode { return mode; } | |
- } | |
- | |
- export class Mode extends AbstractMode { | |
+// scenario 2 | |
- // scenario 2 | |
- public getInitialState(): IState { | |
- return new State(self); | |
- } | |
+ export class State implements IState { | |
+ constructor(private mode: IMode) {} | |
+ public clone(): IState { | |
+ return this; | |
+ } | |
+ public equals(other: IState): boolean { | |
+ return this === other; | |
+ } | |
- } | |
+ public getMode(): IMode { | |
+ return mode; | |
+ } | |
+ } | |
+ | |
+ | |
+ export class Mode extends AbstractMode { | |
+ public getInitialState(): IState { | |
+ return new State(self); | |
+ } | |
+ } | |
} | |
- | |
../TypeScript/tests/cases/compiler/recursiveCloduleReference.ts | |
../TypeScript/tests/cases/compiler/recursiveComplicatedClasses.ts | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType1.ts | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType2.ts | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType3.ts | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType4.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -10,4 +10,5 @@ | |
// @Filename: recursiveExportAssignmentAndFindAliasedType4_moduleA.ts | |
+ | |
import moduleC = require("recursiveExportAssignmentAndFindAliasedType4_moduleC"); | |
import ClassB = require("recursiveExportAssignmentAndFindAliasedType4_moduleB"); | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,4 +14,5 @@ | |
// @Filename: recursiveExportAssignmentAndFindAliasedType5_moduleA.ts | |
+ | |
import moduleC = require("recursiveExportAssignmentAndFindAliasedType5_moduleC"); | |
import ClassB = require("recursiveExportAssignmentAndFindAliasedType5_moduleB"); | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -18,4 +18,5 @@ | |
// @Filename: recursiveExportAssignmentAndFindAliasedType6_moduleA.ts | |
+ | |
import moduleC = require("recursiveExportAssignmentAndFindAliasedType6_moduleC"); | |
import ClassB = require("recursiveExportAssignmentAndFindAliasedType6_moduleB"); | |
../TypeScript/tests/cases/compiler/recursiveExportAssignmentAndFindAliasedType7.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -19,4 +19,5 @@ | |
// @Filename: recursiveExportAssignmentAndFindAliasedType7_moduleA.ts | |
+ | |
import moduleC = require("recursiveExportAssignmentAndFindAliasedType7_moduleC"); | |
import ClassB = require("recursiveExportAssignmentAndFindAliasedType7_moduleB"); | |
../TypeScript/tests/cases/compiler/recursiveFunctionTypes.ts | |
../TypeScript/tests/cases/compiler/recursiveFunctionTypes1.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericMethodCall.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericSignatureInstantiation.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericSignatureInstantiation2.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericTypeHierarchy.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericTypeHierarchy.ts: { index: 30, | |
lineNumber: 2, | |
column: 14, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/recursiveGenericUnionType1.ts | |
../TypeScript/tests/cases/compiler/recursiveGenericUnionType2.ts | |
../TypeScript/tests/cases/compiler/recursiveGetterAccess.ts | |
../TypeScript/tests/cases/compiler/recursiveIdenticalAssignment.ts | |
../TypeScript/tests/cases/compiler/recursiveIdenticalAssignment.ts: { index: 52, | |
lineNumber: 6, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/recursiveIdenticalOverloadResolution.ts | |
../TypeScript/tests/cases/compiler/recursiveIdenticalOverloadResolution.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/recursiveInference1.ts | |
../TypeScript/tests/cases/compiler/recursiveInferenceBug.ts | |
../TypeScript/tests/cases/compiler/recursiveInheritance.ts | |
../TypeScript/tests/cases/compiler/recursiveInheritance2.ts | |
../TypeScript/tests/cases/compiler/recursiveInheritance3.ts | |
../TypeScript/tests/cases/compiler/recursiveInheritanceGeneric.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -27,14 +27,5 @@ | |
"type": "Identifier", | |
"name": "I5" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
-interface I5<T> extends I5<T> { | |
- foo():void; | |
-} | |
\ No newline at end of file | |
+interface I5<T> extends I5 { | |
+ foo(): void | |
+} | |
../TypeScript/tests/cases/compiler/recursiveLetConst.ts | |
../TypeScript/tests/cases/compiler/recursivelySpecializedConstructorDeclaration.ts | |
../TypeScript/tests/cases/compiler/recursiveMods.ts | |
../TypeScript/tests/cases/compiler/recursiveMods.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/recursiveNamedLambdaCall.ts | |
../TypeScript/tests/cases/compiler/recursiveObjectLiteral.ts | |
../TypeScript/tests/cases/compiler/recursiveProperties.ts | |
../TypeScript/tests/cases/compiler/recursiveReturns.ts | |
../TypeScript/tests/cases/compiler/recursiveSpecializationOfExtendedTypeWithError.ts | |
../TypeScript/tests/cases/compiler/recursiveSpecializationOfSignatures.ts | |
../TypeScript/tests/cases/compiler/recursiveTupleTypes1.ts | |
../TypeScript/tests/cases/compiler/recursiveTupleTypes2.ts | |
../TypeScript/tests/cases/compiler/recursiveTypeComparison.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -158,14 +158,5 @@ | |
"type": "Identifier", | |
"name": "Observable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,12 +2,12 @@ | |
interface Observable<T> { | |
- // This member can't be of type T, Property<T>, or Observable<anything but T> | |
- needThisOne: Observable<T>; | |
- // Add more to make it slower | |
- expo1: Property<T[]>; // 0.31 seconds in check | |
- expo2: Property<T[]>; // 3.11 seconds | |
- expo3: Property<T[]>; // 82.28 seconds | |
+ // This member can't be of type T, Property<T>, or Observable<anything but T> | |
+ needThisOne: Observable<T>, | |
+ // Add more to make it slower | |
+ expo1: Property<T[]>, // 0.31 seconds in check | |
+ expo2: Property<T[]>, // 3.11 seconds | |
+ expo3: Property<T[]> // 82.28 seconds | |
} | |
-interface Property<T> extends Observable<T> { } | |
+interface Property<T> extends Observable {} | |
var p: Observable<{}>; | |
../TypeScript/tests/cases/compiler/recursiveTypeComparison2.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -58,14 +58,5 @@ | |
"type": "Identifier", | |
"name": "Event" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -869,14 +860,5 @@ | |
"type": "Identifier", | |
"name": "Observable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -910,14 +892,5 @@ | |
"type": "Identifier", | |
"name": "Observable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -951,14 +924,5 @@ | |
"type": "Identifier", | |
"name": "EventStream" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,30 +1,28 @@ | |
// Before fix this would cause compiler to hang (#1170) | |
-declare module Bacon { | |
- interface Event<T> { | |
- } | |
- interface Error<T> extends Event<T> { | |
- } | |
- interface Observable<T> { | |
- zip<U, V>(other: EventStream<U>, f: (a: T, b: U) => V): EventStream<V>; | |
- slidingWindow(max: number, min?: number): Property<T[]>; | |
- log(): Observable<T>; | |
- combine<U, V>(other: Observable<U>, f: (a: T, b: U) => V): Property<V>; | |
- withStateMachine<U, V>(initState: U, f: (state: U, event: Event<T>) => StateValue<U, V>): EventStream<V>; | |
- decode(mapping: Object): Property<any>; | |
- awaiting<U>(other: Observable<U>): Property<boolean>; | |
- endOnError(f?: (value: T) => boolean): Observable<T>; | |
- withHandler(f: (event: Event<T>) => any): Observable<T>; | |
- name(name: string): Observable<T>; | |
- withDescription(...args: any[]): Observable<T>; | |
- } | |
- interface Property<T> extends Observable<T> { | |
- } | |
- interface EventStream<T> extends Observable<T> { | |
- } | |
- interface Bus<T> extends EventStream<T> { | |
- } | |
- var Bus: new <T>() => Bus<T>; | |
+declare namespace Bacon { | |
+ interface Event<T> {} | |
+ interface Error<T> extends Event {} | |
\ No newline at end of file | |
+ interface Observable<T> { | |
+ zip<U, V>(other: EventStream<U>, f: (a: T, b: U) => V): EventStream<V>, | |
+ slidingWindow(max: number, min?: number): Property<T[]>, | |
+ log(): Observable<T>, | |
+ combine<U, V>(other: Observable<U>, f: (a: T, b: U) => V): Property<V>, | |
+ withStateMachine<U, V>( | |
+ initState: U, | |
+ f: (state: U, event: Event<T>) => StateValue<U, V> | |
+ ): EventStream<V>, | |
+ decode(mapping: Object): Property<any>, | |
+ awaiting<U>(other: Observable<U>): Property<boolean>, | |
+ endOnError(f?: (value: T) => boolean): Observable<T>, | |
+ withHandler(f: (event: Event<T>) => any): Observable<T>, | |
+ name(name: string): Observable<T>, | |
+ withDescription(...args: any[]): Observable<T> | |
+ } | |
+ interface Property<T> extends Observable {} | |
+ interface EventStream<T> extends Observable {} | |
+ interface Bus<T> extends EventStream {} | |
+ var Bus: new <T>() => Bus<T>; | |
} | |
-var stuck: Bacon.Bus<number> = new Bacon.Bus(); | |
+var stuck: Bacon.Bus<number> = new Bacon.Bus(); | |
../TypeScript/tests/cases/compiler/recursiveTypeIdentity.ts | |
../TypeScript/tests/cases/compiler/recursiveTypeIdentity.ts: { index: 20, | |
lineNumber: 2, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.ts | |
../TypeScript/tests/cases/compiler/recursiveTypeParameterReferenceError1.ts | |
../TypeScript/tests/cases/compiler/recursiveTypeParameterReferenceError2.ts | |
../TypeScript/tests/cases/compiler/recursiveTypeRelations.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -276,7 +276,4 @@ | |
} | |
}, | |
- "questionToken": { | |
- "type": "TSQuestionToken" | |
- }, | |
"typeAnnotation": { | |
"type": "TypeAnnotation", | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,10 +1,8 @@ | |
// Repro from #14896 | |
-type Attributes<Keys extends string> = { | |
- [Key in Keys]: string; | |
-} | |
+type Attributes<Keys extends string> = { [Key in Keys]: string }; | |
class Query<A extends Attributes<keyof A>> { | |
- multiply<B extends Attributes<keyof B>>(x: B): Query<A & B>; | |
+ multiply<B extends Attributes<keyof B>>(x: B): Query<A & B>; | |
} | |
@@ -12,9 +10,12 @@ | |
type ClassName<S> = keyof S; | |
-type ClassNameMap<S> = { [K in keyof S]?: boolean } | |
+type ClassNameMap<S> = { [K in keyof S]: boolean }; | |
type ClassNameObjectMap<S> = object & ClassNameMap<S>; | |
type ClassNameArg<S> = ClassName<S> | ClassNameObjectMap<S>; | |
-export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>[]): string { | |
+export function css<S extends { [K in keyof S]: string }>( | |
+ styles: S, | |
+ ...classNames: ClassNameArg<S>[] | |
+): string { | |
const args = classNames.map(arg => { | |
if (arg == null) { | |
@@ -25,7 +26,9 @@ | |
} | |
if (typeof arg == "object") { | |
- return Object.keys(arg).reduce<ClassNameObject>((obj: ClassNameObject, key: keyof S) => { | |
+ return Object.keys(arg).reduce< | |
+ ClassNameObject | |
+ >((obj: ClassNameObject, key: keyof S) => { | |
const exportedClassName = styles[key]; | |
- obj[exportedClassName] = (arg as ClassNameMap<S>)[key]; | |
+ obj[exportedClassName] = (arg as ClassNameMap<S>)[key]; | |
return obj; | |
}, {}); | |
../TypeScript/tests/cases/compiler/recursiveTypes1.ts | |
../TypeScript/tests/cases/compiler/recursiveTypes1.ts: { index: 19, | |
lineNumber: 1, | |
column: 19, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/recursiveUnionTypeInference.ts | |
../TypeScript/tests/cases/compiler/redeclarationOfVarWithGenericType.ts | |
../TypeScript/tests/cases/compiler/redeclareParameterInCatchBlock.ts | |
../TypeScript/tests/cases/compiler/redefineArray.ts | |
../TypeScript/tests/cases/compiler/reExportGlobalDeclaration1.ts | |
../TypeScript/tests/cases/compiler/reExportGlobalDeclaration2.ts | |
../TypeScript/tests/cases/compiler/reExportGlobalDeclaration3.ts | |
../TypeScript/tests/cases/compiler/reExportGlobalDeclaration4.ts | |
../TypeScript/tests/cases/compiler/reExportUndefined1.ts | |
../TypeScript/tests/cases/compiler/reExportUndefined2.ts | |
../TypeScript/tests/cases/compiler/regExpWithSlashInCharClass.ts | |
../TypeScript/tests/cases/compiler/regExpWithSlashInCharClass.ts: Error: Comment location overlaps with node location | |
at decorateComment (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:115:11) | |
at decorateComment (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:91:7) | |
at comments.forEach (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:135:5) | |
at Array.forEach (native) | |
at Object.attach (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:134:12) | |
at attachComments (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:51:14) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:81:23) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
../TypeScript/tests/cases/compiler/relationalOperatorComparable.ts | |
../TypeScript/tests/cases/compiler/relativeNamesInClassicResolution.ts | |
../TypeScript/tests/cases/compiler/reorderProperties.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -97,23 +97,5 @@ | |
"type": "Identifier", | |
"name": "A" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "D" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "S" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
@@ -165,23 +147,5 @@ | |
"type": "Identifier", | |
"name": "B" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "C" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "S" | |
- } | |
- } | |
- ] | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,18 +1,18 @@ | |
interface A<T> { | |
- x: T | |
+ x: T | |
} | |
interface B<T> { | |
- x: T | |
+ x: T | |
} | |
-interface C<S> extends A<D<S>> { | |
- y: S | |
+interface C<S> extends A { | |
+ y: S | |
} | |
-interface D<S> extends B<C<S>> { | |
- y: S | |
+interface D<S> extends B { | |
+ y: S | |
} | |
-var c: C<{ s: string; n: number }> | |
-var d: D<{ n: number; s: string }> = c | |
+var c: C<{ s: string, n: number }>; | |
+var d: D<{ n: number, s: string }> = c; | |
../TypeScript/tests/cases/compiler/requireAsFunctionInExternalModule.ts | |
../TypeScript/tests/cases/compiler/requiredInitializedParameter1.ts | |
../TypeScript/tests/cases/compiler/requiredInitializedParameter2.ts | |
../TypeScript/tests/cases/compiler/requiredInitializedParameter3.ts | |
../TypeScript/tests/cases/compiler/requiredInitializedParameter4.ts | |
../TypeScript/tests/cases/compiler/requireEmitSemicolon.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -170,12 +170,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "P" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "Models" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,9 @@ | |
//@module: amd | |
// @Filename: requireEmitSemicolon_0.ts | |
-export module Models { | |
- export class Person { | |
- constructor(name: string) { } | |
- } | |
+export namespace Models { | |
+ | |
+ export class Person { | |
+ constructor(name: string) {} | |
+ } | |
} | |
@@ -11,9 +12,10 @@ | |
import P = require("requireEmitSemicolon_0"); // bug was we were not emitting a ; here and causing runtime failures in node | |
-export module Database { | |
- export class DB { | |
- public findPerson(id: number): P.Models.Person { | |
- return new P.Models.Person("Rock"); | |
- } | |
- } | |
-} | |
\ No newline at end of file | |
+export namespace Database { | |
+ | |
+ export class DB { | |
+ public findPerson(id: number): undefined.Person { | |
+ return new P.Models.Person("Rock"); | |
+ } | |
+ } | |
+} | |
../TypeScript/tests/cases/compiler/requireOfAnEmptyFile1.ts | |
../TypeScript/tests/cases/compiler/reservedNameOnInterfaceImport.ts | |
../TypeScript/tests/cases/compiler/reservedNameOnModuleImport.ts | |
../TypeScript/tests/cases/compiler/reservedNameOnModuleImportWithInterface.ts | |
../TypeScript/tests/cases/compiler/reservedWords.ts | |
../TypeScript/tests/cases/compiler/reservedWords2.ts | |
../TypeScript/tests/cases/compiler/reservedWords2.ts: { index: 8, | |
lineNumber: 1, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/resolveInterfaceNameWithSameLetDeclarationName1.ts | |
../TypeScript/tests/cases/compiler/resolveInterfaceNameWithSameLetDeclarationName2.ts | |
../TypeScript/tests/cases/compiler/resolveModuleNameWithSameLetDeclarationName1.ts | |
../TypeScript/tests/cases/compiler/resolveModuleNameWithSameLetDeclarationName2.ts | |
../TypeScript/tests/cases/compiler/resolveTypeAliasWithSameLetDeclarationName1.ts | |
../TypeScript/tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -47,4 +47,5 @@ | |
} | |
+ | |
export class veraecrucis<T0, T1> | |
extends trivirgatus.mixtus<gabriellae.amicus, lutreolus.punicus> { | |
@@ -104,4 +105,5 @@ | |
export class steerii {} | |
+ | |
export class nudicaudus { | |
brandtii(): argurus.germaini { | |
@@ -145,4 +147,5 @@ | |
} | |
+ | |
export class galapagoensis { | |
isabellae(): panglima.amphibius<macrorhinos.daphaenodon, patas.uralensis> { | |
@@ -200,4 +203,5 @@ | |
} | |
+ | |
export class albidens<T0, T1> { | |
mattheyi(): samarensis.fuscus< | |
@@ -258,4 +262,5 @@ | |
} | |
+ | |
export class oralis<T0, T1> extends caurinus.psilurus { | |
cepapi(): caurinus.psilurus { | |
@@ -382,4 +387,5 @@ | |
} | |
+ | |
export class sumatrana extends Lanthanum.jugularis { | |
wolffsohni(): Lanthanum.suillus< | |
@@ -443,4 +449,5 @@ | |
} | |
+ | |
export class gerbillus<T0, T1> { | |
pundti(): sagitta.sicarius<dogramacii.koepckeae, caurinus.psilurus> { | |
@@ -523,4 +530,5 @@ | |
} | |
+ | |
export class acariensis { | |
levicula(): lavali.lepturus { | |
@@ -634,4 +642,5 @@ | |
} | |
+ | |
export class durangae extends dogramacii.aurata { | |
Californium(): panamensis.setulosus< | |
@@ -712,4 +721,5 @@ | |
} | |
+ | |
export class nitidus<T0, T1> | |
extends argurus.gilbertii<lavali.thaeleri, lutreolus.punicus> { | |
@@ -792,4 +802,5 @@ | |
} | |
+ | |
export class megalonyx | |
extends caurinus.johorensis<caurinus.megaphyllus, julianae.steerii> { | |
@@ -864,4 +875,5 @@ | |
} | |
+ | |
export class jugularis { | |
torrei(): petrophilus.sodyi<argurus.oreas, macrorhinos.daphaenodon> { | |
@@ -1086,4 +1098,5 @@ | |
} | |
+ | |
export class moojeni<T0, T1> { | |
floweri(): lavali.otion { | |
@@ -1183,4 +1196,5 @@ | |
} | |
+ | |
export class crenulata<T0, T1> extends trivirgatus.falconeri { | |
salvanius(): howi.coludo<howi.marcanoi, rionegrensis.caniventer> { | |
@@ -1280,4 +1294,5 @@ | |
} | |
+ | |
export class mixtus<T0, T1> | |
extends argurus.pygmaea< | |
@@ -1363,4 +1378,5 @@ | |
} | |
+ | |
export class lotor<T0, T1> { | |
balensis(): samarensis.pallidus { | |
@@ -1386,4 +1402,5 @@ | |
} | |
+ | |
export class falconeri { | |
cabrali(): rendalli.moojeni< | |
@@ -1486,4 +1503,5 @@ | |
} | |
+ | |
export class oconnelli { | |
youngsoni(): nigra.thalia<patas.uralensis, julianae.galapagoensis> { | |
@@ -1797,4 +1815,5 @@ | |
export class beisa {} | |
+ | |
export class otion extends howi.coludo<argurus.oreas, howi.marcanoi> { | |
bonaerensis(): provocax.melanoleuca { | |
@@ -1906,4 +1925,5 @@ | |
} | |
+ | |
export class xanthognathus { | |
nanulus(): daubentonii.nigricans< | |
@@ -2026,4 +2046,5 @@ | |
} | |
+ | |
export class thaeleri extends argurus.oreas { | |
coromandra(): julianae.galapagoensis { | |
@@ -2109,4 +2130,5 @@ | |
} | |
+ | |
export class lepturus | |
extends Lanthanum.suillus<dammermani.melanops, quasiater.carolinensis> { | |
@@ -2213,4 +2235,5 @@ | |
} | |
+ | |
export class koepckeae { | |
culturatus(): samarensis.pelurus< | |
@@ -2229,4 +2252,5 @@ | |
} | |
+ | |
export class kaiseri { | |
bedfordiae(): quasiater.carolinensis { | |
@@ -2341,4 +2365,5 @@ | |
} | |
+ | |
export class aurata { | |
grunniens(): nigra.gracilis< | |
@@ -2838,4 +2863,5 @@ | |
} | |
+ | |
export class fundatus<T0, T1> extends lutreolus.schlegeli { | |
crassulus(): nigra.gracilis<provocax.melanoleuca, provocax.melanoleuca> { | |
@@ -2886,4 +2912,5 @@ | |
} | |
+ | |
export class abidi<T0, T1> | |
extends argurus.dauricus<argurus.germaini, julianae.durangae> { | |
@@ -3689,4 +3716,5 @@ | |
} | |
+ | |
export class fuscus<T0, T1> extends macrorhinos.daphaenodon { | |
planifrons(): nigra.gracilis<julianae.nudicaudus, dogramacii.aurata> { | |
@@ -3826,4 +3854,5 @@ | |
} | |
+ | |
export class pallidus { | |
oblativa(): trivirgatus.falconeri { | |
@@ -3869,4 +3898,5 @@ | |
} | |
+ | |
export class cahirinus<T0, T1> { | |
alashanicus(): nigra.caucasica<ruatanica.americanus, argurus.peninsulae> { | |
@@ -5018,4 +5048,5 @@ | |
extends imperfecta.lasiurus<dogramacii.robustulus, caurinus.psilurus> {} | |
+ | |
export class amicus { | |
pirrensis(): argurus.luctuosa { | |
@@ -5103,4 +5134,5 @@ | |
} | |
+ | |
export class echinatus { | |
tenuipes(): howi.coludo< | |
@@ -5172,4 +5204,5 @@ | |
} | |
+ | |
export class subspinosus { | |
monticularis(): macrorhinos.konganensis { | |
@@ -5258,4 +5291,5 @@ | |
} | |
+ | |
export class ciliolabrum<T0, T1> extends dogramacii.robustulus { | |
leschenaultii(): argurus.dauricus< | |
../TypeScript/tests/cases/compiler/restArgAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/restArgMissingName.ts | |
../TypeScript/tests/cases/compiler/restArgMissingName.ts: { index: 17, | |
lineNumber: 1, | |
column: 17, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/restIntersection.ts | |
../TypeScript/tests/cases/compiler/restInvalidArgumentType.ts | |
../TypeScript/tests/cases/compiler/restParamAsOptional.ts | |
../TypeScript/tests/cases/compiler/restParameterAssignmentCompatibility.ts | |
../TypeScript/tests/cases/compiler/restParameterNotLast.ts | |
../TypeScript/tests/cases/compiler/restParameterNoTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/restParameters.ts | |
../TypeScript/tests/cases/compiler/restParameterWithBindingPattern1.ts | |
../TypeScript/tests/cases/compiler/restParameterWithBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/restParamModifier.ts | |
../TypeScript/tests/cases/compiler/restParamModifier.ts: { index: 37, | |
lineNumber: 2, | |
column: 26, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/restParamModifier2.ts | |
../TypeScript/tests/cases/compiler/restParamsWithNonRestParams.ts | |
../TypeScript/tests/cases/compiler/restUnion.ts | |
../TypeScript/tests/cases/compiler/restUnion2.ts | |
../TypeScript/tests/cases/compiler/returnInConstructor1.ts | |
../TypeScript/tests/cases/compiler/returnStatement1.ts | |
../TypeScript/tests/cases/compiler/returnTypeParameter.ts | |
../TypeScript/tests/cases/compiler/returnTypeParameterWithModules.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -8,8 +8,10 @@ | |
import A = M1; | |
+ | |
export function compose() { | |
A.reduce(arguments, compose2); | |
} | |
+ | |
export function compose2<B, C, D>( | |
g: (x: B) => C, | |
../TypeScript/tests/cases/compiler/returnTypeTypeArguments.ts | |
../TypeScript/tests/cases/compiler/returnValueInSetter.ts | |
../TypeScript/tests/cases/compiler/reuseInnerModuleMember.ts | |
../TypeScript/tests/cases/compiler/reversedRecusiveTypeInstantiation.ts | |
../TypeScript/tests/cases/compiler/reverseInferenceInContextualInstantiation.ts | |
../TypeScript/tests/cases/compiler/scopeCheckClassProperty.ts | |
../TypeScript/tests/cases/compiler/scopeCheckExtendedClassInsidePublicMethod2.ts | |
../TypeScript/tests/cases/compiler/scopeCheckExtendedClassInsideStaticMethod1.ts | |
../TypeScript/tests/cases/compiler/scopeCheckInsidePublicMethod1.ts | |
../TypeScript/tests/cases/compiler/scopeCheckInsideStaticMethod1.ts | |
../TypeScript/tests/cases/compiler/scopeCheckStaticInitializer.ts | |
../TypeScript/tests/cases/compiler/scopeTests.ts | |
../TypeScript/tests/cases/compiler/scopingInCatchBlocks.ts | |
../TypeScript/tests/cases/compiler/selfInCallback.ts | |
../TypeScript/tests/cases/compiler/selfInLambdas.ts | |
../TypeScript/tests/cases/compiler/selfRef.ts | |
../TypeScript/tests/cases/compiler/selfReference.ts | |
../TypeScript/tests/cases/compiler/selfReferencesInFunctionParameters.ts | |
../TypeScript/tests/cases/compiler/selfReferencingFile.ts | |
../TypeScript/tests/cases/compiler/selfReferencingFile2.ts | |
../TypeScript/tests/cases/compiler/selfReferencingFile3.ts | |
../TypeScript/tests/cases/compiler/selfReferencingSpreadInLoop.ts | |
../TypeScript/tests/cases/compiler/semicolonsInModuleDeclarations.ts | |
../TypeScript/tests/cases/compiler/separate1-1.ts | |
../TypeScript/tests/cases/compiler/separate1-2.ts | |
../TypeScript/tests/cases/compiler/setterBeforeGetter.ts | |
../TypeScript/tests/cases/compiler/setterWithReturn.ts | |
../TypeScript/tests/cases/compiler/shadowingViaLocalValue.ts | |
../TypeScript/tests/cases/compiler/shadowingViaLocalValueOrBindingElement.ts | |
../TypeScript/tests/cases/compiler/shadowPrivateMembers.ts | |
../TypeScript/tests/cases/compiler/shebang.ts | |
../TypeScript/tests/cases/compiler/shebangBeforeReferences.ts | |
../TypeScript/tests/cases/compiler/shebangBeforeReferences.ts: { index: 116, | |
lineNumber: 9, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/shebangError.ts | |
../TypeScript/tests/cases/compiler/shebangError.ts: { index: 55, | |
lineNumber: 2, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/shorthand-property-es5-es6.ts | |
../TypeScript/tests/cases/compiler/shorthand-property-es6-amd.ts | |
../TypeScript/tests/cases/compiler/shorthand-property-es6-es6.ts | |
../TypeScript/tests/cases/compiler/shorthandOfExportedEntity01_targetES2015_CommonJS.ts | |
../TypeScript/tests/cases/compiler/shorthandOfExportedEntity02_targetES5_CommonJS.ts | |
../TypeScript/tests/cases/compiler/shorthandPropertyAssignmentInES6Module.ts | |
../TypeScript/tests/cases/compiler/shorthandPropertyAssignmentsInDestructuring.ts | |
../TypeScript/tests/cases/compiler/shorthandPropertyAssignmentsInDestructuring_ES6.ts | |
../TypeScript/tests/cases/compiler/sigantureIsSubTypeIfTheyAreIdentical.ts | |
../TypeScript/tests/cases/compiler/signaturesUseJSDocForOptionalParameters.ts | |
../TypeScript/tests/cases/compiler/simpleArrowFunctionParameterReferencedInObjectLiteral1.ts | |
../TypeScript/tests/cases/compiler/singleLineCommentInConciseArrowFunctionES3.ts | |
../TypeScript/tests/cases/compiler/slashBeforeVariableDeclaration1.ts | |
../TypeScript/tests/cases/compiler/slashBeforeVariableDeclaration1.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/sourceMap-Comment1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-Comments.ts | |
../TypeScript/tests/cases/compiler/sourceMap-Comments2.ts | |
../TypeScript/tests/cases/compiler/sourceMap-EmptyFile1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-FileWithComments.ts | |
../TypeScript/tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-LineBreaks.ts | |
../TypeScript/tests/cases/compiler/sourceMap-NewLine1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-SemiColon1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-SingleSpace1.ts | |
../TypeScript/tests/cases/compiler/sourceMap-SkippedNode.ts | |
../TypeScript/tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts | |
../TypeScript/tests/cases/compiler/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.ts | |
../TypeScript/tests/cases/compiler/sourceMapForFunctionWithCommentPrecedingStatement01.ts | |
../TypeScript/tests/cases/compiler/sourceMapSample.ts | |
../TypeScript/tests/cases/compiler/sourceMapSample.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/sourceMapValidationClass.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationClasses.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationClasses.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/sourceMapValidationClassWithDefaultConstructor.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDebugger.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDecorators.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDecorators.ts: { index: 815, | |
lineNumber: 32, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.ts: { index: 2852, | |
lineNumber: 88, | |
column: 79, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts: { index: 3475, | |
lineNumber: 113, | |
column: 84, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern.ts: { index: 729, | |
lineNumber: 33, | |
column: 39, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.ts: { index: 877, | |
lineNumber: 36, | |
column: 36, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts: { index: 763, | |
lineNumber: 33, | |
column: 50, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts: { index: 909, | |
lineNumber: 36, | |
column: 46, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfArrayBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfArrayBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.ts: { index: 1521, | |
lineNumber: 49, | |
column: 15, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts: { index: 1652, | |
lineNumber: 52, | |
column: 15, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParameterObjectBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParametertArrayBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParametertArrayBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatement.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatement1.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.ts: { index: 1745, | |
lineNumber: 48, | |
column: 23, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts: { index: 1961, | |
lineNumber: 46, | |
column: 23, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts: { index: 981, | |
lineNumber: 34, | |
column: 17, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationDo.ts | |
../TypeScript/tests/cases/compiler/sourcemapValidationDuplicateNames.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationEnums.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationExportAssignment.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationExportAssignmentCommonjs.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationFor.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationForIn.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationFunctionExpressions.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationFunctionPropertyAssignment.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationFunctions.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationIfElse.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationImport.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationLabeled.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationLambdaSpanningMultipleLines.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationModule.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationStatements.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationSwitch.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationTryCatchFinally.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationVariables.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationWhile.ts | |
../TypeScript/tests/cases/compiler/sourceMapValidationWithComments.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithCaseSensitiveFileNames.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithCaseSensitiveFileNamesAndOutDir.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithMultipleFilesWithCopyright.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithMultipleFilesWithFileEndingWithInterface.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithNonCaseSensitiveFileNames.ts | |
../TypeScript/tests/cases/compiler/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.ts | |
../TypeScript/tests/cases/compiler/spaceBeforeQuestionMarkInPropertyAssignment.ts | |
../TypeScript/tests/cases/compiler/specializationError.ts | |
../TypeScript/tests/cases/compiler/specializationOfExportedClass.ts | |
../TypeScript/tests/cases/compiler/specializationsShouldNotAffectEachOther.ts | |
../TypeScript/tests/cases/compiler/specializedInheritedConstructors1.ts | |
../TypeScript/tests/cases/compiler/specializedLambdaTypeArguments.ts | |
../TypeScript/tests/cases/compiler/specializedLambdaTypeArguments.ts: { index: 23, | |
lineNumber: 2, | |
column: 9, | |
message: '\'=\' expected.' } | |
../TypeScript/tests/cases/compiler/specializedOverloadWithRestParameters.ts | |
../TypeScript/tests/cases/compiler/specializedSignatureAsCallbackParameter1.ts | |
../TypeScript/tests/cases/compiler/specializedSignatureInInterface.ts | |
../TypeScript/tests/cases/compiler/specializedSignatureOverloadReturnTypeWithIndexers.ts | |
../TypeScript/tests/cases/compiler/specializeVarArgs1.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -44,17 +44,5 @@ | |
"type": "Identifier", | |
"name": "Observable" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSArrayType", | |
- "elementType": { | |
- "type": "TSTypeReference", | |
- "typeName": { | |
- "type": "Identifier", | |
- "name": "T" | |
- } | |
- } | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,21 +1,13 @@ | |
-interface Observable<T>{ } | |
+interface Observable<T> {} | |
- | |
+interface ObservableArray<T> extends Observable { | |
+ push(...values: T[]) | |
+} | |
-interface ObservableArray<T> extends Observable<T[]> | |
- | |
-{ | |
- | |
- push(...values: T[]); | |
- | |
+function observableArray<T>(): ObservableArray<T> { | |
+ return null; | |
} | |
- | |
+var a = observableArray<string>(); | |
-function observableArray<T>(): ObservableArray<T> { return null;} | |
- | |
- | |
- | |
-var a = observableArray<string>(); | |
- | |
-a.push('Some Value'); | |
+a.push("Some Value"); | |
../TypeScript/tests/cases/compiler/spreadIntersection.ts | |
../TypeScript/tests/cases/compiler/spreadInvalidArgumentType.ts | |
../TypeScript/tests/cases/compiler/spreadTypeRemovesReadonly.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -11,9 +11,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,7 @@ | |
interface ReadonlyData { | |
- readonly value: string; | |
+ value: string | |
} | |
-const data: ReadonlyData = { value: 'foo' }; | |
+const data: ReadonlyData = { value: "foo" }; | |
const clone = { ...data }; | |
-clone.value = 'bar'; | |
+clone.value = "bar"; | |
../TypeScript/tests/cases/compiler/spreadUnion.ts | |
../TypeScript/tests/cases/compiler/spreadUnion2.ts | |
../TypeScript/tests/cases/compiler/standaloneBreak.ts | |
../TypeScript/tests/cases/compiler/staticAndMemberFunctions.ts | |
../TypeScript/tests/cases/compiler/staticAnonymousTypeNotReferencingTypeParameter.ts | |
../TypeScript/tests/cases/compiler/staticAsIdentifier.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,12 +13,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSStaticKeyword" | |
- }, | |
- { | |
- "type": "TSStaticKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,4 +1,3 @@ | |
class C { | |
- static static | |
- [x: string]: string; | |
-} | |
\ No newline at end of file | |
+ [x: string]: string | |
+} | |
../TypeScript/tests/cases/compiler/staticClassMemberError.ts | |
../TypeScript/tests/cases/compiler/staticClassProps.ts | |
../TypeScript/tests/cases/compiler/staticClassProps.ts: { index: 40, | |
lineNumber: 4, | |
column: 8, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/staticGetter1.ts | |
../TypeScript/tests/cases/compiler/staticGetter2.ts | |
../TypeScript/tests/cases/compiler/staticGetterAndSetter.ts | |
../TypeScript/tests/cases/compiler/staticIndexer.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,9 +13,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSStaticKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,3 +1,3 @@ | |
class C { | |
- static [s: string]: number; | |
-} | |
\ No newline at end of file | |
+ [s: string]: number | |
+} | |
../TypeScript/tests/cases/compiler/staticInheritance.ts | |
../TypeScript/tests/cases/compiler/staticInstanceResolution.ts | |
../TypeScript/tests/cases/compiler/staticInstanceResolution2.ts | |
../TypeScript/tests/cases/compiler/staticInstanceResolution3.ts | |
../TypeScript/tests/cases/compiler/staticInstanceResolution4.ts | |
../TypeScript/tests/cases/compiler/staticInstanceResolution5.ts | |
../TypeScript/tests/cases/compiler/staticInterfaceAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/staticMemberAccessOffDerivedType1.ts | |
../TypeScript/tests/cases/compiler/staticMemberExportAccess.ts | |
../TypeScript/tests/cases/compiler/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.ts | |
../TypeScript/tests/cases/compiler/staticMemberWithStringAndNumberNames.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "foo" | |
+ "type": "Identifier", | |
+ "name": "foo" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,12 +1,12 @@ | |
class C { | |
- static "foo" = 0; | |
- static 0 = 1; | |
+ static foo = 0; | |
+ static 0 = 1; | |
- x = C['foo']; | |
- x2 = C['0']; | |
- x3 = C[0]; | |
- | |
- static s = C['foo']; | |
- static s2 = C['0']; | |
\ No newline at end of file | |
- static s3 = C[0]; | |
-} | |
+ x = C["foo"]; | |
+ x2 = C["0"]; | |
+ x3 = C[0]; | |
+ | |
+ static s = C["foo"]; | |
+ static s2 = C["0"]; | |
+ static s3 = C[0]; | |
+} | |
../TypeScript/tests/cases/compiler/staticMethodReferencingTypeArgument1.ts | |
../TypeScript/tests/cases/compiler/staticMethodsReferencingClassTypeParameters.ts | |
../TypeScript/tests/cases/compiler/staticMethodWithTypeParameterExtendsClauseDeclFile.ts | |
../TypeScript/tests/cases/compiler/staticModifierAlreadySeen.ts | |
../TypeScript/tests/cases/compiler/staticMustPrecedePublic.ts | |
../TypeScript/tests/cases/compiler/staticOffOfInstance1.ts | |
../TypeScript/tests/cases/compiler/staticOffOfInstance2.ts | |
../TypeScript/tests/cases/compiler/staticPropSuper.ts | |
../TypeScript/tests/cases/compiler/staticPrototypeProperty.ts | |
../TypeScript/tests/cases/compiler/staticPrototypePropertyOnClass.ts | |
../TypeScript/tests/cases/compiler/statics.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -17,4 +17,5 @@ | |
var c = C.y; | |
+ | |
export function f() { | |
var result = ""; | |
../TypeScript/tests/cases/compiler/staticsInAFunction.ts | |
../TypeScript/tests/cases/compiler/staticsInAFunction.ts: { index: 12, | |
lineNumber: 1, | |
column: 12, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/compiler/staticsInConstructorBodies.ts | |
../TypeScript/tests/cases/compiler/staticsInConstructorBodies.ts: { index: 31, | |
lineNumber: 3, | |
column: 2, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/staticsNotInScopeInClodule.ts | |
../TypeScript/tests/cases/compiler/staticVisibility.ts | |
../TypeScript/tests/cases/compiler/stradac.ts | |
../TypeScript/tests/cases/compiler/strictModeInConstructor.ts | |
../TypeScript/tests/cases/compiler/strictModeReservedWord.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -382,12 +382,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "private" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "package" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -426,12 +419,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "private" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "package" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
@@ -465,19 +451,5 @@ | |
"object": { | |
"type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "object": { | |
- "type": "JSXIdentifier", | |
- "name": "interface" | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "package" | |
- } | |
- }, | |
- "property": { | |
- "type": "JSXIdentifier", | |
- "name": "implements" | |
- } | |
+ "name": "undefined" | |
}, | |
"property": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,26 +1,25 @@ | |
-let let = 10; | |
+let let = 10; | |
function foo() { | |
- "use strict" | |
- var public = 10; | |
- var static = "hi"; | |
- let let = "blah"; | |
- var package = "hello" | |
- function package() { } | |
- function bar(private, implements, let) { } | |
- function baz<implements, protected>() { } | |
- function barn(cb: (private, public, package) => void) { } | |
- barn((private, public, package) => { }); | |
+ "use strict"; | |
+ var public = 10; | |
+ var static = "hi"; | |
+ let let = "blah"; | |
+ var package = "hello"; | |
+ function package() {} | |
+ function bar(private, implements, let) {} | |
+ function baz<implements, protected>() {} | |
+ function barn(cb: (private, public, package) => void) {} | |
+ barn((private, public, package) => {}); | |
- var myClass = class package extends public {} | |
+ var myClass = class package extends public {}; | |
- var b: public.bar; | |
+ var b: public.bar; | |
- function foo(x: private.x) { } | |
- function foo1(x: private.package.x) { } | |
- function foo2(x: private.package.protected) { } | |
- let b: interface.package.implements.B; | |
- ublic(); | |
- static(); | |
+ function foo(x: private.x) {} | |
+ function foo1(x: undefined.x) {} | |
+ function foo2(x: undefined.protected) {} | |
+ let b: undefined.B; | |
+ ublic(); | |
+ static(); | |
} | |
- | |
../TypeScript/tests/cases/compiler/strictModeReservedWord2.ts | |
../TypeScript/tests/cases/compiler/strictModeReservedWordInClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/strictModeReservedWordInDestructuring.ts | |
../TypeScript/tests/cases/compiler/strictModeReservedWordInImportEqualDeclaration.ts | |
../TypeScript/tests/cases/compiler/strictModeReservedWordInModuleDeclaration.ts | |
../TypeScript/tests/cases/compiler/strictModeUseContextualKeyword.ts | |
../TypeScript/tests/cases/compiler/strictModeWordInExportDeclaration.ts | |
../TypeScript/tests/cases/compiler/strictModeWordInImportDeclaration.ts | |
../TypeScript/tests/cases/compiler/strictNullLogicalAndOr.ts | |
../TypeScript/tests/cases/compiler/stringHasStringValuedNumericIndexer.ts | |
../TypeScript/tests/cases/compiler/stringIncludes.ts | |
../TypeScript/tests/cases/compiler/stringIndexerAndConstructor.ts | |
../TypeScript/tests/cases/compiler/stringIndexerAndConstructor1.ts | |
../TypeScript/tests/cases/compiler/stringIndexerAssignments1.ts | |
../TypeScript/tests/cases/compiler/stringIndexerAssignments2.ts | |
../TypeScript/tests/cases/compiler/stringLiteralObjectLiteralDeclaration1.ts | |
../TypeScript/tests/cases/compiler/stringLiteralPropertyNameWithLineContinuation1.ts | |
../TypeScript/tests/cases/compiler/stringLiteralsErrors.ts | |
../TypeScript/tests/cases/compiler/stringLiteralsErrors.ts: { index: 53, | |
lineNumber: 2, | |
column: 17, | |
message: 'Unterminated string literal.' } | |
../TypeScript/tests/cases/compiler/stringPropCodeGen.ts | |
../TypeScript/tests/cases/compiler/stripInternal1.ts | |
../TypeScript/tests/cases/compiler/structural1.ts | |
../TypeScript/tests/cases/compiler/structuralTypeInDeclareFileForModule.ts | |
../TypeScript/tests/cases/compiler/styleOptions.ts | |
../TypeScript/tests/cases/compiler/subSubClassCanAccessProtectedConstructor.ts | |
../TypeScript/tests/cases/compiler/subtypeRelationForNever.ts | |
../TypeScript/tests/cases/compiler/subtypingTransitivity.ts | |
../TypeScript/tests/cases/compiler/super.ts | |
../TypeScript/tests/cases/compiler/super1.ts | |
../TypeScript/tests/cases/compiler/super2.ts | |
../TypeScript/tests/cases/compiler/superAccess.ts | |
../TypeScript/tests/cases/compiler/superAccess2.ts | |
../TypeScript/tests/cases/compiler/superAccess2.ts: { index: 84, | |
lineNumber: 7, | |
column: 14, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/superAccessInFatArrow1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -5,4 +5,5 @@ | |
} | |
+ | |
export class B extends A { | |
bar(callback: () => void) {} | |
../TypeScript/tests/cases/compiler/superCallArgsMustMatch.ts | |
../TypeScript/tests/cases/compiler/superCallAssignResult.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatDerivesFromGenericType1.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatDerivesFromGenericType2.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatDerivesNonGenericTypeButWithTypeArguments1.ts | |
../TypeScript/tests/cases/compiler/superCallFromClassThatHasNoBaseType1.ts | |
../TypeScript/tests/cases/compiler/superCallFromFunction1.ts | |
../TypeScript/tests/cases/compiler/superCallInNonStaticMethod.ts | |
../TypeScript/tests/cases/compiler/superCallInsideClassDeclaration.ts | |
../TypeScript/tests/cases/compiler/superCallInsideClassExpression.ts | |
../TypeScript/tests/cases/compiler/superCallInsideObjectLiteralExpression.ts | |
../TypeScript/tests/cases/compiler/superCallInStaticMethod.ts | |
../TypeScript/tests/cases/compiler/superCallOutsideConstructor.ts | |
../TypeScript/tests/cases/compiler/superCallsInConstructor.ts | |
../TypeScript/tests/cases/compiler/superCallWithCommentEmit01.ts | |
../TypeScript/tests/cases/compiler/superCallWithMissingBaseClass.ts | |
../TypeScript/tests/cases/compiler/superErrors.ts | |
../TypeScript/tests/cases/compiler/superErrors.ts: { index: 72, | |
lineNumber: 3, | |
column: 17, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/superHasMethodsFromMergedInterface.ts | |
../TypeScript/tests/cases/compiler/superInCatchBlock1.ts | |
../TypeScript/tests/cases/compiler/superInConstructorParam1.ts | |
../TypeScript/tests/cases/compiler/superInLambdas.ts | |
../TypeScript/tests/cases/compiler/superInLambdas.ts: { index: 1531, | |
lineNumber: 61, | |
column: 33, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/superInObjectLiterals_ES5.ts | |
../TypeScript/tests/cases/compiler/superInObjectLiterals_ES6.ts | |
../TypeScript/tests/cases/compiler/superNewCall1.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccess.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccess1.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccess2.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccessInComputedPropertiesOfNestedType_ES5.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccessInComputedPropertiesOfNestedType_ES6.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccessInSuperCall01.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccess_ES5.ts | |
../TypeScript/tests/cases/compiler/superPropertyAccess_ES6.ts | |
../TypeScript/tests/cases/compiler/superWithGenerics.ts | |
../TypeScript/tests/cases/compiler/superWithGenericSpecialization.ts | |
../TypeScript/tests/cases/compiler/superWithTypeArgument.ts | |
../TypeScript/tests/cases/compiler/superWithTypeArgument.ts: { index: 80, | |
lineNumber: 7, | |
column: 13, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/superWithTypeArgument2.ts | |
../TypeScript/tests/cases/compiler/superWithTypeArgument2.ts: { index: 94, | |
lineNumber: 7, | |
column: 13, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/superWithTypeArgument3.ts | |
../TypeScript/tests/cases/compiler/superWithTypeArgument3.ts: { index: 115, | |
lineNumber: 8, | |
column: 13, | |
message: '\'super\' must be followed by an argument list or member access.' } | |
../TypeScript/tests/cases/compiler/super_inside-object-literal-getters-and-setters.ts | |
../TypeScript/tests/cases/compiler/switchAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/switchCaseCircularRefeference.ts | |
../TypeScript/tests/cases/compiler/switchCases.ts | |
../TypeScript/tests/cases/compiler/switchCasesExpressionTypeMismatch.ts | |
../TypeScript/tests/cases/compiler/switchComparableCompatForBrands.ts | |
../TypeScript/tests/cases/compiler/switchFallThroughs.ts | |
../TypeScript/tests/cases/compiler/switchStatementsWithMultipleDefaults.ts | |
../TypeScript/tests/cases/compiler/switchStatementsWithMultipleDefaults1.ts | |
../TypeScript/tests/cases/compiler/systemExportAssignment.ts | |
../TypeScript/tests/cases/compiler/systemExportAssignment2.ts | |
../TypeScript/tests/cases/compiler/systemExportAssignment3.ts | |
../TypeScript/tests/cases/compiler/systemModule1.ts | |
../TypeScript/tests/cases/compiler/systemModule10.ts | |
../TypeScript/tests/cases/compiler/systemModule10_ES5.ts | |
../TypeScript/tests/cases/compiler/systemModule11.ts | |
../TypeScript/tests/cases/compiler/systemModule12.ts | |
../TypeScript/tests/cases/compiler/systemModule13.ts | |
../TypeScript/tests/cases/compiler/systemModule14.ts | |
../TypeScript/tests/cases/compiler/systemModule15.ts | |
../TypeScript/tests/cases/compiler/systemModule16.ts | |
../TypeScript/tests/cases/compiler/systemModule17.ts | |
../TypeScript/tests/cases/compiler/systemModule2.ts | |
../TypeScript/tests/cases/compiler/systemModule3.ts | |
../TypeScript/tests/cases/compiler/systemModule4.ts | |
../TypeScript/tests/cases/compiler/systemModule5.ts | |
../TypeScript/tests/cases/compiler/systemModule6.ts | |
../TypeScript/tests/cases/compiler/systemModule7.ts | |
../TypeScript/tests/cases/compiler/systemModule8.ts | |
../TypeScript/tests/cases/compiler/systemModule9.ts | |
../TypeScript/tests/cases/compiler/systemModuleAmbientDeclarations.ts | |
../TypeScript/tests/cases/compiler/systemModuleConstEnums.ts | |
../TypeScript/tests/cases/compiler/systemModuleConstEnumsSeparateCompilation.ts | |
../TypeScript/tests/cases/compiler/systemModuleDeclarationMerging.ts | |
../TypeScript/tests/cases/compiler/systemModuleExportDefault.ts | |
../TypeScript/tests/cases/compiler/SystemModuleForStatementNoInitializer.ts | |
../TypeScript/tests/cases/compiler/systemModuleNonTopLevelModuleMembers.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -15,4 +15,5 @@ | |
} | |
+ | |
export function NonTopLevelFunction(): void { | |
} | |
../TypeScript/tests/cases/compiler/systemModuleTargetES6.ts | |
../TypeScript/tests/cases/compiler/systemModuleTrailingComments.ts | |
../TypeScript/tests/cases/compiler/systemModuleWithSuperClass.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsHexadecimalEscapes.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsHexadecimalEscapesES6.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithMultilineTemplate.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithMultilineTemplateES6.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithUnicodeEscapes.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithUnicodeEscapesES6.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithWhitespaceEscapes.ts | |
../TypeScript/tests/cases/compiler/taggedTemplateStringsWithWhitespaceEscapesES6.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.ts: { index: 144, | |
lineNumber: 7, | |
column: 14, | |
message: 'Unterminated template literal.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts: { index: 141, | |
lineNumber: 7, | |
column: 3, | |
message: 'Unterminated template literal.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions1.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions1.ts: { index: 146, | |
lineNumber: 7, | |
column: 16, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions2.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions2.ts: { index: 143, | |
lineNumber: 7, | |
column: 17, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts: { index: 152, | |
lineNumber: 7, | |
column: 22, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions4.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions4.ts: { index: 155, | |
lineNumber: 7, | |
column: 23, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts: { index: 161, | |
lineNumber: 7, | |
column: 29, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions6.ts | |
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions6.ts: { index: 160, | |
lineNumber: 7, | |
column: 22, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/targetTypeArgs.ts | |
../TypeScript/tests/cases/compiler/targetTypeBaseCalls.ts | |
../TypeScript/tests/cases/compiler/targetTypeBaseCalls.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/targetTypeCalls.ts | |
../TypeScript/tests/cases/compiler/targetTypeCastTest.ts | |
../TypeScript/tests/cases/compiler/targetTypeCastTest.ts: { index: 243, | |
lineNumber: 12, | |
column: 36, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/targetTypeObjectLiteral.ts | |
../TypeScript/tests/cases/compiler/targetTypeObjectLiteralToAny.ts | |
../TypeScript/tests/cases/compiler/targetTypeTest1.ts | |
../TypeScript/tests/cases/compiler/targetTypeTest2.ts | |
../TypeScript/tests/cases/compiler/targetTypeTest3.ts | |
../TypeScript/tests/cases/compiler/targetTypeVoidFunc.ts | |
../TypeScript/tests/cases/compiler/targetTypingOnFunctions.ts | |
../TypeScript/tests/cases/compiler/templateStringsArrayTypeDefinedInES5Mode.ts | |
../TypeScript/tests/cases/compiler/templateStringsArrayTypeNotDefinedES5Mode.ts | |
../TypeScript/tests/cases/compiler/templateStringsArrayTypeRedefinedInES6Mode.ts | |
../TypeScript/tests/cases/compiler/ternaryExpressionSourceMap.ts | |
../TypeScript/tests/cases/compiler/testContainerList.ts | |
../TypeScript/tests/cases/compiler/testTypings.ts | |
../TypeScript/tests/cases/compiler/thisBinding.ts | |
../TypeScript/tests/cases/compiler/thisBinding.ts: { index: 239, | |
lineNumber: 19, | |
column: 7, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/thisBinding2.ts | |
../TypeScript/tests/cases/compiler/thisCapture1.ts | |
../TypeScript/tests/cases/compiler/thisExpressionInCallExpressionWithTypeArguments.ts | |
../TypeScript/tests/cases/compiler/thisExpressionInIndexExpression.ts | |
../TypeScript/tests/cases/compiler/thisExpressionOfGenericObject.ts | |
../TypeScript/tests/cases/compiler/thisInAccessors.ts | |
../TypeScript/tests/cases/compiler/thisInArrowFunctionInStaticInitializer1.ts | |
../TypeScript/tests/cases/compiler/thisInConstructorParameter1.ts | |
../TypeScript/tests/cases/compiler/thisInConstructorParameter2.ts | |
../TypeScript/tests/cases/compiler/thisInGenericStaticMembers.ts | |
../TypeScript/tests/cases/compiler/thisInInnerFunctions.ts | |
../TypeScript/tests/cases/compiler/thisInLambda.ts | |
../TypeScript/tests/cases/compiler/thisInModule.ts | |
../TypeScript/tests/cases/compiler/thisInModuleFunction1.ts | |
../TypeScript/tests/cases/compiler/thisInOuterClassBody.ts | |
../TypeScript/tests/cases/compiler/thisInPropertyBoundDeclarations.ts | |
../TypeScript/tests/cases/compiler/thisInStaticMethod1.ts | |
../TypeScript/tests/cases/compiler/thisInStatics.ts | |
../TypeScript/tests/cases/compiler/thisInSuperCall.ts | |
../TypeScript/tests/cases/compiler/thisInSuperCall1.ts | |
../TypeScript/tests/cases/compiler/thisInSuperCall2.ts | |
../TypeScript/tests/cases/compiler/thisInSuperCall3.ts | |
../TypeScript/tests/cases/compiler/thisInTupleTypeParameterConstraints.ts | |
../TypeScript/tests/cases/compiler/thisKeyword.ts | |
../TypeScript/tests/cases/compiler/thisReferencedInFunctionInsideArrowFunction1.ts | |
../TypeScript/tests/cases/compiler/thisTypeAsConstraint.ts | |
../TypeScript/tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts | |
../TypeScript/tests/cases/compiler/thisWhenTypeCheckFails.ts | |
../TypeScript/tests/cases/compiler/this_inside-enum-should-not-be-allowed.ts | |
../TypeScript/tests/cases/compiler/this_inside-object-literal-getters-and-setters.ts | |
../TypeScript/tests/cases/compiler/throwWithoutNewLine1.ts | |
../TypeScript/tests/cases/compiler/throwWithoutNewLine1.ts: { index: 5, | |
lineNumber: 1, | |
column: 5, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/throwWithoutNewLine2.ts | |
../TypeScript/tests/cases/compiler/throwWithoutNewLine2.ts: { index: 6, | |
lineNumber: 1, | |
column: 6, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/tooFewArgumentsInGenericFunctionTypedArgument.ts | |
../TypeScript/tests/cases/compiler/tooManyTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/tooManyTypeParameters1.ts: { index: 75, | |
lineNumber: 5, | |
column: 8, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/topLevel.ts | |
../TypeScript/tests/cases/compiler/topLevelExports.ts | |
../TypeScript/tests/cases/compiler/topLevelLambda.ts | |
../TypeScript/tests/cases/compiler/topLevelLambda2.ts | |
../TypeScript/tests/cases/compiler/topLevelLambda3.ts | |
../TypeScript/tests/cases/compiler/topLevelLambda4.ts | |
../TypeScript/tests/cases/compiler/toStringOnPrimitives.ts | |
../TypeScript/tests/cases/compiler/trailingCommaInHeterogenousArrayLiteral1.ts | |
../TypeScript/tests/cases/compiler/trailingCommasES3.ts | |
../TypeScript/tests/cases/compiler/trailingCommasES5.ts | |
../TypeScript/tests/cases/compiler/transformArrowInBlockScopedLoopVarInitializer.ts | |
../TypeScript/tests/cases/compiler/transformNestedGeneratorsWithTry.ts | |
../TypeScript/tests/cases/compiler/transformsElideNullUndefinedType.ts | |
../TypeScript/tests/cases/compiler/transitiveTypeArgumentInference1.ts | |
../TypeScript/tests/cases/compiler/tryCatchFinally.ts | |
../TypeScript/tests/cases/compiler/tsxDefaultImports.ts | |
../TypeScript/tests/cases/compiler/tupleTypeInference.ts | |
../TypeScript/tests/cases/compiler/tupleTypes.ts | |
../TypeScript/tests/cases/compiler/typeAliasDeclarationEmit.ts | |
../TypeScript/tests/cases/compiler/typeAliasDeclarationEmit2.ts | |
../TypeScript/tests/cases/compiler/typeAliasDeclareKeyword01.d.ts | |
../TypeScript/tests/cases/compiler/typeAliasDoesntMakeModuleInstantiated.ts | |
../TypeScript/tests/cases/compiler/typeAliasExport.ts | |
../TypeScript/tests/cases/compiler/typeAnnotationBestCommonTypeInArrayLiteral.ts | |
../TypeScript/tests/cases/compiler/typeArgInference.ts | |
../TypeScript/tests/cases/compiler/typeArgInference2.ts | |
../TypeScript/tests/cases/compiler/typeArgInference2WithError.ts | |
../TypeScript/tests/cases/compiler/typeArgInferenceWithNull.ts | |
../TypeScript/tests/cases/compiler/typeArgumentConstraintResolution1.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceApparentType1.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceApparentType2.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceOrdering.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceWithConstraintAsCommonRoot.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceWithRecursivelyReferencedTypeAliasToTypeLiteral01.ts | |
../TypeScript/tests/cases/compiler/typeArgumentInferenceWithRecursivelyReferencedTypeAliasToTypeLiteral02.ts | |
../TypeScript/tests/cases/compiler/typeArgumentsInFunctionExpressions.ts | |
../TypeScript/tests/cases/compiler/typeArgumentsOnFunctionsWithNoTypeParameters.ts | |
../TypeScript/tests/cases/compiler/typeArgumentsShouldDisallowNonGenericOverloads.ts | |
../TypeScript/tests/cases/compiler/typeAssertionToGenericFunctionType.ts | |
../TypeScript/tests/cases/compiler/typeAssertionToGenericFunctionType.ts: { index: 18, | |
lineNumber: 2, | |
column: 7, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/typecheckCommaExpression.ts | |
../TypeScript/tests/cases/compiler/typecheckIfCondition.ts | |
../TypeScript/tests/cases/compiler/typeCheckingInsideFunctionExpressionInArray.ts | |
../TypeScript/tests/cases/compiler/typeCheckObjectCreationExpressionWithUndefinedCallResolutionData.ts | |
../TypeScript/tests/cases/compiler/typeCheckObjectLiteralMethodBody.ts | |
../TypeScript/tests/cases/compiler/typeCheckReturnExpression.ts | |
../TypeScript/tests/cases/compiler/typeCheckTypeArgument.ts | |
../TypeScript/tests/cases/compiler/typeCheckTypeArgument.ts: { index: 10, | |
lineNumber: 1, | |
column: 10, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/typeComparisonCaching.ts | |
../TypeScript/tests/cases/compiler/typeConstraintsWithConstructSignatures.ts | |
../TypeScript/tests/cases/compiler/typedArrays.ts | |
../TypeScript/tests/cases/compiler/typedArraysCrossAssignability01.ts | |
../TypeScript/tests/cases/compiler/typedGenericPrototypeMember.ts | |
../TypeScript/tests/cases/compiler/typeIdentityConsidersBrands.ts | |
../TypeScript/tests/cases/compiler/typeInfer1.ts | |
../TypeScript/tests/cases/compiler/typeInferenceConflictingCandidates.ts | |
../TypeScript/tests/cases/compiler/typeInferenceFBoundedTypeParams.ts | |
../TypeScript/tests/cases/compiler/typeInferenceFixEarly.ts | |
../TypeScript/tests/cases/compiler/typeInferenceLiteralUnion.ts | |
../TypeScript/tests/cases/compiler/typeInferenceReturnTypeCallback.ts | |
../TypeScript/tests/cases/compiler/typeInferenceWithTypeAnnotation.ts | |
../TypeScript/tests/cases/compiler/typeLiteralCallback.ts | |
../TypeScript/tests/cases/compiler/typeMatch1.ts | |
../TypeScript/tests/cases/compiler/typeMatch2.ts | |
../TypeScript/tests/cases/compiler/typeName1.ts | |
../TypeScript/tests/cases/compiler/typeofAmbientExternalModules.ts | |
../TypeScript/tests/cases/compiler/typeofClass.ts | |
../TypeScript/tests/cases/compiler/typeofEnum.ts | |
../TypeScript/tests/cases/compiler/typeOfEnumAndVarRedeclarations.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -70,9 +70,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -92,9 +87,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -114,9 +104,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -179,9 +164,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -201,9 +181,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -223,9 +198,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -249,9 +219,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,10 +1,6 @@ | |
-enum E { | |
- a | |
-} | |
-enum E { | |
- b = 1 | |
-} | |
+enum E { a } | |
+enum E { b = 1 } | |
var x = E; | |
-var x: { readonly a: E; readonly b: E; readonly [x: number]: string; }; // Shouldnt error | |
\ No newline at end of file | |
+var x: { a: E, b: E, [x: number]: string }; // Shouldnt error | |
var y = E; | |
-var y: { readonly a: E; readonly b: E; readonly [x: number]: string; readonly [x: number]: string } // two errors: the types are not identical and duplicate signatures | |
+var y: { a: E, b: E, [x: number]: string, [x: number]: string }; // two errors: the types are not identical and duplicate signatures | |
../TypeScript/tests/cases/compiler/typeofExternalModules.ts | |
../TypeScript/tests/cases/compiler/typeofInObjectLiteralType.ts | |
../TypeScript/tests/cases/compiler/typeofInterface.ts | |
../TypeScript/tests/cases/compiler/typeofInternalModules.ts | |
../TypeScript/tests/cases/compiler/typeOfOnTypeArg.ts | |
../TypeScript/tests/cases/compiler/typeOfOperator1.ts | |
../TypeScript/tests/cases/compiler/typeofProperty.ts | |
../TypeScript/tests/cases/compiler/typeOfPrototype.ts | |
../TypeScript/tests/cases/compiler/typeofSimple.ts | |
../TypeScript/tests/cases/compiler/typeofStrictNull.ts | |
../TypeScript/tests/cases/compiler/typeOfSuperCall.ts | |
../TypeScript/tests/cases/compiler/typeOfThisInStatics.ts | |
../TypeScript/tests/cases/compiler/typeofUndefined.ts | |
../TypeScript/tests/cases/compiler/typeofUnknownSymbol.ts | |
../TypeScript/tests/cases/compiler/typeofUsedBeforeBlockScoped.ts | |
../TypeScript/tests/cases/compiler/typeParameterAndArgumentOfSameName1.ts | |
../TypeScript/tests/cases/compiler/typeParameterArgumentEquivalence.ts | |
../TypeScript/tests/cases/compiler/typeParameterArgumentEquivalence2.ts | |
../TypeScript/tests/cases/compiler/typeParameterArgumentEquivalence3.ts | |
../TypeScript/tests/cases/compiler/typeParameterArgumentEquivalence4.ts | |
../TypeScript/tests/cases/compiler/typeParameterArgumentEquivalence5.ts | |
../TypeScript/tests/cases/compiler/typeParameterAsBaseClass.ts | |
../TypeScript/tests/cases/compiler/typeParameterAsElementType.ts | |
../TypeScript/tests/cases/compiler/typeParameterAssignmentCompat1.ts | |
../TypeScript/tests/cases/compiler/typeParameterAssignmentWithConstraints.ts | |
../TypeScript/tests/cases/compiler/typeParameterCompatibilityAccrossDeclarations.ts | |
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter.ts | |
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter.ts: { index: 22, | |
lineNumber: 2, | |
column: 5, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter2.ts | |
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter2.ts: { index: 25, | |
lineNumber: 2, | |
column: 8, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/typeParameterConstraintInstantiation.ts | |
../TypeScript/tests/cases/compiler/typeParameterConstraintInstantiation.ts: { index: 101, | |
lineNumber: 4, | |
column: 8, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/typeParameterConstraints1.ts | |
../TypeScript/tests/cases/compiler/typeParameterDiamond1.ts | |
../TypeScript/tests/cases/compiler/typeParameterDiamond2.ts | |
../TypeScript/tests/cases/compiler/typeParameterDiamond3.ts | |
../TypeScript/tests/cases/compiler/typeParameterDiamond4.ts | |
../TypeScript/tests/cases/compiler/typeParameterEquality.ts | |
../TypeScript/tests/cases/compiler/typeParameterExplicitlyExtendsAny.ts | |
../TypeScript/tests/cases/compiler/typeParameterExtendingUnion1.ts | |
../TypeScript/tests/cases/compiler/typeParameterExtendingUnion2.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithConstraints.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithConstraints.ts: { index: 76, | |
lineNumber: 6, | |
column: 11, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments2.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments3.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments4.ts | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments4.ts: { index: 199, | |
lineNumber: 7, | |
column: 30, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/typeParameterFixingWithContextSensitiveArguments5.ts | |
../TypeScript/tests/cases/compiler/typeParameterHasSelfAsConstraint.ts | |
../TypeScript/tests/cases/compiler/typeParameterInConstraint1.ts | |
../TypeScript/tests/cases/compiler/typeParameterListWithTrailingComma1.ts | |
../TypeScript/tests/cases/compiler/typeParameterOrderReversal.ts | |
../TypeScript/tests/cases/compiler/typeParametersAndParametersInComputedNames.ts | |
../TypeScript/tests/cases/compiler/typeParametersInStaticAccessors.ts | |
../TypeScript/tests/cases/compiler/typeParametersInStaticMethods.ts | |
../TypeScript/tests/cases/compiler/typeParametersInStaticProperties.ts | |
../TypeScript/tests/cases/compiler/typeParametersShouldNotBeEqual.ts | |
../TypeScript/tests/cases/compiler/typeParametersShouldNotBeEqual2.ts | |
../TypeScript/tests/cases/compiler/typeParametersShouldNotBeEqual3.ts | |
../TypeScript/tests/cases/compiler/typeParameterWithInvalidConstraintType.ts | |
../TypeScript/tests/cases/compiler/typeParamExtendsOtherTypeParam.ts | |
../TypeScript/tests/cases/compiler/typePredicateInLoop.ts | |
../TypeScript/tests/cases/compiler/typePredicateStructuralMatch.ts | |
../TypeScript/tests/cases/compiler/typePredicateWithThisParameter.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives1.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives10.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives11.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives12.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives13.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives2.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives3.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives4.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives5.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives6.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives7.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives8.ts | |
../TypeScript/tests/cases/compiler/typeReferenceDirectives9.ts | |
../TypeScript/tests/cases/compiler/typeResolution.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -53,4 +53,5 @@ | |
} | |
+ | |
export class ClassB { | |
public BisIn1_1_1() { | |
@@ -121,8 +122,10 @@ | |
} | |
+ | |
export class ClassB { | |
public BisIn1_2_2() {} | |
} | |
+ | |
export class ClassC { | |
public CisIn1_2_2() {} | |
../TypeScript/tests/cases/compiler/typeRootsFromMultipleNodeModulesDirectories.ts | |
../TypeScript/tests/cases/compiler/typeRootsFromNodeModulesInParentDirectory.ts | |
../TypeScript/tests/cases/compiler/typeUsedAsValueError.ts | |
../TypeScript/tests/cases/compiler/typeUsedAsValueError2.ts | |
../TypeScript/tests/cases/compiler/typeVal.ts | |
../TypeScript/tests/cases/compiler/typeValueConflict1.ts | |
../TypeScript/tests/cases/compiler/typeValueConflict2.ts | |
../TypeScript/tests/cases/compiler/umdDependencyComment2.ts | |
../TypeScript/tests/cases/compiler/umdDependencyCommentName1.ts | |
../TypeScript/tests/cases/compiler/umdDependencyCommentName2.ts | |
../TypeScript/tests/cases/compiler/umdGlobalConflict.ts | |
../TypeScript/tests/cases/compiler/unaryOperators1.ts | |
../TypeScript/tests/cases/compiler/unaryOperatorsInStrictMode.ts | |
../TypeScript/tests/cases/compiler/unaryPlus.ts | |
../TypeScript/tests/cases/compiler/unaryPlus.ts: { index: 68, | |
lineNumber: 4, | |
column: 13, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/uncaughtCompilerError1.ts | |
../TypeScript/tests/cases/compiler/uncaughtCompilerError2.ts | |
../TypeScript/tests/cases/compiler/uncaughtCompilerError2.ts: { index: 25, | |
lineNumber: 2, | |
column: 4, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/unclosedExportClause01.ts | |
../TypeScript/tests/cases/compiler/unclosedExportClause01.ts: { index: 106, | |
lineNumber: 7, | |
column: 17, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/unclosedExportClause02.ts | |
../TypeScript/tests/cases/compiler/unclosedExportClause02.ts: { index: 111, | |
lineNumber: 8, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/undeclaredBase.ts | |
../TypeScript/tests/cases/compiler/undeclaredMethod.ts | |
../TypeScript/tests/cases/compiler/undeclaredModuleError.ts | |
../TypeScript/tests/cases/compiler/undeclaredVarEmit.ts | |
../TypeScript/tests/cases/compiler/undefinedArgumentInference.ts | |
../TypeScript/tests/cases/compiler/undefinedInferentialTyping.ts | |
../TypeScript/tests/cases/compiler/undefinedSymbolReferencedInArrayLiteral1.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeArgument1.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeArgument2.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeAssignment1.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeAssignment2.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeAssignment3.ts | |
../TypeScript/tests/cases/compiler/undefinedTypeAssignment4.ts | |
../TypeScript/tests/cases/compiler/underscoreMapFirst.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,4 +14,5 @@ | |
} | |
+ | |
export function pluck<T extends {}>( | |
list: Collection<T>, | |
../TypeScript/tests/cases/compiler/underscoreTest1.ts | |
../TypeScript/tests/cases/compiler/underscoreTest1.ts: { index: 37621, | |
lineNumber: 809, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/underscoreThisInDerivedClass01.ts | |
../TypeScript/tests/cases/compiler/underscoreThisInDerivedClass02.ts | |
../TypeScript/tests/cases/compiler/unexpectedStatementBlockTerminator.ts | |
../TypeScript/tests/cases/compiler/unexpectedStatementBlockTerminator.ts: { index: 30, | |
lineNumber: 4, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/compiler/unexportedInstanceClassVariables.ts | |
../TypeScript/tests/cases/compiler/unicodeIdentifierName2.ts | |
../TypeScript/tests/cases/compiler/unicodeIdentifierName2.ts: { index: 6, | |
lineNumber: 1, | |
column: 6, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/unicodeIdentifierNames.ts | |
../TypeScript/tests/cases/compiler/unicodeIdentifierNames.ts: { index: 0, | |
lineNumber: 1, | |
column: 0, | |
message: 'Invalid character.' } | |
../TypeScript/tests/cases/compiler/unionPropertyExistence.ts | |
../TypeScript/tests/cases/compiler/unionTypeParameterInference.ts | |
../TypeScript/tests/cases/compiler/unionTypeWithLeadingOperator.ts | |
../TypeScript/tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction1.ts | |
../TypeScript/tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts | |
../TypeScript/tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction3.ts | |
../TypeScript/tests/cases/compiler/unknownPropertiesAreAssignableToObjectUnion.ts | |
../TypeScript/tests/cases/compiler/unknownSymbolInGenericReturnType.ts | |
../TypeScript/tests/cases/compiler/unknownSymbolOffContextualType1.ts | |
../TypeScript/tests/cases/compiler/unknownSymbols1.ts | |
../TypeScript/tests/cases/compiler/unknownSymbols1.ts: { index: 180, | |
lineNumber: 12, | |
column: 7, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/compiler/unknownSymbols2.ts | |
../TypeScript/tests/cases/compiler/unknownSymbols2.ts: { index: 242, | |
lineNumber: 16, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/compiler/unknownTypeArgOnCall.ts | |
../TypeScript/tests/cases/compiler/unknownTypeErrors.ts | |
../TypeScript/tests/cases/compiler/unqualifiedCallToClassStatic1.ts | |
../TypeScript/tests/cases/compiler/unreachableFlowAfterFinally.ts | |
../TypeScript/tests/cases/compiler/unresolvedTypeAssertionSymbol.ts | |
../TypeScript/tests/cases/compiler/unresolvedTypeAssertionSymbol.ts: { index: 21, | |
lineNumber: 2, | |
column: 9, | |
message: 'JSX element \'asdf\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/unspecializedConstraints.ts | |
../TypeScript/tests/cases/compiler/unspecializedConstraints.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/unterminatedRegexAtEndOfSource1.ts | |
../TypeScript/tests/cases/compiler/unterminatedRegexAtEndOfSource1.ts: { index: 9, | |
lineNumber: 1, | |
column: 9, | |
message: 'Unterminated regular expression literal.' } | |
../TypeScript/tests/cases/compiler/unterminatedStringLiteralWithBackslash1.ts | |
../TypeScript/tests/cases/compiler/unterminatedStringLiteralWithBackslash1.ts: { index: 2, | |
lineNumber: 1, | |
column: 2, | |
message: 'Unexpected end of text.' } | |
../TypeScript/tests/cases/compiler/untypedArgumentInLambdaExpression.ts | |
../TypeScript/tests/cases/compiler/untypedFunctionCallsWithTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/untypedModuleImport_withAugmentation2.ts | |
../TypeScript/tests/cases/compiler/untypedModuleImport_withAugmentation2.ts: { index: 340, | |
lineNumber: 11, | |
column: 5, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/compiler/unusedClassesinModule1.ts | |
../TypeScript/tests/cases/compiler/unusedClassesinNamespace1.ts | |
../TypeScript/tests/cases/compiler/unusedClassesinNamespace2.ts | |
../TypeScript/tests/cases/compiler/unusedClassesinNamespace3.ts | |
../TypeScript/tests/cases/compiler/unusedClassesinNamespace4.ts | |
../TypeScript/tests/cases/compiler/unusedClassesinNamespace5.ts | |
../TypeScript/tests/cases/compiler/unusedDestructuringParameters.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces1.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces2.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces3.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces4.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces5.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces5.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces6.ts | |
../TypeScript/tests/cases/compiler/unusedFunctionsinNamespaces6.ts: TypeError: undefined is not a function | |
at isLastStatement (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3837:28) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2427:46) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2326:16 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2325:19) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
../TypeScript/tests/cases/compiler/unusedGetterInClass.ts | |
../TypeScript/tests/cases/compiler/unusedIdentifiersConsolidated1.ts | |
../TypeScript/tests/cases/compiler/unusedImportDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedImports1.ts | |
../TypeScript/tests/cases/compiler/unusedImports10.ts | |
../TypeScript/tests/cases/compiler/unusedImports11.ts | |
../TypeScript/tests/cases/compiler/unusedImports12.ts | |
../TypeScript/tests/cases/compiler/unusedImports13.ts | |
../TypeScript/tests/cases/compiler/unusedImports14.ts | |
../TypeScript/tests/cases/compiler/unusedImports15.ts | |
../TypeScript/tests/cases/compiler/unusedImports16.ts | |
../TypeScript/tests/cases/compiler/unusedImports2.ts | |
../TypeScript/tests/cases/compiler/unusedImports3.ts | |
../TypeScript/tests/cases/compiler/unusedImports4.ts | |
../TypeScript/tests/cases/compiler/unusedImports5.ts | |
../TypeScript/tests/cases/compiler/unusedImports6.ts | |
../TypeScript/tests/cases/compiler/unusedImports7.ts | |
../TypeScript/tests/cases/compiler/unusedImports8.ts | |
../TypeScript/tests/cases/compiler/unusedImports9.ts | |
../TypeScript/tests/cases/compiler/unusedInterfaceinNamespace1.ts | |
../TypeScript/tests/cases/compiler/unusedInterfaceinNamespace2.ts | |
../TypeScript/tests/cases/compiler/unusedInterfaceinNamespace3.ts | |
../TypeScript/tests/cases/compiler/unusedInterfaceinNamespace4.ts | |
../TypeScript/tests/cases/compiler/unusedInterfaceinNamespace5.ts | |
../TypeScript/tests/cases/compiler/unusedLocalProperty.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndObjectSpread.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndObjectSpread2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParameters.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParametersDeferred.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParametersOverloadSignatures.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParametersTypeAliases.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParametersTypeAliases.ts: { index: 290, | |
lineNumber: 15, | |
column: 22, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/unusedLocalsAndParametersTypeAliases2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsinConstructor1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsinConstructor2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsInMethod1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsInMethod2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsInMethod3.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionDeclarationWithinFunctionDeclaration1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionDeclarationWithinFunctionDeclaration2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionDeclarationWithinFunctionExpression1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionDeclarationWithinFunctionExpression2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionExpressionWithinFunctionDeclaration1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionExpressionWithinFunctionDeclaration2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionExpressionWithinFunctionExpression1.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts | |
../TypeScript/tests/cases/compiler/unusedLocalsStartingWithUnderscore.ts | |
../TypeScript/tests/cases/compiler/unusedMethodsInInterface.ts | |
../TypeScript/tests/cases/compiler/unusedModuleInModule.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameter1InContructor.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameter1InFunctionExpression.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameter2InContructor.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameter2InFunctionExpression.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameters1InFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameters1InMethodDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameters2InFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedMultipleParameters2InMethodDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedNamespaceInModule.ts | |
../TypeScript/tests/cases/compiler/unusedNamespaceInNamespace.ts | |
../TypeScript/tests/cases/compiler/unusedParameterInCatchClause.ts | |
../TypeScript/tests/cases/compiler/unusedParameterProperty1.ts | |
../TypeScript/tests/cases/compiler/unusedParameterProperty2.ts | |
../TypeScript/tests/cases/compiler/unusedParametersinConstructor1.ts | |
../TypeScript/tests/cases/compiler/unusedParametersinConstructor2.ts | |
../TypeScript/tests/cases/compiler/unusedParametersinConstructor3.ts | |
../TypeScript/tests/cases/compiler/unusedParametersInLambda1.ts | |
../TypeScript/tests/cases/compiler/unusedParametersInLambda2.ts | |
../TypeScript/tests/cases/compiler/unusedParametersThis.ts | |
../TypeScript/tests/cases/compiler/unusedParametersWithUnderscore.ts | |
../TypeScript/tests/cases/compiler/unusedParameterUsedInTypeOf.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateMembers.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateMethodInClass1.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateMethodInClass2.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateMethodInClass3.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateMethodInClass4.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateVariableInClass1.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateVariableInClass2.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateVariableInClass3.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateVariableInClass4.ts | |
../TypeScript/tests/cases/compiler/unusedPrivateVariableInClass5.ts | |
../TypeScript/tests/cases/compiler/unusedSetterInClass.ts | |
../TypeScript/tests/cases/compiler/unusedSingleParameterInContructor.ts | |
../TypeScript/tests/cases/compiler/unusedSingleParameterInFunctionDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedSingleParameterInFunctionExpression.ts | |
../TypeScript/tests/cases/compiler/unusedSingleParameterInMethodDeclaration.ts | |
../TypeScript/tests/cases/compiler/unusedSwitchStatment.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInFunction1.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInFunction2.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInFunction3.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInFunction4.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInInterface1.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInInterface2.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInLambda1.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInLambda1.ts: { index: 100, | |
lineNumber: 6, | |
column: 16, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInLambda2.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInLambda3.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInMethod1.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInMethod2.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInMethod3.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInMethod4.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameterInMethod5.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters1.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters2.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters3.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters4.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters5.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters6.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters7.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters8.ts | |
../TypeScript/tests/cases/compiler/unusedTypeParameters9.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinBlocks1.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinBlocks2.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinForLoop.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinForLoop2.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinForLoop3.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinForLoop4.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinModules1.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinNamespaces1.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinNamespaces2.ts | |
../TypeScript/tests/cases/compiler/unusedVariablesinNamespaces3.ts | |
../TypeScript/tests/cases/compiler/useBeforeDeclaration.ts | |
../TypeScript/tests/cases/compiler/useStrictLikePrologueString01.ts | |
../TypeScript/tests/cases/compiler/usingModuleWithExportImportInValuePosition.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,4 +2,5 @@ | |
export var x = "hello world"; | |
+ | |
export class Point { | |
constructor(public x: number, public y: number) {} | |
../TypeScript/tests/cases/compiler/validRegexp.ts | |
../TypeScript/tests/cases/compiler/validRegexp.ts: { index: 23, | |
lineNumber: 1, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/compiler/validUseOfThisInSuper.ts | |
../TypeScript/tests/cases/compiler/varAndFunctionShareName.ts | |
../TypeScript/tests/cases/compiler/vararg.ts | |
../TypeScript/tests/cases/compiler/varArgConstructorMemberParameter.ts | |
../TypeScript/tests/cases/compiler/varArgParamTypeCheck.ts | |
../TypeScript/tests/cases/compiler/varArgsOnConstructorTypes.ts | |
../TypeScript/tests/cases/compiler/varArgWithNoParamName.ts | |
../TypeScript/tests/cases/compiler/varArgWithNoParamName.ts: { index: 15, | |
lineNumber: 1, | |
column: 15, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/compiler/varAsID.ts | |
../TypeScript/tests/cases/compiler/varBlock.ts | |
../TypeScript/tests/cases/compiler/vardecl.ts | |
../TypeScript/tests/cases/compiler/variableDeclarationInStrictMode1.ts | |
../TypeScript/tests/cases/compiler/variableDeclarator1.ts | |
../TypeScript/tests/cases/compiler/variableDeclaratorResolvedDuringContextualTyping.ts | |
../TypeScript/tests/cases/compiler/varInFunctionInVarInitializer.ts | |
../TypeScript/tests/cases/compiler/varNameConflictsWithImportInDifferentPartOfModule.ts | |
../TypeScript/tests/cases/compiler/verifyDefaultLib_dom.ts | |
../TypeScript/tests/cases/compiler/verifyDefaultLib_webworker.ts | |
../TypeScript/tests/cases/compiler/visibilityOfCrossModuleTypeUsage.ts | |
../TypeScript/tests/cases/compiler/visibilityOfTypeParameters.ts | |
../TypeScript/tests/cases/compiler/visSyntax.ts | |
../TypeScript/tests/cases/compiler/voidArrayLit.ts | |
../TypeScript/tests/cases/compiler/voidAsNonAmbiguousReturnType.ts | |
../TypeScript/tests/cases/compiler/voidAsOperator.ts | |
../TypeScript/tests/cases/compiler/voidConstructor.ts | |
../TypeScript/tests/cases/compiler/voidFunctionAssignmentCompat.ts | |
../TypeScript/tests/cases/compiler/voidOperator1.ts | |
../TypeScript/tests/cases/compiler/voidReturnLambdaValue.ts | |
../TypeScript/tests/cases/compiler/widenedTypes.ts | |
../TypeScript/tests/cases/compiler/widenedTypes.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/compiler/widenedTypes1.ts | |
../TypeScript/tests/cases/compiler/widenToAny1.ts | |
../TypeScript/tests/cases/compiler/widenToAny2.ts | |
../TypeScript/tests/cases/compiler/withExportDecl.ts | |
../TypeScript/tests/cases/compiler/withImportDecl.ts | |
../TypeScript/tests/cases/compiler/withStatement.ts | |
../TypeScript/tests/cases/compiler/withStatementErrors.ts | |
../TypeScript/tests/cases/compiler/withStatementNestedScope.ts | |
../TypeScript/tests/cases/compiler/wrappedIncovations1.ts | |
../TypeScript/tests/cases/compiler/wrappedIncovations2.ts | |
../TypeScript/tests/cases/compiler/wrappedRecursiveGenericType.ts | |
../TypeScript/tests/cases/compiler/yieldExpression1.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientDeclarations.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientDeclarationsExternal.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientDeclarationsPatterns.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientDeclarationsPatterns_tooManyAsterisks.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientEnumDeclaration1.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientEnumDeclaration2.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientErrors.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientExternalModuleInsideNonAmbient.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientExternalModuleInsideNonAmbientExternalModule.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientExternalModuleMerging.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientInsideNonAmbient.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientInsideNonAmbientExternalModule.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2298:37) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_declarationEmit.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_declarationEmit.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2298:37) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_duplicate.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_duplicate.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2298:37) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_merging.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_merging.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2298:37) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_reExport.ts | |
../TypeScript/tests/cases/conformance/ambient/ambientShorthand_reExport.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2298:37) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/arrowFunctionWithParameterNameAsync_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction10_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction1_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction2_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction3_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction4_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction5_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction5_es2017.ts: { index: 67, | |
lineNumber: 4, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction6_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction6_es2017.ts: { index: 70, | |
lineNumber: 4, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction7_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction7_es2017.ts: { index: 176, | |
lineNumber: 6, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts: { index: 101, | |
lineNumber: 5, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction9_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction9_es2017.ts: { index: 79, | |
lineNumber: 3, | |
column: 36, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunctionCapturesThis_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncUnParenthesizedArrowFunction_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncAwaitIsolatedModules_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncAwait_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncMethodWithSuper_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/asyncUseStrict_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitBinaryExpression/awaitBinaryExpression1_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitBinaryExpression/awaitBinaryExpression2_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitBinaryExpression/awaitBinaryExpression3_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitBinaryExpression/awaitBinaryExpression4_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitBinaryExpression/awaitBinaryExpression5_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression1_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression2_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression3_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression4_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression5_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression6_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression7_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitCallExpression/awaitCallExpression8_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitClassExpression_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/awaitInheritedPromise_es2017.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -18,10 +18,5 @@ | |
"type": "Identifier", | |
"name": "Promise" | |
- }, | |
- "typeArguments": [ | |
- { | |
- "type": "TSStringKeyword" | |
- } | |
- ] | |
+ } | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,7 +1,7 @@ | |
// @target: es2017 | |
// @strictNullChecks: true | |
-interface A extends Promise<string> {} | |
+interface A extends Promise {} | |
declare var a: A; | |
async function f() { | |
- await a; | |
\ No newline at end of file | |
-} | |
+ await a; | |
+} | |
../TypeScript/tests/cases/conformance/async/es2017/await_unaryExpression_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/await_unaryExpression_es2017_1.ts | |
../TypeScript/tests/cases/conformance/async/es2017/await_unaryExpression_es2017_2.ts | |
../TypeScript/tests/cases/conformance/async/es2017/await_unaryExpression_es2017_3.ts | |
../TypeScript/tests/cases/conformance/async/es2017/await_unaryExpression_es2017_3.ts: { index: 54, | |
lineNumber: 4, | |
column: 6, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration10_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration10_es2017.ts: { index: 72, | |
lineNumber: 3, | |
column: 29, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration11_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration12_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration12_es2017.ts: { index: 66, | |
lineNumber: 3, | |
column: 23, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration13_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration14_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration1_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration2_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration3_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration4_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration5_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration5_es2017.ts: { index: 62, | |
lineNumber: 3, | |
column: 19, | |
message: 'Parameter declaration expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration6_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration6_es2017.ts: { index: 71, | |
lineNumber: 3, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration7_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration7_es2017.ts: { index: 175, | |
lineNumber: 5, | |
column: 30, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration8_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration9_es2017.ts | |
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration9_es2017.ts: { index: 99, | |
lineNumber: 4, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncAliasReturnType_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/arrowFunctionWithParameterNameAsync_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction10_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction1_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction2_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction3_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction4_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction5_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction5_es5.ts: { index: 92, | |
lineNumber: 5, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction6_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction6_es5.ts: { index: 95, | |
lineNumber: 5, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction7_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction7_es5.ts: { index: 201, | |
lineNumber: 7, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction8_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction8_es5.ts: { index: 126, | |
lineNumber: 6, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction9_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction9_es5.ts: { index: 104, | |
lineNumber: 4, | |
column: 36, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunctionCapturesThis_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncUnParenthesizedArrowFunction_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncAwaitIsolatedModules_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncAwait_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncClass_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncConstructor_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncDeclare_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncEnum_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncGetter_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncImportedPromise_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncInterface_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncMethodWithSuper_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncModule_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncMultiFile_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncQualifiedReturnType_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncSetter_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/asyncUseStrict_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitBinaryExpression/awaitBinaryExpression1_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitBinaryExpression/awaitBinaryExpression2_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitBinaryExpression/awaitBinaryExpression3_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitBinaryExpression/awaitBinaryExpression4_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitBinaryExpression/awaitBinaryExpression5_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression1_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression2_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression3_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression4_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression5_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression6_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression7_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitCallExpression/awaitCallExpression8_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitClassExpression_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/awaitUnion_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration10_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration10_es5.ts: { index: 97, | |
lineNumber: 4, | |
column: 29, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration11_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration12_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration12_es5.ts: { index: 91, | |
lineNumber: 4, | |
column: 23, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration13_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration14_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration15_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration1_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration2_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration3_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration4_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration5_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration5_es5.ts: { index: 87, | |
lineNumber: 4, | |
column: 19, | |
message: 'Parameter declaration expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration6_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration6_es5.ts: { index: 96, | |
lineNumber: 4, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration7_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration7_es5.ts: { index: 200, | |
lineNumber: 6, | |
column: 30, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration8_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration9_es5.ts | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration9_es5.ts: { index: 124, | |
lineNumber: 5, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclarationCapturesArguments_es5.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncAliasReturnType_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/arrowFunctionWithParameterNameAsync_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction10_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction1_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction2_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction3_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction4_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction5_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction5_es6.ts: { index: 64, | |
lineNumber: 4, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction6_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction6_es6.ts: { index: 67, | |
lineNumber: 4, | |
column: 26, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts: { index: 173, | |
lineNumber: 6, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts: { index: 98, | |
lineNumber: 5, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction9_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction9_es6.ts: { index: 76, | |
lineNumber: 3, | |
column: 36, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesThis_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncUnParenthesizedArrowFunction_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncAwaitIsolatedModules_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncAwait_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncClass_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncConstructor_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncDeclare_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncEnum_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncGetter_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncImportedPromise_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncInterface_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncMethodWithSuper_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncModule_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncMultiFile_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncQualifiedReturnType_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncSetter_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/asyncUseStrict_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression1_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression2_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression3_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression4_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression5_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression1_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression2_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression3_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression4_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression5_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression6_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression7_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression8_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitClassExpression_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/awaitUnion_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/await_unaryExpression_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/await_unaryExpression_es6_1.ts | |
../TypeScript/tests/cases/conformance/async/es6/await_unaryExpression_es6_2.ts | |
../TypeScript/tests/cases/conformance/async/es6/await_unaryExpression_es6_3.ts | |
../TypeScript/tests/cases/conformance/async/es6/await_unaryExpression_es6_3.ts: { index: 51, | |
lineNumber: 4, | |
column: 6, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration10_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration10_es6.ts: { index: 69, | |
lineNumber: 3, | |
column: 29, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration11_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration12_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration12_es6.ts: { index: 63, | |
lineNumber: 3, | |
column: 23, | |
message: '\'(\' expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration13_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration14_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration15_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration1_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration2_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration3_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration4_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration5_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration5_es6.ts: { index: 59, | |
lineNumber: 3, | |
column: 19, | |
message: 'Parameter declaration expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration6_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration6_es6.ts: { index: 68, | |
lineNumber: 3, | |
column: 28, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts: { index: 172, | |
lineNumber: 5, | |
column: 30, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration8_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration9_es6.ts | |
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration9_es6.ts: { index: 96, | |
lineNumber: 4, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAccessor.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAccessor.ts: Error: Comment "error" was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAsIdentifier.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAssignabilityConstructorFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractConstructor.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractConstructorAssignability.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractCrashedOnce.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractCrashedOnce.ts: { index: 117, | |
lineNumber: 8, | |
column: 4, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractDeclarations.d.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractExtends.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractFactoryFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractGeneric.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractImportInstantiation.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInAModule.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInheritance.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations1.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts: Error: Comment "error -- declarations must be adjacent" was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractManyKeywords.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractManyKeywords.ts: { index: 64, | |
lineNumber: 3, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMergedDeclaration.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodInNonAbstractClass.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodWithImplementation.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMixedWithModifiers.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractOverloads.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractOverrideWithAbstract.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractProperties.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractSingleLineDecl.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractSuperCalls.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractSuperCalls.ts: Error: Comment "inherits bar. But BB is abstract, so this is OK." was not printed. Please report this error! | |
at astComments.forEach.comment (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:69:13) | |
at Array.forEach (native) | |
at ensureAllCommentsPrinted (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:67:15) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:85:3) | |
at formatWithShebang (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:91:12) | |
at Object.module.exports.format (/mnt/c/Users/Lucas Azzola/Code/prettier/index.js:105:12) | |
at format (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:214:25) | |
at err (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:328:16) | |
at patterns.forEach.pattern (/mnt/c/Users/Lucas Azzola/Code/prettier/bin/prettier.js:372:7) | |
at Array.forEach (native) | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractUsingAbstractMethod1.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractUsingAbstractMethods2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractWithInterface.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAndInterfaceMerge.d.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAndInterfaceMergeConflictingMembers.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAndInterfaceWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classAndVariableWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classBody/classBodyWithStatements.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classBody/classBodyWithStatements.ts: { index: 15, | |
lineNumber: 2, | |
column: 4, | |
message: 'Unexpected token. A constructor, method, accessor, or property was expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classBody/classWithEmptyBody.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classExtendingBuiltinType.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classExtendingClassLikeType.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classExtendingNull.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classAppearsToHaveMembersOfObject.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingClass.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts: { index: 172, | |
lineNumber: 7, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts: { index: 57, | |
lineNumber: 3, | |
column: 18, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts: { index: 100, | |
lineNumber: 6, | |
column: 30, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts: { index: 30, | |
lineNumber: 1, | |
column: 30, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItself.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly3.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsShadowedConstructorFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsValidConstructorFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/constructorFunctionTypeIsAssignableToBaseType.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/constructorFunctionTypeIsAssignableToBaseType2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/derivedTypeDoesNotRequireExtendsClause.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classImplementsMergedClassInterface.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classInsideBlock.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts: { index: 57, | |
lineNumber: 3, | |
column: 6, | |
message: '\'{\' expected.' } | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classWithSemicolonClassElement1.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classWithSemicolonClassElement2.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/declaredClassMergedwithSelf.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/mergeClassInterfaceAndModule.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/mergedClassInterface.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/mergedInheritedClassInterface.ts | |
../TypeScript/tests/cases/conformance/classes/classDeclarations/modifierOnClassDeclarationMemberInFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classExpression.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/classExpression1.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/classExpression2.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/classExpression3.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/classExpression4.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/classExpression5.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/extendClassExpressionFromModule.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts | |
../TypeScript/tests/cases/conformance/classes/classExpressions/modifierOnClassExpressionMemberInFunction.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/automaticConstructors/classWithoutExplicitConstructor.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor2.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor3.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility2.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility4.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility5.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorOverloadsAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorParametersAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorParametersAccessibility2.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classConstructorParametersAccessibility3.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/classWithTwoConstructorDefinitions.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorDefaultValuesReferencingThis.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorImplementationWithDefaultValues.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorImplementationWithDefaultValues2.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorOverloadsWithDefaultValues.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorOverloadsWithOptionalParameters.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties2.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/declarationEmitReadonly.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/readonlyConstructorAssignment.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/readonlyInAmbientClass.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/readonlyInConstructorParameters.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorParameters/readonlyReadonly.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorWithAssignableReturnExpression.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorWithAssignableReturnExpression.ts: { index: 510, | |
lineNumber: 33, | |
column: 21, | |
message: 'JSX element \'T\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/constructorWithExpressionLessReturn.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/derivedClassConstructorWithoutSuperCall.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/derivedClassParameterProperties.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/derivedClassSuperCallsInNonConstructorMembers.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/derivedClassSuperCallsInNonConstructorMembers.ts: { index: 125, | |
lineNumber: 8, | |
column: 7, | |
message: 'Type expected.' } | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/derivedClassSuperCallsWithThisArg.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/superCallInConstructorWithNoBaseType.ts | |
../TypeScript/tests/cases/conformance/classes/constructorDeclarations/superCalls/superPropertyInConstructorBeforeSuperCall.ts | |
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,9 +13,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPrivateKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -54,9 +49,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPrivateKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -105,9 +95,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPrivateKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,12 +2,12 @@ | |
class C { | |
- private [x: string]: string; | |
+ [x: string]: string | |
} | |
class D { | |
- private [x: number]: string; | |
+ [x: number]: string | |
} | |
class E<T> { | |
\ No newline at end of file | |
- private [x: string]: T; | |
-} | |
+ [x: string]: T | |
+} | |
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer2.ts | |
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer2.ts: { index: 60, | |
lineNumber: 4, | |
column: 14, | |
message: '\']\' expected.' } | |
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/publicIndexer.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,9 +13,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPublicKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -54,9 +49,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPublicKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -105,9 +95,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSPublicKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,12 +2,12 @@ | |
class C { | |
- public [x: string]: string; | |
+ [x: string]: string | |
} | |
class D { | |
- public [x: number]: string; | |
+ [x: number]: string | |
} | |
class E<T> { | |
\ No newline at end of file | |
- public [x: string]: T; | |
-} | |
+ [x: string]: T | |
+} | |
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/staticIndexers.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -13,9 +13,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSStaticKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -54,9 +49,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSStaticKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
@@ -105,9 +95,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSStaticKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,12 +2,12 @@ | |
class C { | |
- static [x: string]: string; | |
+ [x: string]: string | |
} | |
class D { | |
- static [x: number]: string; | |
+ [x: number]: string | |
} | |
class E<T> { | |
\ No newline at end of file | |
- static [x: string]: T; | |
-} | |
+ [x: string]: T | |
+} | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinNestedClass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts: { index: 172, | |
lineNumber: 10, | |
column: 14, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestructuring.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateStaticMemberAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule2.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinClass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedClass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedSubclass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedSubclass1.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclass2.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclass3.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinSubclass.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinSubclass2.ts | |
../TypeScript/tests/cases/conformance/classes/members/accessibility/protectedStaticNotAccessibleInClodule.ts | |
../TypeScript/tests/cases/conformance/classes/members/classTypes/indexersInClassType.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -86,6 +86,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "a" | |
+ "type": "Identifier", | |
+ "name": "a" | |
}, | |
"value": null, | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,11 +1,11 @@ | |
class C { | |
- [x: number]: Date; | |
- [x: string]: Object; | |
- 1: Date; | |
- 'a': {} | |
+ [x: number]: Date | |
+ [x: string]: Object | |
+ 1: Date; | |
+ a: {}; | |
- fn() { | |
- return this; | |
- } | |
+ fn() { | |
+ return this; | |
+ } | |
} | |
@@ -13,4 +13,3 @@ | |
var r = c.fn(); | |
var r2 = r[1]; | |
-var r3 = r.a | |
- | |
+var r3 = r.a; | |
../TypeScript/tests/cases/conformance/classes/members/classTypes/instancePropertiesInheritedIntoClassType.ts | |
../TypeScript/tests/cases/conformance/classes/members/classTypes/instancePropertyInClassType.ts | |
../TypeScript/tests/cases/conformance/classes/members/classTypes/staticPropertyNotInClassType.ts | |
../TypeScript/tests/cases/conformance/classes/members/constructorFunctionTypes/classWithBaseClassButNoConstructor.ts | |
../TypeScript/tests/cases/conformance/classes/members/constructorFunctionTypes/classWithConstructors.ts | |
../TypeScript/tests/cases/conformance/classes/members/constructorFunctionTypes/classWithNoConstructorOrBaseClass.ts | |
../TypeScript/tests/cases/conformance/classes/members/constructorFunctionTypes/classWithStaticMembers.ts | |
../TypeScript/tests/cases/conformance/classes/members/constructorFunctionTypes/constructorHasPrototypeProperty.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassFunctionOverridesBaseClassAccessor.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassIncludesInheritedMembers.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesIndexersWithAssignmentCompatibility.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesPrivates.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers2.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers3.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers4.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesPublicMembers.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesWithoutSubtype.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity2.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity3.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity4.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassWithAny.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateInstanceShadowingProtectedInstance.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateInstanceShadowingPublicInstance.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateStaticShadowingProtectedStatic.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateStaticShadowingPublicStatic.ts | |
../TypeScript/tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedGenericClassWithAny.ts | |
../TypeScript/tests/cases/conformance/classes/members/instanceAndStaticMembers/typeOfThisInInstanceMember.ts | |
../TypeScript/tests/cases/conformance/classes/members/instanceAndStaticMembers/typeOfThisInInstanceMember2.ts | |
../TypeScript/tests/cases/conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers.ts | |
../TypeScript/tests/cases/conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers2.ts | |
../TypeScript/tests/cases/conformance/classes/mixinAccessModifiers.ts | |
../TypeScript/tests/cases/conformance/classes/mixinClassesAnnotated.ts | |
../TypeScript/tests/cases/conformance/classes/mixinClassesAnonymous.ts | |
../TypeScript/tests/cases/conformance/classes/mixinClassesMembers.ts | |
../TypeScript/tests/cases/conformance/classes/nestedClassDeclaration.ts | |
../TypeScript/tests/cases/conformance/classes/nestedClassDeclaration.ts: { index: 68, | |
lineNumber: 5, | |
column: 4, | |
message: 'Unexpected token. A constructor, method, accessor, or property was expected.' } | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/accessibilityModifiers.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/constructorParameterShadowsOuterScopes.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorLocals.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorLocals.ts: { index: 302, | |
lineNumber: 7, | |
column: 14, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorParameters.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorParameters.ts: { index: 434, | |
lineNumber: 17, | |
column: 14, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/instanceMemberInitialization.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorsAreNotContextuallyTyped.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES5.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithMismatchedAccessibilityModifiers.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/typeOfThisInAccessor.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/instanceMemberAssignsToClassPrototype.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionOverloadMixingStaticAndInstance.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionsWithPrivateOverloads.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionsWithPublicOverloads.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionsWithPublicPrivateOverloads.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/staticFactory1.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/staticMemberAssignsToConstructorFunctionMembers.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/typeOfThisInMemberFunctions.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/propertyAndAccessorWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/propertyAndFunctionWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/staticAndNonStaticPropertiesSameName.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/staticMemberInitialization.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyAndFunctionWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1441,5 +1441,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1519,5 +1521,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1585,5 +1589,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1663,5 +1669,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1729,5 +1737,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1807,5 +1817,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1873,5 +1885,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
@@ -1951,5 +1965,7 @@ | |
"implements": [], | |
"decorators": [] | |
- } | |
+ }, | |
+ "specifiers": [], | |
+ "source": null | |
} | |
] | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -2,191 +2,196 @@ | |
// name | |
class StaticName { | |
- static name: number; // error | |
- name: string; // ok | |
+ static name: number; // error | |
+ name: string; // ok | |
} | |
class StaticNameFn { | |
- static name() {} // error | |
- name() {} // ok | |
+ static name() {} // error | |
+ name() {} // ok | |
} | |
// length | |
class StaticLength { | |
- static length: number; // error | |
- length: string; // ok | |
+ static length: number; // error | |
+ length: string; // ok | |
} | |
class StaticLengthFn { | |
- static length() {} // error | |
- length() {} // ok | |
+ static length() {} // error | |
+ length() {} // ok | |
} | |
// prototype | |
class StaticPrototype { | |
- static prototype: number; // error | |
- prototype: string; // ok | |
+ static prototype: number; // error | |
+ prototype: string; // ok | |
} | |
class StaticPrototypeFn { | |
- static prototype() {} // error | |
- prototype() {} // ok | |
+ static prototype() {} // error | |
+ prototype() {} // ok | |
} | |
// caller | |
class StaticCaller { | |
- static caller: number; // error | |
- caller: string; // ok | |
+ static caller: number; // error | |
+ caller: string; // ok | |
} | |
class StaticCallerFn { | |
- static caller() {} // error | |
- caller() {} // ok | |
+ static caller() {} // error | |
+ caller() {} // ok | |
} | |
// arguments | |
class StaticArguments { | |
- static arguments: number; // error | |
- arguments: string; // ok | |
+ static arguments: number; // error | |
+ arguments: string; // ok | |
} | |
class StaticArgumentsFn { | |
- static arguments() {} // error | |
- arguments() {} // ok | |
+ static arguments() {} // error | |
+ arguments() {} // ok | |
} | |
- | |
- | |
// === Static properties on anonymous classes === | |
// name | |
var StaticName_Anonymous = class { | |
- static name: number; // error | |
- name: string; // ok | |
-} | |
+ static name: number; // error | |
+ name: string; // ok | |
+}; | |
var StaticNameFn_Anonymous = class { | |
- static name() {} // error | |
- name() {} // ok | |
-} | |
+ static name() {} // error | |
+ name() {} // ok | |
+}; | |
// length | |
var StaticLength_Anonymous = class { | |
- static length: number; // error | |
- length: string; // ok | |
-} | |
+ static length: number; // error | |
+ length: string; // ok | |
+}; | |
var StaticLengthFn_Anonymous = class { | |
- static length() {} // error | |
- length() {} // ok | |
-} | |
+ static length() {} // error | |
+ length() {} // ok | |
+}; | |
// prototype | |
var StaticPrototype_Anonymous = class { | |
- static prototype: number; // error | |
- prototype: string; // ok | |
-} | |
+ static prototype: number; // error | |
+ prototype: string; // ok | |
+}; | |
var StaticPrototypeFn_Anonymous = class { | |
- static prototype() {} // error | |
- prototype() {} // ok | |
-} | |
+ static prototype() {} // error | |
+ prototype() {} // ok | |
+}; | |
// caller | |
var StaticCaller_Anonymous = class { | |
- static caller: number; // error | |
- caller: string; // ok | |
-} | |
+ static caller: number; // error | |
+ caller: string; // ok | |
+}; | |
var StaticCallerFn_Anonymous = class { | |
- static caller() {} // error | |
- caller() {} // ok | |
-} | |
+ static caller() {} // error | |
+ caller() {} // ok | |
+}; | |
// arguments | |
var StaticArguments_Anonymous = class { | |
- static arguments: number; // error | |
- arguments: string; // ok | |
-} | |
+ static arguments: number; // error | |
+ arguments: string; // ok | |
+}; | |
var StaticArgumentsFn_Anonymous = class { | |
- static arguments() {} // error | |
- arguments() {} // ok | |
-} | |
+ static arguments() {} // error | |
+ arguments() {} // ok | |
+}; | |
- | |
// === Static properties on default exported classes === | |
// name | |
-module TestOnDefaultExportedClass_1 { | |
- class StaticName { | |
- static name: number; // error | |
- name: string; // ok | |
- } | |
+namespace TestOnDefaultExportedClass_1 { // error // ok | |
+ class StaticName { | |
+ static name: number; | |
+ name: string; | |
+ } | |
} | |
-module TestOnDefaultExportedClass_2 { | |
- class StaticNameFn { | |
- static name() {} // error | |
- name() {} // ok | |
- } | |
+namespace TestOnDefaultExportedClass_2 { // error // ok | |
+ class StaticNameFn { | |
+ static name() {} | |
+ name() {} | |
+ } | |
} | |
\ No newline at end of file | |
// length | |
-module TestOnDefaultExportedClass_3 { | |
- export default class StaticLength { | |
- static length: number; // error | |
- length: string; // ok | |
- } | |
+namespace TestOnDefaultExportedClass_3 { // error // ok | |
+ | |
+ export class StaticLength { | |
+ static length: number; | |
+ length: string; | |
+ } | |
} | |
-module TestOnDefaultExportedClass_4 { | |
- export default class StaticLengthFn { | |
- static length() {} // error | |
- length() {} // ok | |
- } | |
+namespace TestOnDefaultExportedClass_4 { // error // ok | |
+ | |
+ export class StaticLengthFn { | |
+ static length() {} | |
+ length() {} | |
+ } | |
} | |
// prototype | |
-module TestOnDefaultExportedClass_5 { | |
- export default class StaticPrototype { | |
- static prototype: number; // error | |
- prototype: string; // ok | |
- } | |
+namespace TestOnDefaultExportedClass_5 { // error // ok | |
+ | |
+ export class StaticPrototype { | |
+ static prototype: number; | |
+ prototype: string; | |
+ } | |
} | |
-module TestOnDefaultExportedClass_6 { | |
- export default class StaticPrototypeFn { | |
- static prototype() {} // error | |
- prototype() {} // ok | |
- } | |
+namespace TestOnDefaultExportedClass_6 { // error // ok | |
+ | |
+ export class StaticPrototypeFn { | |
+ static prototype() {} | |
+ prototype() {} | |
+ } | |
} | |
// caller | |
-module TestOnDefaultExportedClass_7 { | |
- export default class StaticCaller { | |
- static caller: number; // error | |
- caller: string; // ok | |
- } | |
+namespace TestOnDefaultExportedClass_7 { // error // ok | |
+ | |
+ export class StaticCaller { | |
+ static caller: number; | |
+ caller: string; | |
+ } | |
} | |
-module TestOnDefaultExportedClass_8 { | |
- export default class StaticCallerFn { | |
- static caller() {} // error | |
- caller() {} // ok | |
- } | |
+namespace TestOnDefaultExportedClass_8 { // error // ok | |
+ | |
+ export class StaticCallerFn { | |
+ static caller() {} | |
+ caller() {} | |
+ } | |
} | |
// arguments | |
-module TestOnDefaultExportedClass_9 { | |
- export default class StaticArguments { | |
- static arguments: number; // error | |
- arguments: string; // ok | |
- } | |
+namespace TestOnDefaultExportedClass_9 { // error // ok | |
+ | |
+ export class StaticArguments { | |
+ static arguments: number; | |
+ arguments: string; | |
+ } | |
} | |
-module TestOnDefaultExportedClass_10 { | |
- export default class StaticArgumentsFn { | |
- static arguments() {} // error | |
- arguments() {} // ok | |
- } | |
-} | |
+namespace TestOnDefaultExportedClass_10 { // error // ok | |
+ | |
+ export class StaticArgumentsFn { | |
+ static arguments() {} | |
+ arguments() {} | |
+ } | |
+} | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyNameConflictsInAmbientContext.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/thisInInstanceMemberInitializer.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName.ts | |
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName2.ts | |
../TypeScript/tests/cases/conformance/constEnums/constEnum1.ts | |
../TypeScript/tests/cases/conformance/constEnums/constEnum2.ts | |
../TypeScript/tests/cases/conformance/constEnums/constEnum2.ts: { index: 519, | |
lineNumber: 14, | |
column: 4, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/constEnums/constEnumPropertyAccess1.ts | |
../TypeScript/tests/cases/conformance/constEnums/constEnumPropertyAccess2.ts | |
../TypeScript/tests/cases/conformance/controlFlow/constLocalsInFunctionExpressions.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowAssignmentExpression.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowBinaryAndExpression.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowBinaryOrExpression.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowBinaryOrExpression.ts: { index: 566, | |
lineNumber: 26, | |
column: 20, | |
message: '\'}\' expected.' } | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowCommaOperator.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowConditionalExpression.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowDeleteOperator.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowDestructuringDeclaration.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowDoWhileStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowForInStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowForOfStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowForStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowIfStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowIIFE.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowIteration.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowIterationErrors.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowSuperPropertyAccess.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowTruthiness.ts | |
../TypeScript/tests/cases/conformance/controlFlow/controlFlowWhileStatement.ts | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsAsAssertions.ts | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsAsAssertions.ts: { index: 2541, | |
lineNumber: 116, | |
column: 19, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsNestedAssignments.ts | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsNestedAssignments.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsTypeParameters.ts | |
../TypeScript/tests/cases/conformance/controlFlow/typeGuardsTypeParameters.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at printBinaryishExpressions (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:3658:19) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:206:21) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
../TypeScript/tests/cases/conformance/declarationEmit/classDoesNotDependOnPrivateMember.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,4 +3,5 @@ | |
interface I {} | |
+ | |
export class C { | |
private x: I; | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitIdentifierPredicates01.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitIdentifierPredicatesWithPrivateName01.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicates01.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicates01.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2121:14) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1686:21) | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicates02.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicates02.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2121:14) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1686:21) | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicatesWithPrivateName01.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicatesWithPrivateName01.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2121:14) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1686:21) | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicatesWithPrivateName02.ts | |
../TypeScript/tests/cases/conformance/declarationEmit/typePredicates/declarationEmitThisPredicatesWithPrivateName02.ts: Error: Value undefined is not a valid document | |
at assertDoc (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:7:11) | |
at Array.forEach (native) | |
at concat (/mnt/c/Users/Lucas Azzola/Code/prettier/src/doc-builders.js:14:9) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2121:14) | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:68:28) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1686:21) | |
../TypeScript/tests/cases/conformance/decorators/1.0lib-noErrors.ts | |
../TypeScript/tests/cases/conformance/decorators/1.0lib-noErrors.ts: { index: 41568, | |
lineNumber: 1223, | |
column: 11, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor2.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor3.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor3.ts: { index: 197, | |
lineNumber: 6, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor4.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor4.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor5.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor5.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor6.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor6.ts: { index: 197, | |
lineNumber: 6, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor7.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor7.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor8.ts | |
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor8.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/constructableDecoratorOnClass01.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructableDecoratorOnClass01.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor2.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor3.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor3.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor4.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/decoratorOnClassConstructor4.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts | |
../TypeScript/tests/cases/conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts: { index: 182, | |
lineNumber: 6, | |
column: 23, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/decoratedClassExportsCommonJS1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,5 +7,5 @@ | |
declare function forwardRef(x: any): any | |
declare var Something: any; | |
-Something({ v: () => Testing123 }) | |
+Something({ v: () => Testing123 }); | |
export class Testing123 { | |
static prop0: string; | |
../TypeScript/tests/cases/conformance/decorators/class/decoratedClassExportsCommonJS2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,4 +7,4 @@ | |
declare function forwardRef(x: any): any | |
declare var Something: any; | |
-Something({ v: () => Testing123 }) | |
+Something({ v: () => Testing123 }); | |
export class Testing123 {} | |
../TypeScript/tests/cases/conformance/decorators/class/decoratedClassExportsSystem1.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,5 +7,5 @@ | |
declare function forwardRef(x: any): any | |
declare var Something: any; | |
-Something({ v: () => Testing123 }) | |
+Something({ v: () => Testing123 }); | |
export class Testing123 { | |
static prop0: string; | |
../TypeScript/tests/cases/conformance/decorators/class/decoratedClassExportsSystem2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -7,4 +7,4 @@ | |
declare function forwardRef(x: any): any | |
declare var Something: any; | |
-Something({ v: () => Testing123 }) | |
+Something({ v: () => Testing123 }); | |
export class Testing123 {} | |
../TypeScript/tests/cases/conformance/decorators/class/decoratedClassFromExternalModule.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,5 +4,5 @@ | |
function decorate(target: any) {} | |
-decorate | |
+decorate; | |
export default class Decorated {} | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorChecksFunctionBodies.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorChecksFunctionBodies.ts: { index: 117, | |
lineNumber: 8, | |
column: 2, | |
message: 'Unexpected token. A constructor, method, accessor, or property was expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorInstantiateModulesInFunctionBodies.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorInstantiateModulesInFunctionBodies.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass2.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -4,4 +4,4 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export class C {} | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass3.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass3.ts: { index: 109, | |
lineNumber: 6, | |
column: 0, | |
message: 'Declaration or statement expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass4.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass4.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass5.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass5.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass8.ts | |
../TypeScript/tests/cases/conformance/decorators/class/decoratorOnClass8.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod10.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod10.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod11.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod11.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod12.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod12.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod13.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod13.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod2.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod3.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod3.ts: { index: 198, | |
lineNumber: 6, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod4.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod4.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod5.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod5.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod7.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod7.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethodOverload1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethodOverload1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethodOverload2.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethodOverload2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty1.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty1.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty10.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty10.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty11.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty2.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty2.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty3.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty3.ts: { index: 133, | |
lineNumber: 6, | |
column: 11, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty6.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty7.ts | |
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty7.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/decoratorCallGeneric.ts | |
../TypeScript/tests/cases/conformance/decorators/decoratorCallGeneric.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/decorators/decoratorMetadata.ts | |
../TypeScript/tests/cases/conformance/decorators/decoratorMetadata.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts: { index: 48, | |
lineNumber: 3, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum2.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum2.ts: { index: 53, | |
lineNumber: 4, | |
column: 4, | |
message: 'Enum member expected.' } | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionDeclaration.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionExpression.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionExpression.ts: { index: 48, | |
lineNumber: 3, | |
column: 8, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnImportEquals1.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnImportEquals2.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnInterface.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnInternalModule.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnTypeAlias.ts | |
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnVar.ts | |
../TypeScript/tests/cases/conformance/decorators/missingDecoratorType.ts | |
../TypeScript/tests/cases/conformance/decorators/missingDecoratorType.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/emitter/es2015/asyncGenerators/emitter.asyncGenerators.classMethods.es2015.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
class C4 { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
} | |
@@ -26,7 +26,9 @@ | |
class C5 { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
} | |
../TypeScript/tests/cases/conformance/emitter/es2015/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es2015.ts | |
../TypeScript/tests/cases/conformance/emitter/es2015/asyncGenerators/emitter.asyncGenerators.functionExpressions.es2015.ts | |
../TypeScript/tests/cases/conformance/emitter/es2015/asyncGenerators/emitter.asyncGenerators.objectLiteralMethods.es2015.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
const o4 = { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
}; | |
@@ -26,7 +26,9 @@ | |
const o5 = { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
}; | |
../TypeScript/tests/cases/conformance/emitter/es2015/forAwait/emitter.forAwait.es2015.ts | |
../TypeScript/tests/cases/conformance/emitter/es5/asyncGenerators/emitter.asyncGenerators.classMethods.es5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
class C4 { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
} | |
@@ -26,7 +26,9 @@ | |
class C5 { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
} | |
../TypeScript/tests/cases/conformance/emitter/es5/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es5.ts | |
../TypeScript/tests/cases/conformance/emitter/es5/asyncGenerators/emitter.asyncGenerators.functionExpressions.es5.ts | |
../TypeScript/tests/cases/conformance/emitter/es5/asyncGenerators/emitter.asyncGenerators.objectLiteralMethods.es5.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
const o4 = { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
}; | |
@@ -26,7 +26,9 @@ | |
const o5 = { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
}; | |
../TypeScript/tests/cases/conformance/emitter/es5/forAwait/emitter.forAwait.es5.ts | |
../TypeScript/tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.classMethods.esnext.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
class C4 { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
} | |
@@ -26,7 +26,9 @@ | |
class C5 { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
} | |
../TypeScript/tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.functionDeclarations.esnext.ts | |
../TypeScript/tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.functionExpressions.esnext.ts | |
../TypeScript/tests/cases/conformance/emitter/esnext/asyncGenerators/emitter.asyncGenerators.objectLiteralMethods.esnext.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -20,5 +20,5 @@ | |
const o4 = { | |
async f() { | |
- const x = yield* [1]; | |
+ const x = yield * [1]; | |
} | |
}; | |
@@ -26,7 +26,9 @@ | |
const o5 = { | |
async f() { | |
- const x = yield* (async function*() { | |
- yield 1; | |
- })(); | |
+ const x = | |
+ yield * | |
+ (async function*() { | |
+ yield 1; | |
+ })(); | |
} | |
}; | |
../TypeScript/tests/cases/conformance/emitter/esnext/forAwait/emitter.forAwait.esnext.ts | |
../TypeScript/tests/cases/conformance/enums/enumBasics.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -95,9 +95,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -117,9 +112,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -139,9 +129,4 @@ | |
{ | |
"type": "TSPropertySignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"name": { | |
"type": "Identifier", | |
@@ -161,9 +146,4 @@ | |
{ | |
"type": "TSIndexSignature", | |
- "modifiers": [ | |
- { | |
- "type": "TSReadonlyKeyword" | |
- } | |
- ], | |
"parameters": [ | |
{ | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,8 +1,4 @@ | |
// Enum without initializers have first member = 0 and successive members = N + 1 | |
-enum E1 { | |
- A, | |
- B, | |
- C | |
-} | |
+enum E1 { A, B, C } | |
// Enum type is a subtype of Number | |
@@ -12,68 +8,41 @@ | |
var e = E1; | |
var e: { | |
- readonly A: E1; | |
- readonly B: E1; | |
- readonly C: E1; | |
- readonly [n: number]: string; | |
+ A: E1, | |
+ B: E1, | |
+ C: E1, | |
+ [n: number]: string | |
}; | |
var e: typeof E1; | |
-// Reverse mapping of enum returns string name of property | |
+// Reverse mapping of enum returns string name of property | |
var s = E1[e.A]; | |
var s: string; | |
- | |
// Enum with only constant members | |
-enum E2 { | |
- A = 1, B = 2, C = 3 | |
-} | |
+enum E2 { A = 1, B = 2, C = 3 } | |
// Enum with only computed members | |
-enum E3 { | |
- X = 'foo'.length, Y = 4 + 3, Z = +'foo' | |
-} | |
+enum E3 { X = "foo".length, Y = 4 + 3, Z = +"foo" } | |
// Enum with constant members followed by computed members | |
-enum E4 { | |
- X = 0, Y, Z = 'foo'.length | |
-} | |
+enum E4 { X = 0, Y, Z = "foo".length } | |
// Enum with > 2 constant members with no initializer for first member, non zero initializer for second element | |
-enum E5 { | |
- A, | |
- B = 3, | |
- C // 4 | |
-} | |
+enum E5 { A, B = 3, C } // 4 | |
-enum E6 { | |
- A, | |
- B = 0, | |
- C // 1 | |
-} | |
+enum E6 { A, B = 0, C } // 1 | |
// Enum with computed member initializer of type 'any' | |
-enum E7 { | |
- A = 'foo'['foo'] | |
-} | |
+enum E7 { A = "foo"["foo"] } | |
// Enum with computed member initializer of type number | |
-enum E8 { | |
- B = 'foo'['foo'] | |
-} | |
+enum E8 { B = "foo"["foo"] } | |
//Enum with computed member intializer of same enum type | |
-enum E9 { | |
- A, | |
- B = A | |
-} | |
+enum E9 { A, B = A } | |
// (refer to .js to validate) | |
// Enum constant members are propagated | |
-var doNotPropagate = [ | |
- E8.B, E7.A, E4.Z, E3.X, E3.Y, E3.Z | |
-]; | |
+var doNotPropagate = [E8.B, E7.A, E4.Z, E3.X, E3.Y, E3.Z]; | |
// Enum computed members are not propagated | |
-var doPropagate = [ | |
- E9.A, E9.B, E6.B, E6.C, E6.A, E5.A, E5.B, E5.C | |
-]; | |
- | |
+var doPropagate = [E9.A, E9.B, E6.B, E6.C, E6.A, E5.A, E5.B, E5.C]; | |
../TypeScript/tests/cases/conformance/enums/enumConstantMembers.ts | |
../TypeScript/tests/cases/conformance/enums/enumErrors.ts | |
../TypeScript/tests/cases/conformance/enums/enumExportMergingES6.ts | |
../TypeScript/tests/cases/conformance/enums/enumMerging.ts | |
../TypeScript/tests/cases/conformance/enums/enumMergingErrors.ts | |
../TypeScript/tests/cases/conformance/es2017/useObjectValuesAndEntries1.ts | |
../TypeScript/tests/cases/conformance/es2017/useObjectValuesAndEntries2.ts | |
../TypeScript/tests/cases/conformance/es2017/useObjectValuesAndEntries3.ts | |
../TypeScript/tests/cases/conformance/es2017/useObjectValuesAndEntries4.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer1.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer2.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer3.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer4.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer5.ts | |
../TypeScript/tests/cases/conformance/es2017/useSharedArrayBuffer6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunction.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionAsIs.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionAsIsES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIs.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIsES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturing.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturingES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments01.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments01_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments02.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments02_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments04.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments04_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments05.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments05_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments06.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments06_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments08.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments08_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments09.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments09_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments10.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments10_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments11.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments11_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments13.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments13_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments16.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments16_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments19.ts | |
../TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments19_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteral.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteralError.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteralError.ts: { index: 27, | |
lineNumber: 2, | |
column: 16, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteralES6.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts: { index: 26, | |
lineNumber: 2, | |
column: 15, | |
message: 'Binary digit expected.' } | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteral.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralError.ts | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralError.ts: { index: 29, | |
lineNumber: 2, | |
column: 18, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/classWithSemicolonClassElementES61.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/classWithSemicolonClassElementES62.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationOverloadInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithConstructorInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithExtensionInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithGetterSetterInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithLiteralPropertyNameInES6.ts | |
ast(input) !== ast(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -14,6 +14,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "hello" | |
+ "type": "Identifier", | |
+ "name": "hello" | |
}, | |
"value": { | |
@@ -78,6 +78,6 @@ | |
"type": "MethodDefinition", | |
"key": { | |
- "type": "Literal", | |
- "value": "foo" | |
+ "type": "Identifier", | |
+ "name": "foo" | |
}, | |
"value": { | |
@@ -174,6 +174,6 @@ | |
"type": "ClassProperty", | |
"key": { | |
- "type": "Literal", | |
- "value": "hi" | |
+ "type": "Identifier", | |
+ "name": "hi" | |
}, | |
"value": { | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -1,15 +1,15 @@ | |
-// @target: es6 | |
+// @target: es6 | |
class B { | |
- "hello" = 10; | |
- 0b110 = "world"; | |
- 0o23534 = "WORLD"; | |
- 20 = "twenty"; | |
- "foo"() { } | |
- 0b1110() {} | |
- 11() { } | |
- interface() { } | |
- static "hi" = 10000; | |
- static 22 = "twenty-two"; | |
- static 0b101 = "binary"; | |
- static 0o3235 = "octal"; | |
\ No newline at end of file | |
-} | |
+ hello = 10; | |
+ 0b110 = "world"; | |
+ 0o23534 = "WORLD"; | |
+ 20 = "twenty"; | |
+ foo() {} | |
+ 0b1110() {} | |
+ 11() {} | |
+ interface() {} | |
+ static hi = 10000; | |
+ static 22 = "twenty-two"; | |
+ static 0b101 = "binary"; | |
+ static 0o3235 = "octal"; | |
+} | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithMethodInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithPropertyAccessInHeritageClause1.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithPropertyAssignmentInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithStaticPropertyAssignmentInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithSuperMethodCall01.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithThisKeywordInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithTypeArgumentAndOverloadInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithTypeArgumentInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/exportDefaultClassWithStaticPropertyAssignmentsInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/parseClassDeclarationInStrictModeByDefaultInES6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing1.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing2.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing3.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing4.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing5.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing6.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing7.ts | |
../TypeScript/tests/cases/conformance/es6/classDeclaration/superCallBeforeThisAccessing8.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES61.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES62.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES63.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression1.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression2.ts | |
../TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression3.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES5.ts: { index: 217, | |
lineNumber: 14, | |
column: 6, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES6.ts: { index: 217, | |
lineNumber: 14, | |
column: 6, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES5.ts: { index: 311, | |
lineNumber: 14, | |
column: 24, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES6.ts: { index: 311, | |
lineNumber: 14, | |
column: 24, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES5.ts: { index: 248, | |
lineNumber: 14, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES6.ts: { index: 248, | |
lineNumber: 14, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES5.ts: { index: 229, | |
lineNumber: 14, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES6.ts: { index: 229, | |
lineNumber: 14, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames14_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames14_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames15_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames15_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES5.ts: { index: 323, | |
lineNumber: 14, | |
column: 31, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES6.ts: { index: 323, | |
lineNumber: 14, | |
column: 31, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames17_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames17_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames18_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames18_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames19_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames19_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames1_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames1_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames20_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames20_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames21_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames21_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames22_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames22_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames23_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames23_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames24_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames24_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames25_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames25_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames26_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames26_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames27_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames27_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames28_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames28_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames29_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames29_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames2_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames2_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames30_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames30_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames31_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames31_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames32_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames32_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames33_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames34_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames34_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES5.ts: { index: 101, | |
lineNumber: 7, | |
column: 10, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES6.ts: { index: 101, | |
lineNumber: 7, | |
column: 10, | |
message: '\';\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames36_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames36_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames37_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames37_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames38_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames38_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames39_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames39_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES5.ts: { index: 155, | |
lineNumber: 8, | |
column: 17, | |
message: 'JSX element \'String\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES6.ts: { index: 155, | |
lineNumber: 8, | |
column: 17, | |
message: 'JSX element \'String\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames40_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames40_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames41_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames41_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames42_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames42_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames43_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames43_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames44_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames44_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames45_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames45_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames46_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames46_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames47_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames47_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames48_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames48_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames49_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames49_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES5.ts: { index: 193, | |
lineNumber: 14, | |
column: 6, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES6.ts: { index: 193, | |
lineNumber: 14, | |
column: 6, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames50_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames50_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames5_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames5_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames6_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames6_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames7_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames7_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames8_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames8_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames9_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames9_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType10_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType10_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType1_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType1_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType2_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType2_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType3_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType3_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType4_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType4_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType5_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType5_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType6_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType6_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType7_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType7_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType8_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType8_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType9_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesContextualType9_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit1_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit1_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit2_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit2_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES5.ts: { index: 57, | |
lineNumber: 4, | |
column: 2, | |
message: 'Property or signature expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES6.ts: { index: 57, | |
lineNumber: 4, | |
column: 2, | |
message: 'Property or signature expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES5.ts: { index: 52, | |
lineNumber: 4, | |
column: 2, | |
message: 'Property or signature expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES6.ts: { index: 52, | |
lineNumber: 4, | |
column: 2, | |
message: 'Property or signature expected.' } | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit5_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit5_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesOnOverloads_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesOnOverloads_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap1_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap1_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap2_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesSourceMap2_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesWithStaticProperty.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/accessor/decoratorOnClassAccessor1.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/accessor/decoratorOnClassAccessor1.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass1.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass1.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass2.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,5 +3,5 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export class C {} | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass3.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,5 +3,5 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export default class C {} | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass4.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,4 +3,4 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export default class {} | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass5.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass5.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:165:18 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:164:14) | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass6.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,5 +3,5 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export class C { | |
static x() { | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass7.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,5 +3,5 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export default class C { | |
static x() { | |
../TypeScript/tests/cases/conformance/es6/decorators/class/decoratorOnClass8.es6.ts | |
prettier(input) !== prettier(prettier(input)) | |
Index: | |
=================================================================== | |
--- | |
+++ | |
@@ -3,5 +3,5 @@ | |
declare function dec<T>(target: T): T | |
-dec | |
+dec; | |
export default class { | |
static y = 1; | |
../TypeScript/tests/cases/conformance/es6/decorators/class/method/decoratorOnClassMethod1.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/method/decoratorOnClassMethod1.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/es6/decorators/class/method/parameter/decoratorOnClassMethodParameter1.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/method/parameter/decoratorOnClassMethodParameter1.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printFunctionParams (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2661:22) | |
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2493:9) | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at printMethod (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2490:17) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:438:18) | |
../TypeScript/tests/cases/conformance/es6/decorators/class/property/decoratorOnClassProperty1.es6.ts | |
../TypeScript/tests/cases/conformance/es6/decorators/class/property/decoratorOnClassProperty1.es6.ts: TypeError: Cannot read property 'type' of undefined | |
at genericPrint (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:82:37) | |
at comments.printComments.p (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4121:12) | |
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17) | |
at printGenerically (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:4119:21) | |
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2396:25) | |
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19) | |
at printStatementSequence (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2381:8) | |
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1536:26 | |
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16) | |
at genericPrintNoParens (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1535:22) | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunction.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionES6.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionExpression.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionExpressionES6.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionProperty.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionPropertyES6.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersMethod.ts | |
../TypeScript/tests/cases/conformance/es6/defaultParameters/emitDefaultParametersMethodES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/arrayAssignmentPatternWithAny.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/declarationInAmbientContext.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/declarationsAndAssignments.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/declarationWithNoInitializer.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment2.ts: { index: 764, | |
lineNumber: 15, | |
column: 11, | |
message: 'Expression expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringCatch.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringInFunctionType.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment1ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment1ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts: { index: 17, | |
lineNumber: 2, | |
column: 6, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration1ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration1ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration1ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration2.ts: { index: 401, | |
lineNumber: 7, | |
column: 28, | |
message: '\',\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration3ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration3ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration3ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration6.ts: { index: 217, | |
lineNumber: 7, | |
column: 17, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration7ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration7ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringParameterProperties5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_1.ts: { index: 29, | |
lineNumber: 2, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_2.ts: { index: 30, | |
lineNumber: 2, | |
column: 14, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_3.ts: { index: 29, | |
lineNumber: 2, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_4.ts: { index: 34, | |
lineNumber: 2, | |
column: 18, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_5.ts: { index: 29, | |
lineNumber: 2, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_6.ts: { index: 29, | |
lineNumber: 2, | |
column: 13, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_7.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_7.ts: { index: 34, | |
lineNumber: 2, | |
column: 18, | |
message: 'JSX element \'any\' has no corresponding closing tag.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration1ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration1ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration1ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringWithLiteralInitializers.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter01.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter02.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter03.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter04.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns02_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns02_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns02_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns03_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns03_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns03_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter01.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter02.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter03.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter04.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern10.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern11.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern12.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern13.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern14.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern15.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern16.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern17.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern18.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern19.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern20.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern21.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern22.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern23.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern24.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern25.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern26.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern27.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern28.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern29.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern30.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern6.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern7.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern8.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern9.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/missingAndExcessProperties.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/nonIterableRestElement1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/nonIterableRestElement2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/nonIterableRestElement3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers01.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers01.ts: { index: 15, | |
lineNumber: 2, | |
column: 12, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers02.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers02.ts: { index: 16, | |
lineNumber: 2, | |
column: 13, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers03.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers03.ts: { index: 17, | |
lineNumber: 2, | |
column: 14, | |
message: '\':\' expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers04.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers04.ts: { index: 18, | |
lineNumber: 2, | |
column: 15, | |
message: 'Identifier expected.' } | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers05.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers06.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/optionalBindingParameters1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/optionalBindingParameters2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/optionalBindingParametersInOverloads1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/optionalBindingParametersInOverloads2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern3.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern4.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithBindingPattern.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithBindingPattern2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithInitializer1.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithInitializer2.ts | |
../TypeScript/tests/cases/conformance/es6/destructuring/restElementWithNullInitializer.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of1.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of10.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of11.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of12.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of13.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of14.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of15.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of16.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of17.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of18.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of19.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of2.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of20.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of21.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of22.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of23.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of24.ts | |
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of25.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment