Skip to content

Instantly share code, notes, and snippets.

@azz
Created May 7, 2017 03:37
Show Gist options
  • Save azz/f2ef504f99e92926808e75addbf25494 to your computer and use it in GitHub Desktop.
Save azz/f2ef504f99e92926808e75addbf25494 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
../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
../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
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.d.ts
../TypeScript/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.d.ts
../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
../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
../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
../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
../TypeScript/tests/cases/compiler/aliasErrors.ts
../TypeScript/tests/cases/compiler/aliasErrors.ts: SyntaxError: Identifier expected. (13:11)
11 | import m = no;
12 | import m2 = no.mod;
> 13 | import n = 5;
| ^
14 | import o = "s";
15 | import q = null;
16 | import r = undefined;
../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: SyntaxError: JSX element 'IHasVisualizationModel' has no corresponding closing tag. (23:19)
21 | }
22 | var r = foo({ a: moduleA });
> 23 | var r2 = foo({ a: <IHasVisualizationModel>null });
| ^
24 |
../TypeScript/tests/cases/compiler/aliasUsageInIndexerOfClass.ts
../TypeScript/tests/cases/compiler/aliasUsageInObjectLiteral.ts
../TypeScript/tests/cases/compiler/aliasUsageInOrExpression.ts
../TypeScript/tests/cases/compiler/aliasUsageInOrExpression.ts: SyntaxError: Expression expected. (23:39)
21 | var d2: IHasVisualizationModel = i || moduleA;
22 | var d2: IHasVisualizationModel = moduleA || i;
> 23 | var e: { x: IHasVisualizationModel } = <{ x: IHasVisualizationModel }>null || { x: moduleA };
| ^
24 | var f: { x: IHasVisualizationModel } = <{ x: IHasVisualizationModel }>null ? { x: moduleA } : null;
../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: SyntaxError: Identifier expected. (3:11)
1 | function f<T>(x: T): T { return null; }
2 | var r = <T>(x: T) => x;
> 3 | var r2 = < <T>(x: T) => T>f; // valid
| ^
4 | var r3 = <<T>(x: T) => T>f; // ambiguous, appears to the parser as a << operation
5 |
../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: SyntaxError: An AMD module cannot have multiple name assignments. (3:0)
1 | //@module: amd
2 | ///<amd-module name='FirstModuleName'/>
> 3 | ///<amd-module name='SecondModuleName'/>
| ^
4 | class Foo {
5 | x: number;
6 | constructor() {
../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: SyntaxError: ';' expected. (1:7)
> 1 | module {
| ^
2 | export var foo = 1;
3 |
4 | module {
../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: SyntaxError: '}' expected. (28:101)
26 | case ts.SyntaxKind.DoStatement:
27 | if ((<ts.IterationStatement>node).statement.kind !== ts.SyntaxKind.Block) {
> 28 | report(node, "A looping statement's contents should be wrapped in a block body.");
| ^
29 | }
30 | break;
31 |
../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: SyntaxError: Expression expected. (8:11)
6 | result.push(arg + arg);
7 | }
> 8 | return <[any, any, any]>result;
| ^
9 | }
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES6.ts
../TypeScript/tests/cases/compiler/argumentsObjectIterator01_ES6.ts: SyntaxError: Expression expected. (8:11)
6 | result.push(arg + arg);
7 | }
> 8 | return <[any, any, any]>result;
| ^
9 | }
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES5.ts
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES5.ts: SyntaxError: Expression expected. (10:11)
8 | result.push(arg + arg);
9 | }
> 10 | return <[any, any, any]>result;
| ^
11 | }
12 |
13 |
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES6.ts
../TypeScript/tests/cases/compiler/argumentsObjectIterator02_ES6.ts: SyntaxError: Expression expected. (10:11)
8 | result.push(arg + arg);
9 | }
> 10 | return <[any, any, any]>result;
| ^
11 | }
12 |
13 |
../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
../TypeScript/tests/cases/compiler/arrayAssignmentTest6.ts
../TypeScript/tests/cases/compiler/arrayAugment.ts
../TypeScript/tests/cases/compiler/arrayBestCommonTypes.ts
../TypeScript/tests/cases/compiler/arrayBestCommonTypes.ts: SyntaxError: '}' expected. (32:23)
30 |
31 |
> 32 | var t1: { x: number; y: base; }[] = [{ x: 7, y: new derived() }, { x: 5, y: new base() }];
| ^
33 | var t2: { x: boolean; y: base; }[] = [{ x: true, y: new derived() }, { x: false, y: new base() }];
34 | var t3: { x: string; y: base; }[] = [{ x: undefined, y: new base() }, { x: '', y: new derived() }];
35 |
../TypeScript/tests/cases/compiler/arrayBindingPatternOmittedExpressions.ts
../TypeScript/tests/cases/compiler/arrayBufferIsViewNarrowsType.ts
../TypeScript/tests/cases/compiler/arrayCast.ts
../TypeScript/tests/cases/compiler/arrayCast.ts: SyntaxError: Expression expected. (3:0)
1 | // Should fail. Even though the array is contextually typed with { id: number }[], it still
2 | // has type { foo: string }[], which is not assignable to { id: number }[].
> 3 | <{ id: number; }[]>[{ foo: "s" }];
| ^
4 |
5 | // Should succeed, as the {} element causes the type of the array to be {}[]
6 | <{ id: number; }[]>[{ foo: "s" }, {}];
../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: SyntaxError: Type expected. (11:28)
9 | }
10 |
> 11 | var foo: { [index: any]: };
| ^
12 | }
13 |
14 | interface myInt {
../TypeScript/tests/cases/compiler/arraySlice.ts
../TypeScript/tests/cases/compiler/arrayTypeInSignatureOfInterfaceAndClass.ts
../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: SyntaxError: Expression expected. (2:14)
1 | // Should error at semicolon.
> 2 | var f = () => ;
| ^
3 | var b = 1 * 2 * 3 * 4;
4 | var square = (x: number) => x * x;
../TypeScript/tests/cases/compiler/arrowFunctionsMissingTokens.ts
../TypeScript/tests/cases/compiler/arrowFunctionsMissingTokens.ts: SyntaxError: '=>' expected. (3:15)
1 |
2 | module missingArrowsWithCurly {
> 3 | var a = () { };
| ^
4 |
5 | var b = (): void { }
6 |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody1.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody1.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (1:14)
> 1 | var v = a => <any>{}
| ^
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody2.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody2.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (1:19)
> 1 | var v = a => <any><any>{}
| ^
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody3.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody3.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:14)
1 | // @target: es6
> 2 | var v = a => <any>{}
| ^
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody4.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody4.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:19)
1 | // @target: es6
> 2 | var v = a => <any><any>{}
| ^
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody5.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody5.ts: SyntaxError: '}' expected. (1:27)
> 1 | var a = () => <Error>{ name: "foo", message: "bar" };
| ^
2 |
3 | var b = () => (<Error>{ name: "foo", message: "bar" });
4 |
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody6.ts
../TypeScript/tests/cases/compiler/arrowFunctionWithObjectLiteralBody6.ts: SyntaxError: '}' expected. (2:27)
1 | // @target: es6
> 2 | var a = () => <Error>{ name: "foo", message: "bar" };
| ^
3 |
4 | var b = () => (<Error>{ name: "foo", message: "bar" });
5 |
../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: SyntaxError: '>' expected. (2:25)
1 | class C<T extends C<T>> {
> 2 | foo<U extends C<C<T>>(x: U) {
| ^
3 | return null;
4 | }
5 | }
../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: SyntaxError: Identifier expected. (6:31)
4 | }
5 | module __test2__ {
> 6 | export var obj = {one: <any[]>[1]};
| ^
7 | export var __val__obj = obj;
8 | }
9 | __test2__.__val__obj = __test1__.__val__obj4
../TypeScript/tests/cases/compiler/assignmentCompatability17.ts
../TypeScript/tests/cases/compiler/assignmentCompatability17.ts: SyntaxError: Identifier expected. (6:31)
4 | }
5 | module __test2__ {
> 6 | export var obj = {two: <any[]>[1]};
| ^
7 | export var __val__obj = obj;
8 | }
9 | __test2__.__val__obj = __test1__.__val__obj4
../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
../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
../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: SyntaxError: ';' expected. (5:16)
3 | {
4 | constructor() {
> 5 | this.foo: any;
| ^
6 | this.bar: any;
7 | }
8 |
../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: SyntaxError: Expression expected. (2:21)
1 | function method() {
> 2 | var dictionary = <{ [index: string]: string; }>{};
| ^
3 | }
4 |
../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: SyntaxError: ',' expected. (12:22)
10 | [i: number]: Base
11 | }
> 12 | interface FooOf<TBase in Base> extends Foo {
| ^
13 | [i: number]: TBase
14 | }
15 | var x: FooOf<Derived> = null;
../TypeScript/tests/cases/compiler/bases.ts
../TypeScript/tests/cases/compiler/bases.ts: SyntaxError: ';' expected. (7:14)
5 | class B {
6 | constructor() {
> 7 | this.y: any;
| ^
8 | }
9 | }
10 |
../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: SyntaxError: Invalid character. (1:0)
> 1 | ��var x=10;
| ^
2 |
3 |
../TypeScript/tests/cases/compiler/bom-utf16le.ts
../TypeScript/tests/cases/compiler/bom-utf16le.ts: SyntaxError: Invalid character. (1:0)
> 1 | ��var x=10;
| ^
2 |
3 |
../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: SyntaxError: Type expected. (1:6)
> 1 | Foo<a,,b>();
| ^
../TypeScript/tests/cases/compiler/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts
../TypeScript/tests/cases/compiler/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts: SyntaxError: ',' expected. (2:5)
1 | interface I<T> {
> 2 | <U in T>(u: U): U
| ^
3 | }
4 | var i: I<string>;
5 | var y = i(""); // y should be string
../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: SyntaxError: JSX element 'typeof' has no corresponding closing tag. (13:24)
11 | // ok -used in type
12 | let a;
> 13 | function foo3(y = { x: <typeof z>a }, z = 1) {
| ^
14 |
15 | }
../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: SyntaxError: '}' expected. (5:8)
3 | // parentheses should be omitted
4 | // literals
> 5 | (<any>{a:0});
| ^
6 | (<any>[1,3,]);
7 | (<any>"string");
8 | (<any>23.0);
../TypeScript/tests/cases/compiler/castNewObjectBug.ts
../TypeScript/tests/cases/compiler/castNewObjectBug.ts: SyntaxError: JSX element 'Foo' has no corresponding closing tag. (2:10)
1 | interface Foo { }
> 2 | var xx = <Foo> new Object();
| ^
../TypeScript/tests/cases/compiler/castOfAwait.ts
../TypeScript/tests/cases/compiler/castOfAwait.ts: SyntaxError: JSX element 'number' has no corresponding closing tag. (6:32)
4 | typeof await 0;
5 | void await 0;
> 6 | await void <string> typeof <number> void await 0;
| ^
7 | await await 0;
8 | }
9 |
../TypeScript/tests/cases/compiler/castOfYield.ts
../TypeScript/tests/cases/compiler/castOfYield.ts: SyntaxError: JSX element 'number' has no corresponding closing tag. (4:5)
2 | <number> (yield 0);
3 | // Unlike await, yield is not allowed to appear in a simple unary expression.
> 4 | <number> yield 0;
| ^
5 | }
6 |
../TypeScript/tests/cases/compiler/castParentheses.ts
../TypeScript/tests/cases/compiler/castParentheses.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (11:10)
9 | var b = (<any>new a);
10 | var b = (<any>new a.b);
> 11 | var b = (<any>new a).b
| ^
../TypeScript/tests/cases/compiler/castTest.ts
../TypeScript/tests/cases/compiler/castTest.ts: SyntaxError: Identifier expected. (10:13)
8 | var s = <string>"";
9 |
> 10 | var ar = <any[]>null;
| ^
11 |
12 | var f = <(res : number) => void>null;
13 |
../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
../TypeScript/tests/cases/compiler/checkInfiniteExpansionTermination2.ts
../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: SyntaxError: Declaration or statement expected. (1:28)
> 1 | class foo { constructor() { static f = 3; } }
| ^
../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
../TypeScript/tests/cases/compiler/ClassDeclaration24.ts
../TypeScript/tests/cases/compiler/ClassDeclaration25.ts
../TypeScript/tests/cases/compiler/ClassDeclaration26.ts
../TypeScript/tests/cases/compiler/ClassDeclaration26.ts: SyntaxError: ';' expected. (2:21)
1 | class C {
> 2 | public const var export foo = 10;
| ^
3 |
4 | var constructor() { }
5 | }
../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: SyntaxError: Expression expected. (2:8)
1 | // @experimentaldecorators: true
> 2 | var v = @decorate class C { static p = 1 };
| ^
../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: SyntaxError: Declaration expected. (2:10)
1 | class C {
> 2 | public {};
| ^
3 | }
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier2.ts
../TypeScript/tests/cases/compiler/classMemberWithMissingIdentifier2.ts: SyntaxError: Declaration expected. (2:10)
1 | class C {
> 2 | public {[name:string]:VariableDeclaration};
| ^
3 | }
../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: SyntaxError: Declaration or statement expected. (93:2)
91 | class O {
92 | constructor() {
> 93 | public p1 = 0; // ERROR
| ^
94 | }
95 | }
96 |
../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
../TypeScript/tests/cases/compiler/cloduleTest2.ts
../TypeScript/tests/cases/compiler/cloduleWithDuplicateMember1.ts
../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: SyntaxError: Invalid character. (1:0)
> 1 | ��module Mb���0+h!����0 M  M ! M 0 > �1_0liJHFJCH/����Mb���0+h!����0 M  M ! M 0 > �1_0liJHFJCH/����Abcd123 {
| ^
2 |
3 | export class Mb���0+h!����0 M  M ! M 0 > �1_0liJHFJCH/����Mb���0+h!����0 M  M ! M 0 > �1_0liJHFJCH/����Abcd123 {
4 |
../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
../TypeScript/tests/cases/compiler/collisionExportsRequireAndFunctionInGlobalFile.ts
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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: SyntaxError: JSX element 'any' has no corresponding closing tag. (3:1)
1 | var j;
2 | var f: () => any;
> 3 | <any>( /* Preserve */ j = f());
| ^
4 |
../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
../TypeScript/tests/cases/compiler/commentsExternalModules2.ts
../TypeScript/tests/cases/compiler/commentsExternalModules3.ts
../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/commentsModules.ts
../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: SyntaxError: ';' expected. (22:21)
20 | // @filename: /app/tsconfig.json
21 | {
> 22 | "compilerOptions": {
| ^
23 | "outDir": "bin",
24 | "typeRoots": ["../types"],
25 | "sourceMap": true,
../TypeScript/tests/cases/compiler/commonSourceDirectory_dts.ts
../TypeScript/tests/cases/compiler/commonSourceDirectory_dts.ts: SyntaxError: ';' expected. (15:21)
13 | // @filename: /app/tsconfig.json
14 | {
> 15 | "compilerOptions": {
| ^
16 | "outDir": "bin",
17 | "sourceMap": true,
18 | "mapRoot": "myMapRoot",
../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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: '=' expected. (8:10)
6 |
7 | let foo2 = () => "bar";
> 8 | let { foo2(): bar3 } = { bar: "bar" };
| ^
9 |
10 | let [{ foo: bar4 }] = [{ bar: "bar" }];
11 | let [{ foo2(): bar5 }] = [{ bar: "bar" }];
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1_ES6.ts
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring1_ES6.ts: SyntaxError: '=' expected. (10:10)
8 |
9 | let foo2 = () => "bar";
> 10 | let { foo2(): bar3 } = { bar: "bar" };
| ^
11 |
12 | let [{ foo: bar4 }] = [{ bar: "bar" }];
13 | let [{ foo2(): bar5 }] = [{ bar: "bar" }];
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2.ts
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2.ts: SyntaxError: '=' expected. (2:10)
1 | let foo2 = () => "bar";
> 2 | let { foo2(): bar3 } = {};
| ^
3 |
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts
../TypeScript/tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts: SyntaxError: '=' expected. (4:10)
2 |
3 | let foo2 = () => "bar";
> 4 | let { foo2(): bar3 } = {};
| ^
5 |
../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: SyntaxError: Merge conflict marker encountered. (2:0)
1 | class C {
> 2 | <<<<<<< HEAD
| ^
3 | v = 1;
4 | =======
5 | v = 2;
../TypeScript/tests/cases/compiler/conflictMarkerTrivia2.ts
../TypeScript/tests/cases/compiler/conflictMarkerTrivia2.ts: SyntaxError: Merge conflict marker encountered. (3:0)
1 | class C {
2 | foo() {
> 3 | <<<<<<< B
| ^
4 | a();
5 | }
6 | =======
../TypeScript/tests/cases/compiler/conflictMarkerTrivia4.ts
../TypeScript/tests/cases/compiler/conflictMarkerTrivia4.ts: SyntaxError: Merge conflict marker encountered. (2:0)
1 | const x = <div>
> 2 | <<<<<<< HEAD
| ^
../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
../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: SyntaxError: ',' expected. (8:4)
6 | interface I1<
7 | T,
> 8 | U in I1<T, any> // Error, any does not satisfy the constraint I1<T, any>
| ^
9 | > {}
10 | interface I2<T, U in T> {}
11 |
../TypeScript/tests/cases/compiler/constraints0.ts
../TypeScript/tests/cases/compiler/constraints0.ts: SyntaxError: ',' expected. (9:14)
7 | }
8 |
> 9 | interface C<T in A> {
| ^
10 | x: T
11 | }
12 |
../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:
===================================================================
---
+++
@@ -18,15 +18,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:
===================================================================
---
+++
@@ -18,15 +18,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
../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
../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: SyntaxError: ';' expected. (13:18)
11 | }
12 |
> 13 | import fs = module("fs");
| ^
14 |
15 |
16 | module TypeScriptAllInOne {
../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: SyntaxError: '...' expected. (5:34)
3 | var r99 = map(e); // should be {}[] for S since a generic lambda is not inferentially typed
4 |
> 5 | declare function map2<S extends { length: number }, T>(f: (x: S) => T): (a: S[]) => T[];
| ^
6 | var e2 = <K>(x: string, y?: K) => x.length;
7 | var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferentially typed. Falls back to { length: number }
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation2.ts
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation2.ts: SyntaxError: JSX element 'T' has no corresponding closing tag. (4:9)
2 | var dot: <T, S>(f: (_: T) => S) => <U>(g: (_: U) => T) => (_: U) => S;
3 | dot = <T, S>(f: (_: T) => S) => <U>(g: (_: U) => T): (r:U) => S => (x) => f(g(x));
> 4 | var id: <T>(x:T) => T;
| ^
5 | var r23 = dot(id)(id);
../TypeScript/tests/cases/compiler/contextualSignatureInstantiation3.ts
../TypeScript/tests/cases/compiler/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.ts
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationContravariance.ts
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationContravariance.ts: SyntaxError: ',' expected. (5:11)
3 | interface Elephant extends Animal { y2 }
4 |
> 5 | var f2: <T in Animal>(x: T, y: T) => void;
| ^
6 |
7 | var g2: (g: Giraffe, e: Elephant) => void;
8 | g2 = f2; // valid because both Giraffe and Elephant satisfy the constraint. T is Animal
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationCovariance.ts
../TypeScript/tests/cases/compiler/contextualSignatureInstatiationCovariance.ts: SyntaxError: ',' expected. (5:11)
3 | interface Giraffe extends Animal, TallThing { y }
4 |
> 5 | var f2: <T in Giraffe>(x: T, y: T) => void;
| ^
6 |
7 | var g2: (a: Animal, t: TallThing) => void;
8 | g2 = f2; // While neither Animal nor TallThing satisfy the constraint, T is at worst a Giraffe and compatible with both via covariance.
../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: SyntaxError: '}' expected. (31:5)
29 | var c3t1: (s: string) => string = (function(s) { return s });
30 | var c3t2 = <IFoo>({
> 31 | n: 1
| ^
32 | })
33 | var c3t3: number[] = [];
34 | var c3t4: () => IFoo = function() { return <IFoo>({}) };
../TypeScript/tests/cases/compiler/contextualTyping1.ts
../TypeScript/tests/cases/compiler/contextualTyping10.ts
../TypeScript/tests/cases/compiler/contextualTyping11.ts
../TypeScript/tests/cases/compiler/contextualTyping11.ts: SyntaxError: JSX element 'foo' has no corresponding closing tag. (1:42)
> 1 | class foo { public bar:{id:number;}[] = [<foo>({})]; }
| ^
../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: SyntaxError: Expression expected. (1:24)
> 1 | var foo: {id:number;} = <{id:number;}>({ }); foo = {id: 5};
| ^
../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: SyntaxError: Expression expected. (1:40)
> 1 | function foo(param:{id:number;}){}; foo(<{id:number;}>({}));
| ^
../TypeScript/tests/cases/compiler/contextualTyping26.ts
../TypeScript/tests/cases/compiler/contextualTyping26.ts: SyntaxError: Expression expected. (1:40)
> 1 | function foo(param:{id:number;}){}; foo(<{id:number;}>({}));
| ^
../TypeScript/tests/cases/compiler/contextualTyping27.ts
../TypeScript/tests/cases/compiler/contextualTyping27.ts: SyntaxError: Expression expected. (1:40)
> 1 | function foo(param:{id:number;}){}; foo(<{id:number;}>({}));
| ^
../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: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ id: number;}> ({id:4});
| ^
../TypeScript/tests/cases/compiler/contextualTyping35.ts
../TypeScript/tests/cases/compiler/contextualTyping35.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ id: number;}> {id:4, name: "as"};
| ^
../TypeScript/tests/cases/compiler/contextualTyping36.ts
../TypeScript/tests/cases/compiler/contextualTyping36.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ id: number; }[]>[{ id: 4 }, <{ id: number; }>({ })];
| ^
../TypeScript/tests/cases/compiler/contextualTyping37.ts
../TypeScript/tests/cases/compiler/contextualTyping37.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ id: number; }[]>[{ foo: "s" }, { }];
| ^
../TypeScript/tests/cases/compiler/contextualTyping38.ts
../TypeScript/tests/cases/compiler/contextualTyping38.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ (): number; }> function(a) { return a };
| ^
../TypeScript/tests/cases/compiler/contextualTyping39.ts
../TypeScript/tests/cases/compiler/contextualTyping39.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{ (): number; }> function() { return "err"; };
| ^
../TypeScript/tests/cases/compiler/contextualTyping4.ts
../TypeScript/tests/cases/compiler/contextualTyping40.ts
../TypeScript/tests/cases/compiler/contextualTyping40.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{():number; (i:number):number; }> function(){return 1;};
| ^
../TypeScript/tests/cases/compiler/contextualTyping41.ts
../TypeScript/tests/cases/compiler/contextualTyping41.ts: SyntaxError: Expression expected. (1:10)
> 1 | var foo = <{():number; (i:number):number; }> (function(){return "err";});
| ^
../TypeScript/tests/cases/compiler/contextualTyping5.ts
../TypeScript/tests/cases/compiler/contextualTyping6.ts
../TypeScript/tests/cases/compiler/contextualTyping7.ts
../TypeScript/tests/cases/compiler/contextualTyping7.ts: SyntaxError: Expression expected. (1:26)
> 1 | var foo:{id:number;}[] = [<{id:number;}>({})];
| ^
../TypeScript/tests/cases/compiler/contextualTyping8.ts
../TypeScript/tests/cases/compiler/contextualTyping8.ts: SyntaxError: Expression expected. (1:26)
> 1 | var foo:{id:number;}[] = [<{id:number;}>({})];
| ^
../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:3704: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:4167: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:4165: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: SyntaxError: '(' expected. (177:21)
175 |
176 | class bigClass {
> 177 | public constructor = 0;
| ^
178 | public any = 0;
179 | public boolean = 0;
180 | public implements = 0;
../TypeScript/tests/cases/compiler/copyrightWithNewLine1.ts
../TypeScript/tests/cases/compiler/copyrightWithoutNewLine1.ts
../TypeScript/tests/cases/compiler/couldNotSelectGenericOverload.ts
../TypeScript/tests/cases/compiler/covariance1.ts
../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
../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: SyntaxError: '=' expected. (6:13)
4 |
5 | class X<A> {}
> 6 | var prop11: X<<Tany>() => Tany>; // spaces before the first type argument
| ^
7 | var prop12: X<(<Tany>() => Tany)>; // spaces before the first type argument
8 | function f1() {
9 | // Inferred return type
../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: SyntaxError: Expression expected. (4:24)
2 |
3 | class A {}
> 4 | interface Class extends typeof A {}
| ^
5 |
../TypeScript/tests/cases/compiler/declarationEmitInvalidExport.ts
../TypeScript/tests/cases/compiler/declarationEmitInvalidExport.ts: SyntaxError: Declaration or statement expected. (7:0)
5 | }
6 | export type MyClass = typeof myClass;
> 7 | }
| ^
8 |
../TypeScript/tests/cases/compiler/declarationEmitInvalidReference.ts
../TypeScript/tests/cases/compiler/declarationEmitInvalidReference2.ts
../TypeScript/tests/cases/compiler/declarationEmitNameConflicts.ts
../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: SyntaxError: Identifier expected. (14:51)
12 | let func = <T>(f: (a: A, b?: B, c?: C, d?: D, e?: E) => T): T =>
13 | f.apply(this, result);
> 14 | let rfunc: typeof func & {} = func as any; // <- This is the only difference
| ^
15 | return rfunc
16 | }
17 |
../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: SyntaxError: '=' expected. (5:11)
3 | // @declaration: true
4 |
> 5 | import Foo From './Foo'; // Syntax error
| ^
6 | export default Foo
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3704: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:4167: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:4165: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
../TypeScript/tests/cases/compiler/declFileCallSignatures.ts
../TypeScript/tests/cases/compiler/declFileCallSignatures.ts: SyntaxError: ',' expected. (33:5)
31 |
32 | export interface ICallSignatureWithOwnTypeParametes {
> 33 | <T in ICallSignature>(a: T): string
| ^
34 | }
35 |
36 | // @Filename: declFileCallSignatures_1.ts
../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: SyntaxError: ',' expected. (33:9)
31 |
32 | export interface IConstructSignatureWithOwnTypeParametes {
> 33 | new <T in IConstructSignature>(a: T): T
| ^
34 | }
35 |
36 | // @Filename: declFileConstructSignatures_1.ts
../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
../TypeScript/tests/cases/compiler/declFileExportImportChain2.ts
../TypeScript/tests/cases/compiler/declFileForClassWithMultipleBaseClasses.ts
../TypeScript/tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts
../TypeScript/tests/cases/compiler/declFileForExportedImport.ts
../TypeScript/tests/cases/compiler/declFileForFunctionTypeAsTypeParameter.ts
../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
../TypeScript/tests/cases/compiler/declFileGenericType2.ts
../TypeScript/tests/cases/compiler/declFileGenericType2.ts: SyntaxError: ',' expected. (7:34)
5 | }
6 | declare namespace templa.mvc {
> 7 | interface IController<ModelType in templa.mvc.IModel> {}
| ^
8 | }
9 | declare namespace templa.mvc {
10 | class AbstractController<ModelType extends templa.mvc.IModel>
../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: SyntaxError: JSX element 'any' has no corresponding closing tag. (8:26)
6 | function f4<T extends (...args) => void>() { }
7 | function f5<T extends { (...args): void }>() { }
> 8 | var f6 = () => { return [<any>10]; }
| ^
9 |
10 |
11 |
../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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/declInput.ts
../TypeScript/tests/cases/compiler/declInput.ts: SyntaxError: '}' expected. (9:41)
7 | public f() { return ''; }
8 | public g() { return {a: <bar>null, b: undefined, c: void 4 }; }
> 9 | public h(x = 4, y = null, z = '') { x++; }
| ^
10 | }
11 |
../TypeScript/tests/cases/compiler/declInput3.ts
../TypeScript/tests/cases/compiler/declInput3.ts: SyntaxError: '}' expected. (9:41)
7 | public f() { return ''; }
8 | public g() { return {a: <bar>null, b: undefined, c: void 4 }; }
> 9 | public h(x = 4, y = null, z = '') { x++; }
| ^
10 | }
11 |
../TypeScript/tests/cases/compiler/declInput4.ts
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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: SyntaxError: ',' expected. (8:10)
6 |
7 | interface Snapshot<T> extends DataSnapshot {
> 8 | child<U in keyof T>(path: U): Snapshot<T[U]>
| ^
9 | }
10 |
../TypeScript/tests/cases/compiler/defaultArgsInFunctionExpressions.ts
../TypeScript/tests/cases/compiler/defaultArgsInFunctionExpressions.ts: SyntaxError: Expression expected. (25:4)
23 | module T { }
24 | module U {
> 25 | export var x;
| ^
26 | }
27 |
28 | var f6 = (t = T) => { };
../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: SyntaxError: Expression expected. (2:8)
1 | var x: (a: number = 1) => number;
> 2 | var y = <(a : string = "") => any>(undefined)
| ^
../TypeScript/tests/cases/compiler/deleteOperator1.ts
../TypeScript/tests/cases/compiler/deleteOperatorInStrictMode.ts
../TypeScript/tests/cases/compiler/deleteReadonly.ts
../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
../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: SyntaxError: Type parameter declaration expected. (3:5)
1 | var f: {
2 | x: number;
> 3 | <-
| ^
4 | };
../TypeScript/tests/cases/compiler/dottedModuleName.ts
../TypeScript/tests/cases/compiler/dottedModuleName.ts: SyntaxError: '{' or ';' expected. (3:28)
1 | module M {
2 | export module N {
> 3 | export function f(x:number)=>2*x;
| ^
4 | export module X.Y.Z {
5 | export var v2=f(v);
6 | }
../TypeScript/tests/cases/compiler/dottedModuleName2.ts
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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: SyntaxError: ';' expected. (3:3)
1 |
2 | // @allowUnreachableCode: true
> 3 | / /@module: commonjs
| ^
4 |
5 | //import FileManager = require('filemanager');
6 | //import App = require('app');
../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
../TypeScript/tests/cases/compiler/duplicateTypeParameters1.ts
../TypeScript/tests/cases/compiler/duplicateTypeParameters2.ts
../TypeScript/tests/cases/compiler/duplicateTypeParameters2.ts: SyntaxError: ',' expected. (8:14)
6 | }
7 |
> 8 | interface I<T in A, T in B> {}
| ^
9 |
../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: SyntaxError: Invalid character. (5:0)
3 | // @module: amd
4 |
> 5 | #!/usr/bin/env gjs
| ^
6 | class Doo {}
7 | class Scooby extends Doo {}
../TypeScript/tests/cases/compiler/emitBundleWithShebang2.ts
../TypeScript/tests/cases/compiler/emitBundleWithShebang2.ts: SyntaxError: Invalid character. (6:0)
4 |
5 | // @Filename: test.ts
> 6 | #!/usr/bin/env gjs
| ^
7 | class Doo {}
8 | class Scooby extends Doo {}
9 |
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives1.ts
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives1.ts: SyntaxError: Invalid character. (6:0)
4 |
5 | // @Filename: test.ts
> 6 | #!/usr/bin/env gjs
| ^
7 | "use strict"
8 | class Doo {}
9 | class Scooby extends Doo {}
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives2.ts
../TypeScript/tests/cases/compiler/emitBundleWithShebangAndPrologueDirectives2.ts: SyntaxError: Invalid character. (6:0)
4 |
5 | // @Filename: test.ts
> 6 | #!/usr/bin/env gjs
| ^
7 | "use strict"
8 | class Doo {}
9 | class Scooby extends Doo {}
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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: SyntaxError: Expression expected. (3:4)
1 | function getObj() {
2 |
> 3 | ().toString();
| ^
4 |
5 | }
6 |
../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
../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: SyntaxError: Identifier expected. (4:28)
2 | IgnoreRulesSpecific = 0,
3 | }
> 4 | var x = IgnoreRulesSpecific.
| ^
5 | var y = Position.IgnoreRulesSpecific;
6 |
../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
../TypeScript/tests/cases/compiler/enumLiteralsSubtypeReduction.ts
../TypeScript/tests/cases/compiler/enumMapBackIntoItself.ts
../TypeScript/tests/cases/compiler/enumMemberResolution.ts
../TypeScript/tests/cases/compiler/enumMemberResolution.ts: SyntaxError: Identifier expected. (4:28)
2 | IgnoreRulesSpecific = 0
3 | }
> 4 | var x = IgnoreRulesSpecific. // error
| ^
5 | var y = 1;
6 | var z = Position2.IgnoreRulesSpecific; // no error
7 |
../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: SyntaxError: ')' expected. (3:0)
1 | enum E {
2 | e = -(3
> 3 | }
| ^
../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:3704: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:4167: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:4165: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: SyntaxError: ',' expected. (4:19)
2 | public bar() {
3 | var v = foo(
> 4 | public blaz() {}
| ^
5 | );
6 | }
7 | }
../TypeScript/tests/cases/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.ts
../TypeScript/tests/cases/compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.ts: SyntaxError: Identifier expected. (4:14)
2 | function foo() {
3 | if (true) {
> 4 | B.
| ^
5 |
6 |
7 | namespace B {
../TypeScript/tests/cases/compiler/errorsInGenericTypeReference.ts
../TypeScript/tests/cases/compiler/errorsInGenericTypeReference.ts: SyntaxError: ',' expected. (42:23)
40 | class testClass4<T extends { x: V }> {} // error: could not find symbol V
41 |
> 42 | interface testClass5<T in Foo<{ x: V }>> {} // error: could not find symbol V
| ^
43 |
44 | class testClass6<T> {
45 | method<M extends { x: V }>(): void {} // error: could not find symbol V
../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:3704: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:4167: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:4165: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:
===================================================================
---
+++
@@ -88,5 +88,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
},
{
Index:
===================================================================
---
+++
@@ -4,13 +4,12 @@
declare module "foo" {
- export var before: C;
+ export var before: C;
- export default class C {
- method(): C;
- }
+ export class C {
+ method(): C;
+ }
- export var after: C;
+ export var after: C;
- export var t: typeof 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
../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: SyntaxError: ',' expected. (20:23)
18 |
19 | class GetSetMonster {
> 20 | constructor(public name: string, private _health: number) {
| ^
21 |
22 | }
23 |
../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: SyntaxError: '{' expected. (1:17)
> 1 | declare class foo();
| ^
2 | function foo() {}
3 |
../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: SyntaxError: Identifier expected. (4:9)
2 |
3 | import { yield } from "somemodule"; // Allowed
> 4 | import { default } from "somemodule"; // Error - as this is keyword that is not allowed as identifier
| ^
5 | import { yield as default } from "somemodule"; // error to use default as binding name
6 | import { default as yield } from "somemodule"; // no error
7 | import { default as default } from "somemodule"; // default as is ok, error of default binding name
../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: SyntaxError: Identifier expected. (9:9)
7 |
8 | // @filename: es6ImportNamedImportParsingError_1.ts
> 9 | import { * } from "es6ImportNamedImportParsingError_0";
| ^
10 | import defaultBinding, from "es6ImportNamedImportParsingError_0";
11 | import , { a } from "es6ImportNamedImportParsingError_0";
12 | import { a }, from "es6ImportNamedImportParsingError_0";
../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: SyntaxError: Declaration or statement expected. (3:0)
1 | // @target: es6
2 |
> 3 | import 10;
| ^
../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
../TypeScript/tests/cases/compiler/es6ModuleInternalNamedImports2.ts
../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: SyntaxError: '}' expected. (63:50)
61 | }
62 |
> 63 | var interfaceType1Object1 = <interfaceType1>{ bar1: 0 };
| ^
64 | interfaceType1Object1.bar1 = 2;
65 | var interfaceType1Object2 = <interfaceType\u0031>{ bar1: 0 };
66 | interfaceType1Object2.bar1 = 2;
../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
../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
../TypeScript/tests/cases/compiler/exportImportMultipleFiles.ts
../TypeScript/tests/cases/compiler/exportImportNonInstantiatedModule.ts
../TypeScript/tests/cases/compiler/exportImportNonInstantiatedModule2.ts
../TypeScript/tests/cases/compiler/exportInFunction.ts
../TypeScript/tests/cases/compiler/exportInFunction.ts: SyntaxError: '}' expected. (3:0)
1 | function f() {
2 | export = 0;
> 3 |
| ^
../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: SyntaxError: Expression expected. (14:4)
12 | var arr = (<any>Array).prototype;
13 | arr.collect = function (fn) {
> 14 | var res = [];
| ^
15 | for (var i = 0; i < this.length; ++i) {
16 | var tmp = fn(this[i]);
17 | for (var j = 0; j < tmp.length; ++j) {
../TypeScript/tests/cases/compiler/extendBaseClassBeforeItsDeclared.ts
../TypeScript/tests/cases/compiler/extendConstructSignatureInInterface.ts
../TypeScript/tests/cases/compiler/extendedInterfaceGenericType.ts
../TypeScript/tests/cases/compiler/extendedInterfacesWithDuplicateTypeParameters.ts
../TypeScript/tests/cases/compiler/extendFromAny.ts
../TypeScript/tests/cases/compiler/extendGenericArray.ts
../TypeScript/tests/cases/compiler/extendGenericArray2.ts
../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: SyntaxError: ';' expected. (6:5)
4 |
5 | // @Filename: /node_modules/foo/index.js
> 6 | This file is not read.
| ^
7 |
8 | // @Filename: /node_modules/bar/index.js
9 | Nor is this one.
../TypeScript/tests/cases/compiler/extension.ts
../TypeScript/tests/cases/compiler/extension.ts: SyntaxError: Declaration or statement expected. (16:4)
14 |
15 | declare module M {
> 16 | export extension class C {
| ^
17 | public pe:string;
18 | }
19 | }
../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: SyntaxError: ';' expected. (1:8)
> 1 | declare module {
| ^
2 | export class XDate {
3 | public getDay():number;
4 | public getXDate():number;
../TypeScript/tests/cases/compiler/externModuleClobber.ts
../TypeScript/tests/cases/compiler/externSemantics.ts
../TypeScript/tests/cases/compiler/externSyntax.ts
../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: SyntaxError: ',' expected. (2:7)
1 | foo((...Far:any[])=>{return 0;})
> 2 | foo((1)=>{return 0;});
| ^
3 | foo((x?)=>{return x;})
4 | foo((x=0)=>{return x;})
5 | var y = x:number => x*x;
../TypeScript/tests/cases/compiler/fatarrowfunctionsInFunctionParameterDefaults.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsInFunctions.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgs.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgs.ts: SyntaxError: ';' expected. (88:22)
86 |
87 | //multiple levels
> 88 | (a?) => { return a; } ? (b)=>(c)=>81 : (c)=>(d)=>82;
| ^
89 |
90 |
91 | // In Expressions
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors1.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts: SyntaxError: ';' expected. (1:22)
> 1 | var tt1 = (a, (b, c)) => a+b+c;
| ^
2 | var tt2 = ((a), b, c) => a+b+c;
3 |
4 | var tt3 = ((a)) => a;
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors3.ts
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors3.ts: SyntaxError: Identifier expected. (1:4)
> 1 | (...) => 105;
| ^
2 |
../TypeScript/tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors4.ts
../TypeScript/tests/cases/compiler/fatArrowSelf.ts
../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: SyntaxError: Expression expected. (31:5)
29 | }
30 |
> 31 | for () { // error
| ^
32 | }
../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: SyntaxError: JSX element 'arguments' has no corresponding closing tag. (5:5)
3 |
4 | function f() {
> 5 | <arguments>arguments;
| ^
6 | }
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts
../TypeScript/tests/cases/compiler/functionDeclarationWithResolutionOfTypeOfSameName01.ts: SyntaxError: JSX element 'f' has no corresponding closing tag. (5:5)
3 |
4 | function f() {
> 5 | <f>f;
| ^
6 | }
../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: SyntaxError: JSX element 'arguments' has no corresponding closing tag. (5:5)
3 |
4 | var x = function f() {
> 5 | <arguments>arguments;
| ^
6 | }
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName01.ts
../TypeScript/tests/cases/compiler/functionExpressionWithResolutionOfTypeOfSameName01.ts: SyntaxError: JSX element 'f' has no corresponding closing tag. (5:5)
3 |
4 | var x = function f() {
> 5 | <f>f;
| ^
6 | }
../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: SyntaxError: Identifier expected. (131:4)
129 | throw null;
130 | throw undefined.
> 131 | }
| ^
132 | }
../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: SyntaxError: '=>' expected. (3:16)
1 |
2 | // Error (no '=>')
> 3 | function f(x: ()) {
| ^
4 | }
5 |
6 | // Error (no '=>')
../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: SyntaxError: '}' expected. (17:33)
15 | }
16 | works():R {
> 17 | return <R>({ anything: 1 });
| ^
18 | }
19 |
20 | doesntWork():R {
../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: SyntaxError: Identifier expected. (17:22)
15 | } ();
16 | var a3: I<string> = z;
> 17 | var a4: I<string> = <K<number>>z;
| ^
18 |
19 |
../TypeScript/tests/cases/compiler/genericBaseClassLiteralProperty.ts
../TypeScript/tests/cases/compiler/genericBaseClassLiteralProperty2.ts
../TypeScript/tests/cases/compiler/genericCallbackInvokedInsideItsContainingFunction1.ts
../TypeScript/tests/cases/compiler/genericCallbacksAndClassHierarchy.ts
../TypeScript/tests/cases/compiler/genericCallSpecializedToTypeArg.ts
../TypeScript/tests/cases/compiler/genericCallsWithoutParens.ts
../TypeScript/tests/cases/compiler/genericCallsWithoutParens.ts: SyntaxError: '(' expected. (2:17)
1 | function f<T>() { }
> 2 | var r = f<number>; // parse error
| ^
3 |
4 | class C<T> {
5 | foo: T;
../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: SyntaxError: '(' expected. (4:16)
2 | }
3 |
> 4 | f<number,string>.
| ^
../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
../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: SyntaxError: ',' expected. (2:17)
1 | interface C<P> { x: P }
> 2 | interface A<T, U in C<T>> { x: U }
| ^
3 | interface B extends A<{}, { x: {} }> {} // Should not produce an error
4 |
../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: SyntaxError: ',' expected. (2:8)
1 | interface I<S> {
> 2 | f: <T in S>(x: T) => void
| ^
3 | }
4 |
5 | var x: I<{ s: string }>;
../TypeScript/tests/cases/compiler/genericConstructExpressionWithoutArgs.ts
../TypeScript/tests/cases/compiler/genericConstructExpressionWithoutArgs.ts: SyntaxError: '(' expected. (10:0)
8 | var c = new C // C<any>
9 | var c2 = new C<number> // error, type params are actually part of the arg list so you need both
> 10 |
| ^
../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: SyntaxError: Identifier expected. (399:20)
397 | interface i00<T = number> { a: T; }
398 | const i00c00 = (<i00>x).a;
> 399 | const i00c01 = (<i00<number>>x).a;
| ^
400 |
401 | interface i01<T, U = T> { a: [T, U]; }
402 | const i01c00 = (<i01<number>>x).a;
../TypeScript/tests/cases/compiler/genericDefaultsErrors.ts
../TypeScript/tests/cases/compiler/genericDefaultsErrors.ts: SyntaxError: ',' expected. (28:16)
26 |
27 | interface i04<T, U> {} // error
> 28 | interface i05<T in string> {} // error
| ^
29 | interface i06<T in string, U in number> {} // error
30 | interface i07<T, U in number> {} // error
31 | interface i08<T, U in T> {} // error
../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: SyntaxError: ',' expected. (8:6)
6 | }
7 | interface I {
> 8 | f<T in A>(): T
| ^
9 | } // { f: () => { a; } }
10 |
11 | // OK
../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:3704: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:4167: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:4165: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: SyntaxError: JSX element 'T' has no corresponding closing tag. (4:13)
2 | module foo {
3 | export var x: T;
> 4 | var y = <T>1;
| ^
5 | }
6 |
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter2.ts
../TypeScript/tests/cases/compiler/genericMergedDeclarationUsingTypeParameter2.ts: SyntaxError: JSX element 'T' has no corresponding closing tag. (4:13)
2 | module foo {
3 | export var x: T;
> 4 | var y = <T>1;
| ^
5 | }
6 |
../TypeScript/tests/cases/compiler/genericMethodOverspecialization.ts
../TypeScript/tests/cases/compiler/genericNewInterface.ts
../TypeScript/tests/cases/compiler/genericObjectCreationWithoutTypeArgs.ts
../TypeScript/tests/cases/compiler/genericObjectCreationWithoutTypeArgs.ts: SyntaxError: '(' expected. (6:25)
4 |
5 | var x1 = new SS<number>(); // OK
> 6 | var x2 = new SS < number>; // Correctly give error
| ^
7 | var x3 = new SS(); // OK
8 | var x4 = new SS; // Should be allowed, but currently give error ('supplied parameters do not match any signature of the call target')
9 |
../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: SyntaxError: JSX element 'T' has no corresponding closing tag. (2:9)
1 | function f<T>(x: T): T { return null; }
> 2 | var r = <T>(x: T) => x;
| ^
3 | r = f; // should be allowed
../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
../TypeScript/tests/cases/compiler/genericRecursiveImplicitConstructorErrors3.ts
../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: SyntaxError: ',' expected. (4:17)
2 | interface B extends A { b: string }
3 | interface C extends B { c: string }
> 4 | interface G<T, U in B> {
| ^
5 | x: T,
6 | y: U
7 | }
../TypeScript/tests/cases/compiler/generics1NoError.ts
../TypeScript/tests/cases/compiler/generics1NoError.ts: SyntaxError: ',' expected. (5:17)
3 | interface B extends A { b: string }
4 | interface C extends B { c: string }
> 5 | interface G<T, U in B> {
| ^
6 | x: T,
7 | y: U
8 | }
../TypeScript/tests/cases/compiler/generics2.ts
../TypeScript/tests/cases/compiler/generics2.ts: SyntaxError: ',' expected. (4:17)
2 | interface B extends A { b: string }
3 | interface C extends B { c: string }
> 4 | interface G<T, U in B> {
| ^
5 | x: T,
6 | y: U
7 | }
../TypeScript/tests/cases/compiler/generics2NoError.ts
../TypeScript/tests/cases/compiler/generics2NoError.ts: SyntaxError: ',' expected. (5:17)
3 | interface B extends A { b: string }
4 | interface C extends B { c: string }
> 5 | interface G<T, U in B> {
| ^
6 | x: T,
7 | y: U
8 | }
../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: SyntaxError: ',' expected. (5:17)
3 |
4 | interface C extends B { c: string }
> 5 | interface G<T, U in B> {}
| ^
6 |
7 | var v3: G<A, A>; // Error, A not valid argument for U
8 |
../TypeScript/tests/cases/compiler/genericsAndHigherOrderFunctions.ts
../TypeScript/tests/cases/compiler/genericsAndHigherOrderFunctions.ts: SyntaxError: Identifier expected. (11:11)
9 | (x: U) => f(g(x))
10 |
> 11 | var foo: <K, N>(g: (x: K) => N) =>
| ^
12 | (h: <M>(_: (_: K) => (_: M) => M) => (_: M) => M) =>
13 | <R>(f: (_: N) => (_: R) => R) => (_: R) => R
14 |
../TypeScript/tests/cases/compiler/genericSignatureIdentity.ts
../TypeScript/tests/cases/compiler/genericSignatureIdentity.ts: SyntaxError: ',' expected. (7:5)
5 |
6 | var x: {
> 7 | <T in Date>(x: T): T
| ^
8 | };
9 |
10 | var x: {
../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: SyntaxError: JSX element 'any' has no corresponding closing tag. (15:17)
13 | var r2 = _.all([true], _.identity);
14 | var r3 = _.all([], _.identity);
> 15 | var r4 = _.all([<any>true], _.identity);
| ^
16 |
../TypeScript/tests/cases/compiler/genericTypeAssertions1.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions1.ts: SyntaxError: Identifier expected. (3:21)
1 | class A<T> { foo(x: T) { }}
2 | var foo = new A<number>();
> 3 | var r: A<string> = <A<number>>new A(); // error
| ^
4 | var r2: A<number> = <A<A<number>>>foo; // error
../TypeScript/tests/cases/compiler/genericTypeAssertions2.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions2.ts: SyntaxError: Identifier expected. (9:21)
7 |
8 | var foo = new A<number>();
> 9 | var r: A<string> = <B<string>>new B();
| ^
10 | var r2: A<number> = <B<string>>new B(); // error
11 | var r3: B<number> = <A<number>>new B(); // error
12 | var r4: A<number> = <A<number>>new A();
../TypeScript/tests/cases/compiler/genericTypeAssertions3.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions3.ts: SyntaxError: Expression expected. (1:8)
> 1 | var r = < <T>(x: T) => T > ((x) => { return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertion instead of no error
| ^
2 | var s = < <T>(x: T) => T > ((x: any) => { return null; }); // no error
3 |
../TypeScript/tests/cases/compiler/genericTypeAssertions4.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions4.ts: SyntaxError: JSX element 'T' has no corresponding closing tag. (24:9)
22 | y = <T>a;
23 | y = <T>b; // error: cannot convert B to T
> 24 | y = <T>c; // error: cannot convert C to T
| ^
25 | }
../TypeScript/tests/cases/compiler/genericTypeAssertions5.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions5.ts: SyntaxError: JSX element 'T' has no corresponding closing tag. (24:9)
22 | y = <T>a;
23 | y = <T>b; // error: cannot convert B to T
> 24 | y = <T>c; // error: cannot convert C to T
| ^
25 | }
../TypeScript/tests/cases/compiler/genericTypeAssertions6.ts
../TypeScript/tests/cases/compiler/genericTypeAssertions6.ts: SyntaxError: Identifier expected. (13:22)
11 | }
12 |
> 13 | class B<T extends Date, U extends Date> extends A<T, U> {
| ^
14 | g(x: T) {
15 | var a: Date = x;
16 | var b = <Date>x;
../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
../TypeScript/tests/cases/compiler/genericTypeWithNonGenericBaseMisMatch.ts
../TypeScript/tests/cases/compiler/genericWithCallSignatureReturningSpecialization.ts
../TypeScript/tests/cases/compiler/genericWithCallSignatures1.ts
../TypeScript/tests/cases/compiler/genericWithCallSignatures1.ts: SyntaxError: JSX element 'string' has no corresponding closing tag. (15:17)
13 |
14 | public myMethod() {
> 15 | var x = <string> this.callableThing();
| ^
16 | }
17 | }
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType1.ts
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType1.ts: SyntaxError: Expression expected. (2:22)
1 | class LazyArray<T> {
> 2 | private objects = <{ [objectId: string]: T; }>{};
| ^
3 | array() {
4 | return this.objects;
5 | }
../TypeScript/tests/cases/compiler/genericWithIndexerOfTypeParameterType2.ts
../TypeScript/tests/cases/compiler/genericWithOpenTypeParameters1.ts
../TypeScript/tests/cases/compiler/genericWithOpenTypeParameters1.ts: SyntaxError: Expression expected. (7:26)
5 | var x: B<number>;
6 | x.foo(1); // no error
> 7 | var f = <T>(x: B<T>) => { return x.foo(1); } // error
| ^
8 | var f2 = <T>(x: B<T>) => { return x.foo<T>(1); } // error
9 | var f3 = <T>(x: B<T>) => { return x.foo<number>(1); } // error
10 | var f4 = (x: B<number>) => { return x.foo(1); } // no error
../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: SyntaxError: '}' expected. (5:13)
3 |
4 | Object.defineProperty({}, "0", <PropertyDescriptor>({
> 5 | get: getFunc,
| ^
6 | set: setFunc,
7 | configurable: true
8 | }));
../TypeScript/tests/cases/compiler/getterThatThrowsShouldNotNeedReturn.ts
../TypeScript/tests/cases/compiler/giant.ts
../TypeScript/tests/cases/compiler/giant.ts: SyntaxError: Type expected. (64:16)
62 | //Index Signature
63 | p,
> 64 | [p1: string]: ,
| ^
65 | [p2: string, p3: number]: ,
66 |
67 | //Property Signature
../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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: Expression expected. (7:4)
5 |
6 | function B() {
> 7 | var someLocal: any = {};
| ^
8 | return someLocal;
9 | }
10 |
../TypeScript/tests/cases/compiler/implicitAnyCastedValue.ts
../TypeScript/tests/cases/compiler/implicitAnyCastedValue.ts: SyntaxError: Expression expected. (7:4)
5 |
6 | function foo() {
> 7 | return <any>"hello world"; // this should not be an error
| ^
8 | }
9 |
10 | class C {
../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: SyntaxError: ',' expected. (29:26)
27 |
28 | class C {
> 29 | constructor(emtpyArray: any, variable: any) {
| ^
30 | }
31 | }
32 |
../TypeScript/tests/cases/compiler/implicitAnyFunctionOverloadWithImplicitAnyReturnType.ts
../TypeScript/tests/cases/compiler/implicitAnyFunctionReturnNullOrUndefined.ts
../TypeScript/tests/cases/compiler/implicitAnyGenerics.ts
../TypeScript/tests/cases/compiler/implicitAnyGenerics.ts: SyntaxError: Expression expected. (22:23)
20 | var d5: D<any> = new D(null);
21 |
> 22 | function foo<T>(): T { return null; };
| ^
23 | foo()
24 | foo<any>();
25 |
../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: SyntaxError: Identifier expected. (22:17)
20 | var array3: any[] = [null, undefined];
21 | var array4: number[] = [null, undefined];
> 22 | var array5 = <any[]>[null, undefined];
| ^
23 |
24 | var objLit: { new (n: number): any; };
25 | function anyReturnFunc(): any { }
../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
../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
../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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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
../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: SyntaxError: Identifier expected. (2:17)
1 | // used to leak __missing into error message
> 2 | var p2 = window.
| ^
../TypeScript/tests/cases/compiler/incompleteObjectLiteral1.ts
../TypeScript/tests/cases/compiler/incompleteObjectLiteral1.ts: SyntaxError: ':' expected. (1:13)
> 1 | var tt = { aa; }
| ^
2 | var x = tt;
../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: SyntaxError: ',' expected. (10:10)
8 |
9 | type Data<T> = {
> 10 | get: <K in keyof T>(prop: K) => T[K]
| ^
11 | };
12 |
13 | class Parent<M> {
../TypeScript/tests/cases/compiler/indexer.ts
../TypeScript/tests/cases/compiler/indexer2.ts
../TypeScript/tests/cases/compiler/indexer2.ts: SyntaxError: JSX element 'IDirectChildrenMap' has no corresponding closing tag. (6:25)
4 | [objectId: number] : IHeapObjectProperty[];
5 | }
> 6 | var directChildrenMap = <IDirectChildrenMap>{};
| ^
../TypeScript/tests/cases/compiler/indexer2A.ts
../TypeScript/tests/cases/compiler/indexer2A.ts: SyntaxError: JSX element 'IDirectChildrenMap' has no corresponding closing tag. (7:25)
5 | [objectId: number]: IHeapObjectProperty[]
6 | }
> 7 | var directChildrenMap = <IDirectChildrenMap>{};
| ^
../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
../TypeScript/tests/cases/compiler/indexIntoEnum.ts
../TypeScript/tests/cases/compiler/indexSignatureMustHaveTypeAnnotation.ts
../TypeScript/tests/cases/compiler/indexSignatureMustHaveTypeAnnotation.ts: SyntaxError: Type expected. (5:0)
3 | x: string,
4 | [x: string]:
> 5 | }
| ^
6 |
7 | class C {
8 | // Used to be indexer, now it is a computed property
../TypeScript/tests/cases/compiler/indexSignaturesInferentialTyping.ts
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck.ts
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck.ts: SyntaxError: Type expected. (10:17)
8 |
9 | interface indexErrors {
> 10 | [p2?: string]: ,
| ^
11 | [...p3: any[]]: ,
12 | [p4: string, p5?: string]: ,
13 | [p6: string, ...p7: any[]]:
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck2.ts
../TypeScript/tests/cases/compiler/indexSignatureTypeCheck2.ts: SyntaxError: Type expected. (10:17)
8 |
9 | interface indexErrors {
> 10 | [p2?: string]: ,
| ^
11 | [...p3: any[]]: ,
12 | [p4: string, p5?: string]: ,
13 | [p6: string, ...p7: any[]]:
../TypeScript/tests/cases/compiler/indexSignatureWithAccessibilityModifier.ts
../TypeScript/tests/cases/compiler/indexSignatureWithInitializer.ts
../TypeScript/tests/cases/compiler/indexSignatureWithInitializer1.ts
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1..ts
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1.ts
../TypeScript/tests/cases/compiler/indexSignatureWithoutTypeAnnotation1.ts: SyntaxError: Type expected. (3:0)
1 | class C {
2 | [a: number]:
> 3 | }
| ^
4 |
../TypeScript/tests/cases/compiler/indexTypeCheck.ts
../TypeScript/tests/cases/compiler/indexTypeCheck.ts: SyntaxError: '}' expected. (58:11)
56 | class Benchmark {
57 |
> 58 | public results: { [x:string]: any; } = <{ [x:string]: any; }>{};
| ^
59 |
60 | public addTimingFor(name: string, timing: number) {
61 | this.results[name] = this.results[name];
../TypeScript/tests/cases/compiler/indexWithoutParamType.ts
../TypeScript/tests/cases/compiler/indexWithoutParamType.ts: SyntaxError: Type expected. (1:14)
> 1 | var y: { []: }; // Error
| ^
2 |
../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: SyntaxError: JSX element 'typeof' has no corresponding closing tag. (29:13)
27 |
28 | // type assertion
> 29 | s = map("", <typeof identity>identity);
| ^
30 |
31 | // parenthesized expression
32 | s = map("", (identity));
../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
../TypeScript/tests/cases/compiler/infinitelyExpandingBaseTypes1.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingBaseTypes2.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingOverloads.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypeAssignability.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes1.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes2.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes3.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes4.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypes5.ts
../TypeScript/tests/cases/compiler/infinitelyExpandingTypesNonGenericBase.ts
../TypeScript/tests/cases/compiler/infinitelyGenerativeInheritance1.ts
../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
../TypeScript/tests/cases/compiler/inheritedFunctionAssignmentCompatibility.ts
../TypeScript/tests/cases/compiler/inheritedGenericCallSignature.ts
../TypeScript/tests/cases/compiler/inheritedMembersAndIndexSignaturesFromDifferentBases.ts
../TypeScript/tests/cases/compiler/inheritedMembersAndIndexSignaturesFromDifferentBases2.ts
../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
../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: SyntaxError: ';' expected. (5:11)
3 | // inner mod 1
4 | var non_export_var: number;
> 5 | module {
| ^
6 | var non_export_var = 0;
7 | export var export_var = 1;
8 |
../TypeScript/tests/cases/compiler/innerModExport2.ts
../TypeScript/tests/cases/compiler/innerModExport2.ts: SyntaxError: ';' expected. (5:11)
3 | // inner mod 1
4 | var non_export_var: number;
> 5 | module {
| ^
6 | var non_export_var = 0;
7 | export var export_var = 1;
8 |
../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:3704: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:4167: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:4165: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:3704: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:4167: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:4165: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: SyntaxError: Invalid character. (1:0)
> 1 | ��// Spec:
| ^
2 |
3 | // The instanceof operator requires the left operand to be of type Any or an object type, and the right
4 |
../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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/compiler/instanceSubtypeCheck1.ts
../TypeScript/tests/cases/compiler/instanceSubtypeCheck2.ts
../TypeScript/tests/cases/compiler/instantiateConstraintsToTypeArguments2.ts
../TypeScript/tests/cases/compiler/instantiateConstraintsToTypeArguments2.ts: SyntaxError: ',' expected. (1:14)
> 1 | interface A<T in A<T, S>, S in A<T, S>> {}
| ^
2 | interface B<T in B<T, S>, S in B<T, S>> extends A<B<T, S>, B<T, S>> {}
3 |
../TypeScript/tests/cases/compiler/instantiateContextuallyTypedGenericThis.ts
../TypeScript/tests/cases/compiler/instantiateCrossFileMerge.ts
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints.ts
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints.ts: SyntaxError: ',' expected. (1:16)
> 1 | interface Foo<T in Foo<T, C>, C> {
| ^
2 | foo(bar: C): void
3 | }
4 |
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints2.ts
../TypeScript/tests/cases/compiler/instantiatedBaseTypeConstraints2.ts: SyntaxError: ',' expected. (1:14)
> 1 | interface A<T in A<T, S>, S in A<T, S>> {}
| ^
2 | interface B<U> extends A<B<U>, B<U>> {}
3 |
../TypeScript/tests/cases/compiler/instantiatedReturnTypeContravariance.ts
../TypeScript/tests/cases/compiler/instantiatedTypeAliasDisplay.ts
../TypeScript/tests/cases/compiler/instantiateTypeParameter.ts
../TypeScript/tests/cases/compiler/instantiateTypeParameter.ts: SyntaxError: Property or signature expected. (2:4)
1 | interface Foo<T> {
> 2 | var x: T<>;
| ^
3 | }
../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: SyntaxError: '{' expected. (39:13)
37 |
38 | // Negative case
> 39 | interface Foo.I1 { }
| ^
40 |
../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
../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: SyntaxError: ';' expected. (1:10)
> 1 | interface { }
| ^
2 | interface interface{ }
3 | interface & { }
4 |
../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: SyntaxError: ',' expected. (7:4)
5 | interface I1<
6 | T,
> 7 | U in T // Length mismatch
| ^
8 | > {}
9 | interface I1<
10 | V in string // constraint present
../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
../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: SyntaxError: '}' expected. (6:50)
4 |
5 | const parameterFn = (props:{store:string}) => alert(props.store)
> 6 | const brokenFunction = <OwnProps>(f: (p: {dispatch: number} & OwnProps) => void) => (o: OwnProps) => o
| ^
7 | export const Form3 = brokenFunction(parameterFn)({store: "hello"})
8 |
../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: SyntaxError: Expression expected. (117:34)
115 | var obj15: i2 = new Base;
116 | var obj16: i2 = null;
> 117 | var obj17: i2 = function ():any { return 0; };
| ^
118 | //var obj18: i2 = function foo() { };
119 | var obj19: i2 = <i2> anyVar;
120 | var obj20: i2 = new <i2> anyVar;
../TypeScript/tests/cases/compiler/invalidConstraint1.ts
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES5.ts
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES5.ts: SyntaxError: '=' expected. (6:12)
4 |
5 | var let = 10;
> 6 | for (let of [1,2,3]) {}
| ^
7 |
8 | for (let in [1,2,3]) {}
9 |
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES6.ts
../TypeScript/tests/cases/compiler/invalidLetInForOfAndForIn_ES6.ts: SyntaxError: '=' expected. (6:12)
4 |
5 | var let = 10;
> 6 | for (let of [1,2,3]) {}
| ^
7 |
8 | for (let in [1,2,3]) {}
9 |
../TypeScript/tests/cases/compiler/invalidReferenceSyntax1.ts
../TypeScript/tests/cases/compiler/invalidReferenceSyntax1.ts: SyntaxError: Invalid 'reference' directive syntax. (1:0)
> 1 | /// <reference path="missingquote.ts />
| ^
2 | class C {
3 |
4 | }
../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: SyntaxError: Invalid character. (1:7)
> 1 | var arg\u003
| ^
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance2.ts
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance2.ts: SyntaxError: Invalid character. (1:7)
> 1 | var arg\uxxxx
| ^
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance3.ts
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance3.ts: SyntaxError: Invalid character. (1:1)
> 1 | a\u
| ^
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance4.ts
../TypeScript/tests/cases/compiler/invalidUnicodeEscapeSequance4.ts: SyntaxError: Invalid character. (2:4)
1 | var a\u0031; // a1 is a valid identifier
> 2 | var \u0031a; // 1a is an invalid identifier
| ^
../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
../TypeScript/tests/cases/compiler/ipromise3.ts
../TypeScript/tests/cases/compiler/ipromise4.ts
../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: SyntaxError: Expression expected. (7:15)
5 | export default class a {
6 | }
> 7 | export default var a = 10;
| ^
../TypeScript/tests/cases/compiler/jsFileCompilationBindReachabilityErrors.ts
../TypeScript/tests/cases/compiler/jsFileCompilationBindStrictModeErrors.ts
../TypeScript/tests/cases/compiler/jsFileCompilationBindStrictModeErrors.ts: SyntaxError: ',' expected. (40:10)
38 | //@filename: d.js
39 | "use strict";
> 40 | var x = 009; // error
| ^
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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: SyntaxError: JSX element 'string' has no corresponding closing tag. (3:9)
1 | // @allowJs: true
2 | // @filename: a.js
> 3 | var v = <string>undefined;
| ^
../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: SyntaxError: JSX element 'boolean' has no corresponding closing tag. (5:9)
3 | var n = <number>(null);
4 | var s = <string>(null);
> 5 | var b = <boolean>(n);
| ^
6 |
7 | function isVoid() : void { }
8 |
../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: SyntaxError: '}' expected. (10:15)
8 |
9 | // scenario 2
> 10 | interface A { x: string; }
| ^
11 |
12 | interface B extends A { }
13 |
../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
../TypeScript/tests/cases/compiler/matchingOfObjectLiteralConstraints.ts
../TypeScript/tests/cases/compiler/matchReturnTypeInAllBranches.ts
../TypeScript/tests/cases/compiler/maxConstraints.ts
../TypeScript/tests/cases/compiler/maxConstraints.ts: SyntaxError: ',' expected. (5:5)
3 | }
4 | interface Comparer {
> 5 | <T in Comparable<T>>(x: T, y: T): T
| ^
6 | }
7 | var max2: Comparer = (x, y) => {
8 | return x.compareTo(y) > 0 ? x : y;
../TypeScript/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts
../TypeScript/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts: SyntaxError: ';' expected. (9:19)
7 | // @filename: /tsconfig.json
8 | {
> 9 | "compileOnSave": true,
| ^
10 | "compilerOptions": {
11 | "module": "commonjs",
12 | "moduleResolution": "node",
../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
../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
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/compiler/methodContainingLocalFunction.ts
../TypeScript/tests/cases/compiler/methodContainingLocalFunction.ts: SyntaxError: '=>' expected. (31:25)
29 | exhibit() {
30 | var funcExpr = <U>(u?: U) => { };
> 31 | var x: { (): void; };
| ^
32 | x = funcExpr;
33 | }
34 | }
../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
../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
../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:
===================================================================
---
+++
@@ -18,11 +18,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
../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
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName2.ts
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName3.ts
../TypeScript/tests/cases/compiler/moduleAndInterfaceSharingName4.ts
../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: SyntaxError: '}' expected. (10:14)
8 |
9 | declare module "./observable" {
> 10 | interface I {x0}
| ^
11 | }
12 |
13 | // @filename: map2.ts
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit1.ts
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit1.ts: SyntaxError: '}' expected. (10:14)
8 |
9 | declare module "./observable" {
> 10 | interface Observable<T> {
| ^
11 | map<U>(proj: (e:T) => U): Observable<U>
12 | }
13 | namespace Observable {
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit2.ts
../TypeScript/tests/cases/compiler/moduleAugmentationDeclarationEmit2.ts: SyntaxError: '}' expected. (10:14)
8 |
9 | declare module "./observable" {
> 10 | interface Observable<T> {
| ^
11 | map<U>(proj: (e:T) => U): Observable<U>
12 | }
13 | namespace Observable {
../TypeScript/tests/cases/compiler/moduleAugmentationDisallowedExtensions.ts
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule1.ts
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule1.ts: SyntaxError: '}' expected. (9:14)
7 |
8 | declare module "observable" {
> 9 | interface Observable<T> {
| ^
10 | map<U>(proj: (e:T) => U): Observable<U>
11 | }
12 | namespace Observable {
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule2.ts
../TypeScript/tests/cases/compiler/moduleAugmentationExtendAmbientModule2.ts: SyntaxError: '}' expected. (10:14)
8 |
9 | declare module "observable" {
> 10 | interface Observable<T> {
| ^
11 | map<U>(proj: (e:T) => U): Observable<U>
12 | }
13 | namespace Observable {
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule1.ts
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule1.ts: SyntaxError: '}' expected. (9:14)
7 |
8 | declare module "./observable" {
> 9 | interface Observable<T> {
| ^
10 | map<U>(proj: (e:T) => U): Observable<U>
11 | }
12 | namespace Observable {
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule2.ts
../TypeScript/tests/cases/compiler/moduleAugmentationExtendFileModule2.ts: SyntaxError: '}' expected. (9:14)
7 |
8 | declare module "./observable" {
> 9 | interface Observable<T> {
| ^
10 | map<U>(proj: (e:T) => U): Observable<U>
11 | }
12 | namespace Observable {
../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: SyntaxError: '}' expected. (9:14)
7 |
8 | declare module "./observable" {
> 9 | interface Observable<T> {
| ^
10 | map<U>(proj: (e:T) => U): Observable<U>
11 | }
12 | class Bar {}
../TypeScript/tests/cases/compiler/moduleAugmentationsBundledOutput1.ts
../TypeScript/tests/cases/compiler/moduleAugmentationsBundledOutput1.ts: SyntaxError: Expression expected. (12:40)
10 | // @filename: m2.ts
11 | import {Cls} from "./m1";
> 12 | (<any>Cls.prototype).foo = function() { return 1; };
| ^
13 | (<any>Cls.prototype).bar = function() { return "1"; };
14 |
15 | declare module "./m1" {
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/moduleImportedForTypeArgumentPosition.ts
../TypeScript/tests/cases/compiler/moduleInTypePosition1.ts
../TypeScript/tests/cases/compiler/moduleKeywordRepeatError.ts
../TypeScript/tests/cases/compiler/moduleKeywordRepeatError.ts: SyntaxError: ';' expected. (3:14)
1 | // "module.module { }" should raise a syntax error
2 |
> 3 | module.module { }
| ^
../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: SyntaxError: Declaration or statement expected. (9:4)
7 | module M2 {
8 | var x = 10; // variable local to this module body
> 9 | private y = x; // can't use private in modules
| ^
10 | export var z = y; // property visible to any code
11 | }
../TypeScript/tests/cases/compiler/moduleProperty2.ts
../TypeScript/tests/cases/compiler/moduleRedifinitionErrors.ts
../TypeScript/tests/cases/compiler/moduleReopenedTypeOtherBlock.ts
../TypeScript/tests/cases/compiler/moduleReopenedTypeSameBlock.ts
../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: SyntaxError: ';' expected. (6:5)
4 |
5 | // @Filename: /node_modules/normalize.css/normalize.css
> 6 | This file is not read.
| ^
7 |
8 | // @Filename: /node_modules/normalize.css/package.json
9 | { "main": "normalize.css" }
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected2.ts
../TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_unexpected2.ts: SyntaxError: ';' expected. (6:5)
4 |
5 | // @Filename: /node_modules/foo/foo.js
> 6 | This file is not read.
| ^
7 |
8 | // @Filename: /node_modules/foo/package.json
9 | { "types": "foo.js" }
../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: SyntaxError: ';' expected. (19:21)
17 | // @filename: /src/tsconfig.json
18 | {
> 19 | "compilerOptions": {
| ^
20 | "outDir": "bin"
21 | }
22 | }
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_referenceTypes.ts
../TypeScript/tests/cases/compiler/moduleResolutionWithSymlinks_referenceTypes.ts: SyntaxError: ';' expected. (23:21)
21 | // @filename: tsconfig.json
22 | {
> 23 | "compilerOptions": {
| ^
24 | // If this is its default of node_modules/@types,
25 | // node_modules/@types/library-a will be looked up be fore node_modules/@types/library-b/node_modules/@types/library-a
26 | "typeRoots": []
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167:12)
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17)
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt.ts
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt2.ts
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt3.ts
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt4.ts
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt5.ts
../TypeScript/tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt6.ts
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: JSX element 'M.I' has no corresponding closing tag. (60:20)
58 | }
59 |
> 60 | var cprime : M.I = <M.I>null;
| ^
61 |
62 | var c = new M.C();
63 | var z = M.x;
../TypeScript/tests/cases/compiler/moduleVisibilityTest2.ts
../TypeScript/tests/cases/compiler/moduleVisibilityTest2.ts: SyntaxError: JSX element 'M.I' has no corresponding closing tag. (61:20)
59 | }
60 |
> 61 | var cprime : M.I = <M.I>null;
| ^
62 |
63 | var c = new M.C();
64 | var z = M.x;
../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
../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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/namespaces2.ts
../TypeScript/tests/cases/compiler/namespacesDeclaration1.ts
../TypeScript/tests/cases/compiler/namespacesDeclaration2.ts
../TypeScript/tests/cases/compiler/narrowedConstInMethod.ts
../TypeScript/tests/cases/compiler/narrowedConstInMethod.ts: SyntaxError: Expression expected. (7:8)
5 | const x: string | null = <any>{};
6 | if (x !== null) {
> 7 | return {
| ^
8 | bar() { return x.length; } // ok
9 | };
10 | }
../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:3704: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:4167: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:4165: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:3704: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:4167: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:4165: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: SyntaxError: Expression expected. (9:16)
7 | function Test2() { }
8 | // parse error
> 9 | var test2 = new <any>Test2();
| ^
10 |
11 | function Test3() { }
12 | // valid with noImplicitAny
../TypeScript/tests/cases/compiler/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts
../TypeScript/tests/cases/compiler/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts: SyntaxError: ',' expected. (2:9)
1 | interface I<T> {
> 2 | new <U in T>(u: U): U
| ^
3 | }
4 | var i: I<string>;
5 | var y = new i(""); // y should be string
../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: SyntaxError: Expression expected. (1:13)
> 1 | var x = new ();
| ^
2 |
../TypeScript/tests/cases/compiler/newNamesInGlobalAugmentations1.ts
../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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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: SyntaxError: '}' expected. (8:6)
6 | let [a4] = [<any>undefined], [b4] = [<any>null], c4 = <any>undefined, d4 = <any>null; // no error
7 |
> 8 | let {x, y, z} = { x: 1, y: 2, z: 3 }; // no error
| ^
9 | let {x1 = 10, y1 = 10, z1 = 10} = { x1: 1, y1: 2, z1: 3 }; // no error
10 | let {x2 = undefined, y2 = undefined, z2 = undefined} = { x2: 1, y2: 2, z2: 3 }; // no error
11 | let {x3 = <any>undefined, y3 = <any>null, z3 = <any>undefined} = { x3: 1, y3: 2, z3: 3 }; // no error
../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: SyntaxError: '}' expected. (11:10)
9 |
10 | // Expr type not assignable to target type
> 11 | (<IFoo>{ a: null });
| ^
12 |
13 | // Expr type assignable to target type
14 | (<IFoo>{ a: 2, b: undefined });
../TypeScript/tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts
../TypeScript/tests/cases/compiler/noImplicitAnyIndexing.ts
../TypeScript/tests/cases/compiler/noImplicitAnyIndexing.ts: SyntaxError: ',' expected. (36:8)
34 |
35 | interface MyMap<T> {
> 36 | [key: string]: T;
| ^
37 | }
38 |
39 | var m: MyMap<number> = {
../TypeScript/tests/cases/compiler/noImplicitAnyIndexingSuppressed.ts
../TypeScript/tests/cases/compiler/noImplicitAnyIndexingSuppressed.ts: SyntaxError: ',' expected. (36:8)
34 |
35 | interface MyMap<T> {
> 36 | [key: string]: T;
| ^
37 | }
38 |
39 | var m: MyMap<number> = {
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../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: SyntaxError: ',' expected. (10:16)
8 | n: T;
9 | }
> 10 | interface Foo<T in Different> {
| ^
11 | y: T
12 | }
13 | interface Qux<T in Different> {
../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: SyntaxError: ';' expected. (3:2)
1 | 1..toString();
2 | 1.0.toString();
> 3 | 1.toString();
| ^
4 | 1.+2.0 + 3. ;
5 |
6 | // Preserve whitespace where important for JS compatibility
../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: SyntaxError: '}' expected. (12:25)
10 |
11 | var a = Object.create(null, {}); // any
> 12 | var a = Object.create({ a: 1, b: "" }, {});
| ^
13 | var a = Object.create(union, {});
14 | var a = Object.create({}, {});
15 | var a = Object.create(<object>{}, {});
../TypeScript/tests/cases/compiler/objectCreate2.ts
../TypeScript/tests/cases/compiler/objectCreate2.ts: SyntaxError: '}' expected. (12:25)
10 |
11 | var a = Object.create(null, {}); // any
> 12 | var a = Object.create({ a: 1, b: "" }, {});
| ^
13 | var a = Object.create(union, {});
14 | var a = Object.create({}, {});
15 | var a = Object.create(<object>{}, {});
../TypeScript/tests/cases/compiler/objectCreationExpressionInFunctionParameter.ts
../TypeScript/tests/cases/compiler/objectCreationExpressionInFunctionParameter.ts: SyntaxError: Declaration or statement expected. (6:1)
4 | }
5 | function foo(x = new A(123)) { //should error, 123 is not string
> 6 | }}
| ^
../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: SyntaxError: Declaration or statement expected. (27:0)
25 | }
26 | }
> 27 | }
| ^
../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: SyntaxError: ':' expected. (1:11)
> 1 | var v = { a; b; c }
| ^
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons2.ts
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons2.ts: SyntaxError: ':' expected. (2:3)
1 | var v = {
> 2 | a;
| ^
3 | b;
4 | c
5 | }
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons3.ts
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons3.ts: SyntaxError: ':' expected. (2:3)
1 | var v = {
> 2 | a;
| ^
3 | b;
4 | c;
5 | }
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons4.ts
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons4.ts: SyntaxError: ':' expected. (3:0)
1 | var v = {
2 | a
> 3 | ;
| ^
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons5.ts
../TypeScript/tests/cases/compiler/objectLiteralWithSemicolons5.ts: SyntaxError: ',' expected. (1:19)
> 1 | var v = { foo() { }; a: b; get baz() { }; }
| ^
../TypeScript/tests/cases/compiler/objectLitGetterSetter.ts
../TypeScript/tests/cases/compiler/objectLitGetterSetter.ts: SyntaxError: '}' expected. (3:19)
1 | var obj = {};
2 | Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({
> 3 | get: function () {
| ^
4 | eval("public = 1;");
5 | return 11;
6 | },
../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: SyntaxError: ';' expected. (11:6)
9 | //Call signatures can't be optional
10 | (): any;
> 11 | ()?: any; //err
| ^
12 | ?(): any; //err
13 | }
14 |
../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: SyntaxError: '{' or ';' expected. (3:13)
1 | // Making sure compiler won't break with declarations that are consecutive in the AST but not consecutive in the source. Syntax errors intentional.
2 |
> 3 | function f1(), function f1();
| ^
4 | function f2(), function f2() {}
5 | function f3() {}, function f3();
6 |
../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: SyntaxError: '(' expected. (1:13)
> 1 | function boo {
| ^
2 | static test()
3 | static test(name:string)
4 | static test(name?:any){ }
../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: SyntaxError: '}' expected. (19:65)
17 | var tokens:IToken[]= [];
18 | tokens.push({ startIndex: 1, type: '', bracket: 3 });
> 19 | tokens.push(<IToken>({ startIndex: 1, type: '', bracket: 3, state: null, length: 10 }));
| ^
20 | }
21 | }
../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: SyntaxError: Identifier expected. (4:0)
2 | function foo() {
3 | bar.
> 4 | }
| ^
5 |
../TypeScript/tests/cases/compiler/parse2.ts
../TypeScript/tests/cases/compiler/parse2.ts: SyntaxError: Argument expression expected. (3:0)
1 | function foo() {
2 | foo(
> 3 | }
| ^
../TypeScript/tests/cases/compiler/parseErrorInHeritageClause1.ts
../TypeScript/tests/cases/compiler/parseErrorInHeritageClause1.ts: SyntaxError: Invalid character. (1:18)
> 1 | class C extends A # {
| ^
2 | }
../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: SyntaxError: Expression expected. (2:8)
1 |
> 2 | var x = <() => number>null;
| ^
3 | var y = <{(): number; }>null;
4 | var z = <{new(): number; }>null
5 | var w = <{[x:number]: number; }>null
../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: SyntaxError: Expression expected. (23:4)
21 |
22 | if (ab.type === 'a') {
> 23 | if (ab.subtype === 2) {
| ^
24 | ab.foo;
25 | }
26 | }
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_classic.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_classic.ts: SyntaxError: ';' expected. (8:21)
6 | // @filename: c:/root/tsconfig.json
7 | {
> 8 | "compilerOptions": {
| ^
9 | "paths": {
10 | "*": [
11 | "*",
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution1_node.ts: SyntaxError: ';' expected. (7:21)
5 | // @filename: c:/root/tsconfig.json
6 | {
> 7 | "compilerOptions": {
| ^
8 | "paths": {
9 | "*": [
10 | "*",
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_classic.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_classic.ts: SyntaxError: ';' expected. (9:21)
7 | // @filename: root/tsconfig.json
8 | {
> 9 | "compilerOptions": {
| ^
10 | "baseUrl": "./src",
11 | "paths": {
12 | "*1*": [ "*2*" ]
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution2_node.ts: SyntaxError: ';' expected. (9:21)
7 | // @filename: root/tsconfig.json
8 | {
> 9 | "compilerOptions": {
| ^
10 | "baseUrl": "./src",
11 | "paths": {
12 | "*1*": [ "*2*" ]
../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: SyntaxError: ';' expected. (9:21)
7 | // @filename: c:/root/tsconfig.json
8 | {
> 9 | "compilerOptions": {
| ^
10 | "baseUrl": "."
11 | }
12 | }
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts: SyntaxError: ';' expected. (9:21)
7 | // @filename: c:/root/tsconfig.json
8 | {
> 9 | "compilerOptions": {
| ^
10 | "baseUrl": "."
11 | }
12 | }
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts: SyntaxError: ';' expected. (7:21)
5 | // @filename: c:/root/tsconfig.json
6 | {
> 7 | "compilerOptions": {
| ^
8 | "baseUrl": ".",
9 | "paths": {
10 | "*": [
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution5_node.ts: SyntaxError: ';' expected. (7:21)
5 | // @filename: c:/root/tsconfig.json
6 | {
> 7 | "compilerOptions": {
| ^
8 | "baseUrl": ".",
9 | "paths": {
10 | "*": [
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_classic.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_classic.ts: SyntaxError: ';' expected. (6:21)
4 | // @filename: c:/root/src/tsconfig.json
5 | {
> 6 | "compilerOptions": {
| ^
7 | "rootDirs": [
8 | ".",
9 | "../generated/src"
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution6_node.ts: SyntaxError: ';' expected. (6:21)
4 | // @filename: c:/root/src/tsconfig.json
5 | {
> 6 | "compilerOptions": {
| ^
7 | "rootDirs": [
8 | ".",
9 | "../generated/src"
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_classic.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_classic.ts: SyntaxError: ';' expected. (6:21)
4 | // @filename: c:/root/src/tsconfig.json
5 | {
> 6 | "compilerOptions": {
| ^
7 | "baseUrl": "../",
8 | "paths": {
9 | "*": [
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_node.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution7_node.ts: SyntaxError: ';' expected. (6:21)
4 | // @filename: c:/root/src/tsconfig.json
5 | {
> 6 | "compilerOptions": {
| ^
7 | "baseUrl": "../",
8 | "paths": {
9 | "*": [
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension.ts: SyntaxError: ';' expected. (17:21)
15 | // @Filename: /tsconfig.json
16 | {
> 17 | "compilerOptions": {
| ^
18 | "baseUrl": ".",
19 | "paths": {
20 | "foo": ["foo/foo.ts"],
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension_failedLookup.ts
../TypeScript/tests/cases/compiler/pathMappingBasedModuleResolution_withExtension_failedLookup.ts: SyntaxError: ';' expected. (9:21)
7 | // @Filename: /tsconfig.json
8 | {
> 9 | "compilerOptions": {
| ^
10 | "baseUrl": ".",
11 | "paths": {
12 | "foo": ["foo/foo.ts"]
../TypeScript/tests/cases/compiler/pathsValidation1.ts
../TypeScript/tests/cases/compiler/pathsValidation1.ts: SyntaxError: ';' expected. (3:21)
1 | // @filename: tsconfig.json
2 | {
> 3 | "compilerOptions": {
| ^
4 | "baseUrl": ".",
5 | "paths": {
6 | "*": "*"
../TypeScript/tests/cases/compiler/pathsValidation2.ts
../TypeScript/tests/cases/compiler/pathsValidation2.ts: SyntaxError: ';' expected. (3:21)
1 | // @filename: tsconfig.json
2 | {
> 3 | "compilerOptions": {
| ^
4 | "baseUrl": ".",
5 | "paths": {
6 | "*": [1]
../TypeScript/tests/cases/compiler/pathsValidation3.ts
../TypeScript/tests/cases/compiler/pathsValidation3.ts: SyntaxError: ';' expected. (3:21)
1 | // @filename: tsconfig.json
2 | {
> 3 | "compilerOptions": {
| ^
4 | "baseUrl": ".",
5 | "paths": {
6 | "foo": []
../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
../TypeScript/tests/cases/compiler/privacyCannotNameAccessorDeclFile.ts
../TypeScript/tests/cases/compiler/privacyCannotNameVarTypeDeclFile.ts
../TypeScript/tests/cases/compiler/privacyCheckAnonymousFunctionParameter.ts
../TypeScript/tests/cases/compiler/privacyCheckAnonymousFunctionParameter2.ts
../TypeScript/tests/cases/compiler/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.ts
../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
../TypeScript/tests/cases/compiler/privacyClassExtendsClauseDeclFile.ts
../TypeScript/tests/cases/compiler/privacyClassImplementsClauseDeclFile.ts
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:
===================================================================
---
+++
@@ -37,4 +37,5 @@
///<reference path='privacyFunctionCannotNameParameterTypeDeclFile_GlobalWidgets.ts'/>
+
import Widgets = require("./privacyFunctionCannotNameParameterTypeDeclFile_Widgets");
import Widgets1 = require("GlobalWidgets");
@@ -54,4 +55,5 @@
// @Filename:privacyFunctionCannotNameParameterTypeDeclFile_consumer.ts
+
import exporter = require("./privacyFunctionCannotNameParameterTypeDeclFile_exporter");
export class publicClassWithWithPrivateParmeterTypes {
../TypeScript/tests/cases/compiler/privacyFunctionCannotNameReturnTypeDeclFile.ts
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/privacyGloImportParseErrors.ts
../TypeScript/tests/cases/compiler/privacyGloInterface.ts
../TypeScript/tests/cases/compiler/privacyGloVar.ts
../TypeScript/tests/cases/compiler/privacyImport.ts
../TypeScript/tests/cases/compiler/privacyImportParseErrors.ts
../TypeScript/tests/cases/compiler/privacyInterface.ts
../TypeScript/tests/cases/compiler/privacyInterfaceExtendsClauseDeclFile.ts
../TypeScript/tests/cases/compiler/privacyLocalInternalReferenceImportWithExport.ts
../TypeScript/tests/cases/compiler/privacyLocalInternalReferenceImportWithoutExport.ts
../TypeScript/tests/cases/compiler/privacyTopLevelAmbientExternalModuleImportWithExport.ts
prettier(input) !== prettier(prettier(input))
Index:
===================================================================
---
+++
@@ -33,6 +33,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:
===================================================================
---
+++
@@ -36,6 +36,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
../TypeScript/tests/cases/compiler/privacyTopLevelInternalReferenceImportWithoutExport.ts
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunction.ts
../TypeScript/tests/cases/compiler/privacyTypeParameterOfFunction.ts: SyntaxError: ',' expected. (8:9)
6 | export interface publicInterfaceWithPrivateTypeParameters {
7 | // TypeParameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_type_1
> 8 | new <T in privateClass>(): privateClass,
| ^
9 |
10 | // TypeParameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_type_1
11 | <T in privateClass>(): privateClass,
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: ',' expected. (11:60)
9 |
10 | // TypeParameter_0_of_exported_interface_1_has_or_is_using_private_type_2
> 11 | export interface publicInterfaceWithPrivateTypeParameters<T in privateClass> {
| ^
12 | myMethod(
13 | val: T
14 | ): T, // Error
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterfaceDeclFile.ts
../TypeScript/tests/cases/compiler/privacyTypeParametersOfInterfaceDeclFile.ts: SyntaxError: ',' expected. (12:4)
10 |
11 | export interface publicInterfaceWithPrivateTypeParameters<
> 12 | T in privateClass // Error
| ^
13 | > {
14 | myMethod(val: T): T,
15 | myMethod0(): publicClassT<T>,
../TypeScript/tests/cases/compiler/privacyVar.ts
../TypeScript/tests/cases/compiler/privacyVarDeclFile.ts
../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: SyntaxError: ',' expected. (2:9)
1 | export interface IPromise<T, V> {
> 2 | then<U in T, W in V>(callback: (x: T) => IPromise<U, W>): IPromise<U, W>
| ^
3 | }
4 | export interface Promise<T, V> {
5 | then<U in T, W in V>(callback: (x: T) => Promise<U, W>): Promise<U, W>
../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: SyntaxError: ',' expected. (5:21)
3 | }
4 |
> 5 | interface CPromise<T in { x: any }> {
| ^
6 | then<U in { x: any }>(cb: (x: T) => Promise<U>): Promise<U>
7 | }
8 |
../TypeScript/tests/cases/compiler/promiseTest.ts
../TypeScript/tests/cases/compiler/promiseTest.ts: SyntaxError: Invalid character. (1:0)
> 1 | ��
| ^
2 | interface Promise<T> {
3 | then<A>(success?: (value: T) => Promise<A>): Promise<A>;
4 | then<B>(success?: (value: T) => B): Promise<B>;
../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: SyntaxError: Unexpected token. A constructor, method, accessor, or property was expected. (3:4)
1 | class Foo {
2 |
> 3 | try {
| ^
4 |
5 | public bar = someInitThatMightFail();
6 |
../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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/quotedAccessorName1.ts
../TypeScript/tests/cases/compiler/quotedAccessorName2.ts
../TypeScript/tests/cases/compiler/quotedFunctionName1.ts
../TypeScript/tests/cases/compiler/quotedFunctionName2.ts
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167:12)
at Object.printComments (/mnt/c/Users/Lucas Azzola/Code/prettier/src/comments.js:898:17)
../TypeScript/tests/cases/compiler/readonlyInDeclarationFile.ts
../TypeScript/tests/cases/compiler/readonlyInNonPropertyParameters.ts
../TypeScript/tests/cases/compiler/readonlyMembers.ts
../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
../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
../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: SyntaxError: ',' expected. (2:14)
1 | // used to ICE
> 2 | interface A<T in A<T, S>, S in A<T, S>> {}
| ^
3 | interface B<T in B<T, S>, S in B<T, S>> extends A<B<T, S>, B<T, S>> {}
4 |
../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: SyntaxError: ',' expected. (6:4)
4 |
5 | interface B<
> 6 | T in B<B<T>> // error, constraint referencing itself
| ^
7 | > {
8 | x: B<T>
9 | }
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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
../TypeScript/tests/cases/compiler/recursiveTypeComparison2.ts
../TypeScript/tests/cases/compiler/recursiveTypeIdentity.ts
../TypeScript/tests/cases/compiler/recursiveTypeIdentity.ts: SyntaxError: ',' expected. (2:5)
1 | interface A {
> 2 | <T in A>(x: T): void
| ^
3 | }
4 |
5 | interface B {
../TypeScript/tests/cases/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.ts
../TypeScript/tests/cases/compiler/recursiveTypeParameterReferenceError1.ts
../TypeScript/tests/cases/compiler/recursiveTypeParameterReferenceError2.ts
../TypeScript/tests/cases/compiler/recursiveTypeRelations.ts
../TypeScript/tests/cases/compiler/recursiveTypes1.ts
../TypeScript/tests/cases/compiler/recursiveTypes1.ts: SyntaxError: ',' expected. (1:19)
> 1 | interface Entity<T in Entity<T>> {
| ^
2 | X: T,
3 | Y: T
4 | }
../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
../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
../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: SyntaxError: Expression expected. (1:8)
> 1 | import while = require("dfdf");
| ^
2 | import * as while from "foo"
3 |
4 | var typeof = 10;
../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
../TypeScript/tests/cases/compiler/restArgAssignmentCompat.ts
../TypeScript/tests/cases/compiler/restArgMissingName.ts
../TypeScript/tests/cases/compiler/restArgMissingName.ts: SyntaxError: Identifier expected. (1:17)
> 1 | function sum (...) {}
| ^
2 |
../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: SyntaxError: '=' expected. (2:26)
1 | class C {
> 2 | constructor(...public rest: string[]) {}
| ^
3 | }
../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
../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: SyntaxError: Invalid character. (9:0)
7 |
8 | // @filename: f.ts
> 9 | #!/usr/bin/env node
| ^
10 |
11 | /// <reference path="f.d.ts"/>
12 |
../TypeScript/tests/cases/compiler/shebangError.ts
../TypeScript/tests/cases/compiler/shebangError.ts: SyntaxError: Invalid character. (2:0)
1 | var foo = 'Shebang is only allowed on the first line';
> 2 | #!/usr/bin/env node
| ^
../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: SyntaxError: Invalid character. (1:0)
> 1 | \ declare var v;
| ^
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: ',' expected. (32:4)
30 | constructor(
31 | ParameterDecorator1
> 32 | ParameterDecorator2(20)
| ^
33 | public greeting: string,
34 | ParameterDecorator1
35 | ParameterDecorator2(30)
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPattern2.ts: SyntaxError: Identifier expected. (88:79)
86 | console.log(numberA3);
87 | }
> 88 | for ([numberA3, ...robotAInfo] = <Robot>[2, "trimmer", "trimming"], i = 0; i < 1; i++) {
| ^
89 | console.log(numberA3);
90 | }
91 | for ([...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts: SyntaxError: Identifier expected. (113:84)
111 | console.log(numberA3);
112 | }
> 113 | for ([numberA3 = -1, ...robotAInfo] = <Robot>[2, "trimmer", "trimming"], i = 0; i < 1; i++) {
| ^
114 | console.log(numberA3);
115 | }
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern.ts: SyntaxError: '}' expected. (33:39)
31 | console.log(nameA);
32 | }
> 33 | for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
| ^
34 | console.log(nameA);
35 | }
36 | for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPattern2.ts: SyntaxError: '}' expected. (36:36)
34 | console.log(nameA);
35 | }
> 36 | for ({ name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
| ^
37 | console.log(nameA);
38 | }
39 | for ({ skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts: SyntaxError: '}' expected. (33:50)
31 | console.log(nameA);
32 | }
> 33 | for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
| ^
34 | console.log(nameA);
35 | }
36 | for (let {
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts: SyntaxError: '}' expected. (36:46)
34 | console.log(nameA);
35 | }
> 36 | for ({name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
| ^
37 | console.log(nameA);
38 | }
39 | for ({
../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: SyntaxError: Identifier expected. (49:15)
47 | for (let { skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } =
48 | { primary: "nosKill", secondary: "noSkill" } } of
> 49 | <MultiRobot[]>[{ name: "mower", skills: { primary: "mowing", secondary: "none" } },
| ^
50 | { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) {
51 | console.log(primaryA);
52 | }
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts: SyntaxError: Identifier expected. (52:15)
50 | for ({ skills: { primary: primaryA = "primary", secondary: secondaryA = "secondary" } =
51 | { primary: "nosKill", secondary: "noSkill" } } of
> 52 | <MultiRobot[]>[{ name: "mower", skills: { primary: "mowing", secondary: "none" } },
| ^
53 | { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]) {
54 | console.log(primaryA);
55 | }
../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: SyntaxError: '}' expected. (48:23)
46 |
47 | if (nameA == nameB) {
> 48 | console.log(skillB);
| ^
49 | }
50 |
51 | function getRobotB() {
../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: SyntaxError: '}' expected. (46:23)
44 |
45 | if (nameA == nameB) {
> 46 | console.log(skillB);
| ^
47 | }
48 |
49 | function getRobotB() {
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementDefaultValues.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts
../TypeScript/tests/cases/compiler/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts: SyntaxError: '}' expected. (34:17)
32 | secondary: secondaryB = "noSkill"
33 | } = { primary: "noSkill", secondary: "noSkill" }
> 34 | } = <Robot>{ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } };
| ^
35 |
36 | if (nameB == nameB) {
37 | console.log(nameC);
../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: SyntaxError: '=' expected. (2:9)
1 | class X<A> {
> 2 | prop: X<<Tany>() => Tany>;
| ^
3 | }
4 | var a: X<boolean>;
5 |
../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
../TypeScript/tests/cases/compiler/spreadIntersection.ts
../TypeScript/tests/cases/compiler/spreadInvalidArgumentType.ts
../TypeScript/tests/cases/compiler/spreadTypeRemovesReadonly.ts
../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
../TypeScript/tests/cases/compiler/staticClassMemberError.ts
../TypeScript/tests/cases/compiler/staticClassProps.ts
../TypeScript/tests/cases/compiler/staticClassProps.ts: SyntaxError: Declaration or statement expected. (4:8)
2 | {
3 | public foo() {
> 4 | static z = 1;
| ^
5 | }
6 | }
7 |
../TypeScript/tests/cases/compiler/staticGetter1.ts
../TypeScript/tests/cases/compiler/staticGetter2.ts
../TypeScript/tests/cases/compiler/staticGetterAndSetter.ts
../TypeScript/tests/cases/compiler/staticIndexer.ts
../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
../TypeScript/tests/cases/compiler/staticsInAFunction.ts
../TypeScript/tests/cases/compiler/staticsInAFunction.ts: SyntaxError: '(' expected. (1:12)
> 1 | function boo{
| ^
2 | static test()
3 | static test(name:string)
4 | static test(name?:any){}
../TypeScript/tests/cases/compiler/staticsInConstructorBodies.ts
../TypeScript/tests/cases/compiler/staticsInConstructorBodies.ts: SyntaxError: Declaration or statement expected. (3:2)
1 | class C {
2 | constructor() {
> 3 | static p1 = 0; // ERROR
| ^
4 | static m1() {} // ERROR
5 | }
6 | }
../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
../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: SyntaxError: Unterminated string literal. (2:17)
1 | // Srtings missing line terminator
> 2 | var es1 = "line 1
| ^
3 | ";
4 | var es2 = 'line 1
5 | ';
../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: SyntaxError: 'super' must be followed by an argument list or member access. (7:14)
5 |
6 | class Q extends P {
> 7 | xx = super;
| ^
8 | static yy = super; // error for static initializer accessing super
9 |
10 | // Super is not allowed in constructor args
../TypeScript/tests/cases/compiler/superAccessInFatArrow1.ts
../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: SyntaxError: 'super' must be followed by an argument list or member access. (3:17)
1 | function foo() {
2 | // super in a non class context
> 3 | var x = super;
| ^
4 | var y = () => super;
5 | var z = () => () => () => super;
6 | }
../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: SyntaxError: 'super' must be followed by an argument list or member access. (61:33)
59 |
60 | // super in a nested lambda in a constructor
> 61 | var x = () => () => super;
| ^
62 | }
63 | sayHello(): void {
64 | // super in a nested lambda in a method
../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: SyntaxError: 'super' must be followed by an argument list or member access. (7:13)
5 | class D<T> extends C {
6 | constructor() {
> 7 | super<T>();
| ^
8 | }
9 | }
../TypeScript/tests/cases/compiler/superWithTypeArgument2.ts
../TypeScript/tests/cases/compiler/superWithTypeArgument2.ts: SyntaxError: 'super' must be followed by an argument list or member access. (7:13)
5 | class D<T> extends C<T> {
6 | constructor(x) {
> 7 | super<T>(x);
| ^
8 | }
9 | }
../TypeScript/tests/cases/compiler/superWithTypeArgument3.ts
../TypeScript/tests/cases/compiler/superWithTypeArgument3.ts: SyntaxError: 'super' must be followed by an argument list or member access. (8:13)
6 | class D<T> extends C<T> {
7 | constructor() {
> 8 | super<T>();
| ^
9 | }
10 | bar() {
11 | super.bar<T>(null);
../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
../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: SyntaxError: Unterminated template literal. (7:14)
5 |
6 | // Incomplete call, not enough parameters.
> 7 | f `123qdawdrqw
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts: SyntaxError: Unterminated template literal. (7:3)
5 |
6 | // Incomplete call, not enough parameters, at EOF.
> 7 | f `
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions1.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions1.ts: SyntaxError: Expression expected. (7:16)
5 |
6 | // Incomplete call, not enough parameters.
> 7 | f `123qdawdrqw${
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions2.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions2.ts: SyntaxError: Expression expected. (7:17)
5 |
6 | // Incomplete call, enough parameters.
> 7 | f `123qdawdrqw${ }${
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts: SyntaxError: Expression expected. (7:22)
5 |
6 | // Incomplete call, not enough parameters.
> 7 | f `123qdawdrqw${ 1 }${
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions4.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions4.ts: SyntaxError: Expression expected. (7:23)
5 |
6 | // Incomplete call, but too many parameters.
> 7 | f `123qdawdrqw${ 1 }${ }${
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts: SyntaxError: Expression expected. (7:29)
5 |
6 | // Incomplete call, but too many parameters.
> 7 | f `123qdawdrqw${ 1 }${ 2 }${
| ^
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions6.ts
../TypeScript/tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions6.ts: SyntaxError: Expression expected. (7:22)
5 |
6 | // Incomplete call, not enough parameters, at EOF.
> 7 | f `123qdawdrqw${ 1 }${
| ^
../TypeScript/tests/cases/compiler/targetTypeArgs.ts
../TypeScript/tests/cases/compiler/targetTypeBaseCalls.ts
../TypeScript/tests/cases/compiler/targetTypeBaseCalls.ts: SyntaxError: Invalid character. (1:0)
> 1 | ��function foo(x: (s: string) => void) { }
| ^
2 |
3 |
4 |
../TypeScript/tests/cases/compiler/targetTypeCalls.ts
../TypeScript/tests/cases/compiler/targetTypeCastTest.ts
../TypeScript/tests/cases/compiler/targetTypeCastTest.ts: SyntaxError: Expression expected. (12:36)
10 | }
11 |
> 12 | var add = <Adder>function(x,y) { return x+ y; }
| ^
13 |
14 |
15 | interface Adder2 {
../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: SyntaxError: ',' expected. (19:7)
17 |
18 | class C {
> 19 | f(x: number) {
| ^
20 | }
21 | }
../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: SyntaxError: Expression expected. (1:5)
> 1 | throw
| ^
../TypeScript/tests/cases/compiler/throwWithoutNewLine2.ts
../TypeScript/tests/cases/compiler/throwWithoutNewLine2.ts: SyntaxError: Expression expected. (1:6)
> 1 | throw ;
| ^
2 | a;
3 |
../TypeScript/tests/cases/compiler/tooFewArgumentsInGenericFunctionTypedArgument.ts
../TypeScript/tests/cases/compiler/tooManyTypeParameters1.ts
../TypeScript/tests/cases/compiler/tooManyTypeParameters1.ts: SyntaxError: Identifier expected. (5:8)
3 |
4 | var x = <T>() => {};
> 5 | x<number,number>();
| ^
6 |
7 | class C<T> {}
8 | var c = new C<Date,Date>();
../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: SyntaxError: Expression expected. (2:7)
1 | var x = {
> 2 | a: < <T>(x: T) => T > ((x: any) => 1),
| ^
3 | b: <T>(x: T) => { x }
4 | }
5 | x.a<string>(1); // bug was that this caused 'Could not find symbol T' on return type T in the type assertion on x.a's definition
../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: SyntaxError: ',' expected. (1:10)
> 1 | var f: <T in UNKNOWN>() => void;
| ^
2 |
3 | interface IFoo<T in UNKNOWN> {}
4 |
../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
../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: SyntaxError: ',' expected. (2:5)
1 | interface A<T> {
> 2 | <U in T>(x: U[])
| ^
3 | }
4 |
5 | interface B<T> {
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter2.ts
../TypeScript/tests/cases/compiler/typeParameterConstrainedToOuterTypeParameter2.ts: SyntaxError: ',' expected. (2:8)
1 | interface A<T> {
> 2 | foo<U in T>(x: A<A<U>>)
| ^
3 | }
4 |
5 | interface B<T> {
../TypeScript/tests/cases/compiler/typeParameterConstraintInstantiation.ts
../TypeScript/tests/cases/compiler/typeParameterConstraintInstantiation.ts: SyntaxError: ',' expected. (4:8)
2 |
3 | interface Mapper<T> {
> 4 | map<U in T, V in U[]>(f: (item: T) => U): V
| ^
5 | }
6 |
7 | var m: Mapper<string>;
../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: SyntaxError: ',' expected. (6:11)
4 |
5 | interface IFoo {
> 6 | foo<TBar in IBar>(
| ^
7 | bar: TBar,
8 | bar1: (bar: TBar) => TBar,
9 | bar2: (bar: TBar) => TBar
../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: SyntaxError: JSX element 'any' has no corresponding closing tag. (7:30)
5 | var a: A, b: B;
6 |
> 7 | var d = f(a, b, x => x, x => <any>x); // Type [A, B]
| ^
../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
../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: SyntaxError: '}' expected. (4:13)
2 | var a = +1;
3 | var b = +(<any>"");
> 4 | enum E { some, thing };
| ^
5 | var c = +E.some;
6 |
7 | // also allowed, used to be errors
../TypeScript/tests/cases/compiler/uncaughtCompilerError1.ts
../TypeScript/tests/cases/compiler/uncaughtCompilerError2.ts
../TypeScript/tests/cases/compiler/uncaughtCompilerError2.ts: SyntaxError: Expression expected. (2:4)
1 | function getObj() {
> 2 | ().toString();
| ^
3 | }
4 |
../TypeScript/tests/cases/compiler/unclosedExportClause01.ts
../TypeScript/tests/cases/compiler/unclosedExportClause01.ts: SyntaxError: ',' expected. (7:17)
5 |
6 | // @filename: t2.ts
> 7 | export { x, from "./t1"
| ^
8 |
9 | // @filename: t3.ts
10 | export { from "./t1"
../TypeScript/tests/cases/compiler/unclosedExportClause02.ts
../TypeScript/tests/cases/compiler/unclosedExportClause02.ts: SyntaxError: ',' expected. (8:4)
6 | // @filename: t2.ts
7 | export { x, from
> 8 | "./t1";
| ^
9 |
10 | // @filename: t3.ts
11 | export { from
../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
../TypeScript/tests/cases/compiler/underscoreTest1.ts
../TypeScript/tests/cases/compiler/underscoreTest1.ts: SyntaxError: Expression expected. (809:26)
807 | .filter(function (num) { return num % 2 == 0; })
808 | .tap(<any>alert)
> 809 | .map(function (num) { return num * num })
| ^
810 | .value();
811 |
812 | _.has({ a: 1, b: 2, c: 3 }, "b");
../TypeScript/tests/cases/compiler/underscoreThisInDerivedClass01.ts
../TypeScript/tests/cases/compiler/underscoreThisInDerivedClass02.ts
../TypeScript/tests/cases/compiler/unexpectedStatementBlockTerminator.ts
../TypeScript/tests/cases/compiler/unexpectedStatementBlockTerminator.ts: SyntaxError: Declaration or statement expected. (4:0)
2 |
3 | class Bar {}
> 4 | case
| ^
5 |
6 | function Goo() {return {a:1,b:2};}
7 |
../TypeScript/tests/cases/compiler/unexportedInstanceClassVariables.ts
../TypeScript/tests/cases/compiler/unicodeIdentifierName2.ts
../TypeScript/tests/cases/compiler/unicodeIdentifierName2.ts: SyntaxError: Invalid character. (1:6)
> 1 | var a₁ = "hello"; alert(a₁)
| ^
../TypeScript/tests/cases/compiler/unicodeIdentifierNames.ts
../TypeScript/tests/cases/compiler/unicodeIdentifierNames.ts: SyntaxError: Invalid character. (1:0)
> 1 | ��// This test is passing, except that on node the resulting file will not have a BOM and on CScript it will which makes
| ^
2 |
3 | // impossible to use a single baseline file to match the result of both. this test should be enabled once this issue is resolved.
4 |
../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: SyntaxError: '}' expected. (12:7)
10 |
11 | class C<T> {
> 12 | foo: asdf;
| ^
13 | bar: C<asdf>;
14 | }
15 |
../TypeScript/tests/cases/compiler/unknownSymbols2.ts
../TypeScript/tests/cases/compiler/unknownSymbols2.ts: SyntaxError: Expression expected. (16:8)
14 |
15 | switch (asdf) {
> 16 | case qwerty:
| ^
17 | break;
18 | default:
19 | break;
../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: SyntaxError: JSX element 'asdf' has no corresponding closing tag. (2:9)
1 | var x = 1;
> 2 | var y = <asdf>x;
| ^
3 |
4 |
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: Unterminated regular expression literal. (1:9)
> 1 | var a = /
| ^
../TypeScript/tests/cases/compiler/unterminatedStringLiteralWithBackslash1.ts
../TypeScript/tests/cases/compiler/unterminatedStringLiteralWithBackslash1.ts: SyntaxError: Unexpected end of text. (1:2)
> 1 | "\
| ^
../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: SyntaxError: ';' expected. (11:5)
9 |
10 | // @Filename: /node_modules/js/index.js
> 11 | This file is not processed.
| ^
12 |
13 | // @Filename: /a.ts
14 | import { } from "augmenter";
../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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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:3883:28)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2473: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2376: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:2375: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:4167: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: SyntaxError: ',' expected. (15:22)
13 | // used in extends clause
14 | type handler3 = () => void;
> 15 | export interface I3<T in handler3> {
| ^
16 | getHandler: T
17 | }
18 |
../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: SyntaxError: JSX element 'T' has no corresponding closing tag. (6:16)
4 | class A {
5 | public f1() {
> 6 | return <T>() => {
| ^
7 |
8 | }
9 | }
../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
../TypeScript/tests/cases/compiler/validRegexp.ts
../TypeScript/tests/cases/compiler/validRegexp.ts: SyntaxError: ',' expected. (1:23)
> 1 | var x = / [a - z /]$ / i;
| ^
2 | var x1 = /[a-z/]$/i;
3 | var x2 = /[a-z/]$ /i;
../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: SyntaxError: Identifier expected. (1:15)
> 1 | function t1(...) {}
| ^
../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:3704: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:4167: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:4165: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:2350: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:2350: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:2350: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:2350: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:2350: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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: SyntaxError: ',' expected. (4:23)
2 | // @noEmitHelpers: true
3 |
> 4 | var foo = async (await): Promise<void> => {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction6_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction6_es2017.ts: SyntaxError: Expression expected. (4:26)
2 | // @noEmitHelpers: true
3 |
> 4 | var foo = async (a = await): Promise<void> => {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction7_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction7_es2017.ts: SyntaxError: Expression expected. (6:28)
4 | var bar = async (): Promise<void> => {
5 | // 'await' here is an identifier, and not an await expression.
> 6 | var foo = async (a = await): Promise<void> => {
| ^
7 | }
8 | }
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts: SyntaxError: Expression expected. (5:18)
3 |
4 | var foo = async (): Promise<void> => {
> 5 | var v = { [await]: foo }
| ^
6 | }
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction9_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction9_es2017.ts: SyntaxError: ',' expected. (3:36)
1 | // @target: es2017
2 | // @noEmitHelpers: true
> 3 | var foo = async (a = await => await): Promise<void> => {
| ^
4 | }
../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
../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: SyntaxError: Expression expected. (4:6)
2 |
3 | async function bar1() {
> 4 | ++await 42; // Error
| ^
5 | }
6 |
7 | async function bar2() {
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration10_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration10_es2017.ts: SyntaxError: Expression expected. (3:29)
1 | // @target: es2017
2 | // @noEmitHelpers: true
> 3 | async function foo(a = await => await): Promise<void> {
| ^
4 | }
../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: SyntaxError: '(' expected. (3:23)
1 | // @target: es2017
2 | // @noEmitHelpers: true
> 3 | var v = async function await(): Promise<void> { }
| ^
../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: SyntaxError: Parameter declaration expected. (3:19)
1 | // @target: es2017
2 | // @noEmitHelpers: true
> 3 | async function foo(await): Promise<void> {
| ^
4 | }
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration6_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration6_es2017.ts: SyntaxError: Expression expected. (3:28)
1 | // @target: es2017
2 | // @noEmitHelpers: true
> 3 | async function foo(a = await): Promise<void> {
| ^
4 | }
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration7_es2017.ts
../TypeScript/tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration7_es2017.ts: SyntaxError: Expression expected. (5:30)
3 | async function bar(): Promise<void> {
4 | // 'await' here is an identifier, and not a yield expression.
> 5 | async function foo(a = await): Promise<void> {
| ^
6 | }
7 | }
../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: SyntaxError: Expression expected. (4:18)
2 | // @noEmitHelpers: true
3 | async function foo(): Promise<void> {
> 4 | var v = { [await]: foo }
| ^
5 | }
../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: SyntaxError: ',' expected. (5:23)
3 | // @noEmitHelpers: true
4 |
> 5 | var foo = async (await): Promise<void> => {
| ^
6 | }
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction6_es5.ts
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction6_es5.ts: SyntaxError: Expression expected. (5:26)
3 | // @noEmitHelpers: true
4 |
> 5 | var foo = async (a = await): Promise<void> => {
| ^
6 | }
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction7_es5.ts
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction7_es5.ts: SyntaxError: Expression expected. (7:28)
5 | var bar = async (): Promise<void> => {
6 | // 'await' here is an identifier, and not an await expression.
> 7 | var foo = async (a = await): Promise<void> => {
| ^
8 | }
9 | }
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction8_es5.ts
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction8_es5.ts: SyntaxError: Expression expected. (6:18)
4 |
5 | var foo = async (): Promise<void> => {
> 6 | var v = { [await]: foo }
| ^
7 | }
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction9_es5.ts
../TypeScript/tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunction9_es5.ts: SyntaxError: ',' expected. (4:36)
2 | // @lib: es5,es2015.promise
3 | // @noEmitHelpers: true
> 4 | var foo = async (a = await => await): Promise<void> => {
| ^
5 | }
../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: SyntaxError: Expression expected. (4:29)
2 | // @lib: es5,es2015.promise
3 | // @noEmitHelpers: true
> 4 | async function foo(a = await => await): Promise<void> {
| ^
5 | }
../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: SyntaxError: '(' expected. (4:23)
2 | // @lib: es5,es2015.promise
3 | // @noEmitHelpers: true
> 4 | var v = async function await(): Promise<void> { }
| ^
../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: SyntaxError: Parameter declaration expected. (4:19)
2 | // @lib: es5,es2015.promise
3 | // @noEmitHelpers: true
> 4 | async function foo(await): Promise<void> {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration6_es5.ts
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration6_es5.ts: SyntaxError: Expression expected. (4:28)
2 | // @lib: es5,es2015.promise
3 | // @noEmitHelpers: true
> 4 | async function foo(a = await): Promise<void> {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration7_es5.ts
../TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration7_es5.ts: SyntaxError: Expression expected. (6:30)
4 | async function bar(): Promise<void> {
5 | // 'await' here is an identifier, and not a yield expression.
> 6 | async function foo(a = await): Promise<void> {
| ^
7 | }
8 | }
../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: SyntaxError: Expression expected. (5:18)
3 | // @noEmitHelpers: true
4 | async function foo(): Promise<void> {
> 5 | var v = { [await]: foo }
| ^
6 | }
../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: SyntaxError: ',' expected. (4:23)
2 | // @noEmitHelpers: true
3 |
> 4 | var foo = async (await): Promise<void> => {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction6_es6.ts
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction6_es6.ts: SyntaxError: Expression expected. (4:26)
2 | // @noEmitHelpers: true
3 |
> 4 | var foo = async (a = await): Promise<void> => {
| ^
5 | }
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts: SyntaxError: Expression expected. (6:28)
4 | var bar = async (): Promise<void> => {
5 | // 'await' here is an identifier, and not an await expression.
> 6 | var foo = async (a = await): Promise<void> => {
| ^
7 | }
8 | }
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts: SyntaxError: Expression expected. (5:18)
3 |
4 | var foo = async (): Promise<void> => {
> 5 | var v = { [await]: foo }
| ^
6 | }
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction9_es6.ts
../TypeScript/tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction9_es6.ts: SyntaxError: ',' expected. (3:36)
1 | // @target: ES6
2 | // @noEmitHelpers: true
> 3 | var foo = async (a = await => await): Promise<void> => {
| ^
4 | }
../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: SyntaxError: Expression expected. (4:6)
2 |
3 | async function bar1() {
> 4 | ++await 42; // Error
| ^
5 | }
6 |
7 | async function bar2() {
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration10_es6.ts
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration10_es6.ts: SyntaxError: Expression expected. (3:29)
1 | // @target: ES6
2 | // @noEmitHelpers: true
> 3 | async function foo(a = await => await): Promise<void> {
| ^
4 | }
../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: SyntaxError: '(' expected. (3:23)
1 | // @target: ES6
2 | // @noEmitHelpers: true
> 3 | var v = async function await(): Promise<void> { }
| ^
../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: SyntaxError: Parameter declaration expected. (3:19)
1 | // @target: ES6
2 | // @noEmitHelpers: true
> 3 | async function foo(await): Promise<void> {
| ^
4 | }
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration6_es6.ts
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration6_es6.ts: SyntaxError: Expression expected. (3:28)
1 | // @target: ES6
2 | // @noEmitHelpers: true
> 3 | async function foo(a = await): Promise<void> {
| ^
4 | }
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts
../TypeScript/tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts: SyntaxError: Expression expected. (5:30)
3 | async function bar(): Promise<void> {
4 | // 'await' here is an identifier, and not a yield expression.
> 5 | async function foo(a = await): Promise<void> {
| ^
6 | }
7 | }
../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: SyntaxError: Expression expected. (4:18)
2 | // @noEmitHelpers: true
3 | async function foo(): Promise<void> {
> 4 | var v = { [await]: foo }
| ^
5 | }
../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: SyntaxError: Identifier expected. (8:4)
6 | test() {
7 | this.
> 8 | }
| ^
9 | }
10 | var x = new bar();
../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: SyntaxError: Declaration or statement expected. (3:0)
1 | export default abstract class A {}
2 | export abstract class B {}
> 3 | default abstract class C {}
| ^
4 | import abstract class D {}
../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: SyntaxError: Unexpected token. A constructor, method, accessor, or property was expected. (2:4)
1 | class C {
> 2 | var x = 1;
| ^
3 | }
4 |
5 | class C2 {
../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: SyntaxError: Expression expected. (7:18)
5 | class C3 extends boolean { }
6 | class C4 extends Void { }
> 7 | class C4a extends void {}
| ^
8 | class C5 extends Null { }
9 | class C5a extends null { }
10 | class C6 extends undefined { }
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts: SyntaxError: Expression expected. (3:18)
1 | // classes cannot extend primitives
2 |
> 3 | class C4a extends void {}
| ^
4 | class C5a extends null { }
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts: SyntaxError: ',' expected. (6:30)
4 | class C extends I { } // error
5 |
> 6 | class C2 extends { foo: string; } { } // error
| ^
7 | var x: { foo: string; }
8 | class C3 extends x { } // error
9 |
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts
../TypeScript/tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts: SyntaxError: ',' expected. (1:30)
> 1 | class C2 extends { foo: string; } { } // error
| ^
2 |
3 | class C6 extends []{ } // error
../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: SyntaxError: '{' expected. (3:6)
1 | // classes cannot use predefined types as names
2 |
> 3 | class void {}
| ^
../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: SyntaxError: JSX element 'T' has no corresponding closing tag. (33:21)
31 | x: T;
32 | constructor() {
> 33 | return { x: <T>null };
| ^
34 | }
35 | }
../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: SyntaxError: Type expected. (8:7)
6 |
7 | class Derived extends Base {
> 8 | a: super();
| ^
9 | b() {
10 | super();
11 | }
../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
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer2.ts
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer2.ts: SyntaxError: ']' expected. (4:14)
2 |
3 | var x = {
> 4 | private [x: string]: string;
| ^
5 | }
6 |
7 | var y: {
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/publicIndexer.ts
../TypeScript/tests/cases/conformance/classes/indexMemberDeclarations/staticIndexers.ts
../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: SyntaxError: Identifier expected. (10:14)
8 | return super.foo; // error
9 | }
> 10 | z: typeof super.foo; // error
| ^
11 |
12 | a: this.foo; // error
13 | }
../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: SyntaxError: Unexpected token. A constructor, method, accessor, or property was expected. (5:4)
3 | class C {
4 | x: string;
> 5 | class C2 {
| ^
6 | }
7 | }
8 |
../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: SyntaxError: Identifier expected. (7:14)
5 | b: typeof z; // error
6 | c = this.z; // error
> 7 | d: typeof this.z; // error
| ^
8 | constructor(x) {
9 | z = 1;
10 | }
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorParameters.ts
../TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorParameters.ts: SyntaxError: Identifier expected. (17:14)
15 | class E {
16 | a = this.x; // ok
> 17 | b: typeof this.x; // error
| ^
18 | constructor(public x) { }
19 | }
20 |
../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:
===================================================================
---
+++
@@ -1353,5 +1353,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1423,5 +1425,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1489,5 +1493,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1559,5 +1565,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1625,5 +1633,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1695,5 +1705,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1761,5 +1773,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
@@ -1831,5 +1845,7 @@
"implements": [],
"decorators": []
- }
+ },
+ "specifiers": [],
+ "source": null
}
]
Index:
===================================================================
---
+++
@@ -2,191 +2,188 @@
// 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: SyntaxError: ',' expected. (14:4)
12 | e = 199 * Math.floor(Math.random() * 1000),
13 | f = d - (100 * Math.floor(Math.random() % 8))
> 14 | g = CONST,
| ^
15 | }
../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: SyntaxError: '}' expected. (26:20)
24 | var sourceObj: EventTargetLike = <any>undefined;
25 | if (isNodeList(sourceObj)) {
> 26 | sourceObj.length;
| ^
27 | }
28 |
29 | if (isHTMLCollection(sourceObj)) {
../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: SyntaxError: Identifier expected. (116:19)
114 | x = null;
115 | x!.slice();
> 116 | x = <undefined | null>undefined;
| ^
117 | x!.slice();
118 | x = <string | undefined>"";
119 | x!.slice();
../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:3704: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:4167: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:4165: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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/declarationEmit/classDoesNotDependOnPrivateMember.ts
../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:2162: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:4167: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:4165: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:1697: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:2162: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:4167: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:4165: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:1697: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:2162: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:4167: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:4165: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:1697: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:2162: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:4167: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:4165: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:1697:21)
../TypeScript/tests/cases/conformance/decorators/1.0lib-noErrors.ts
../TypeScript/tests/cases/conformance/decorators/1.0lib-noErrors.ts: SyntaxError: ',' expected. (1223:11)
1221 | * @param items Additional items to add to the end of array1.
1222 | */
> 1223 | concat<U in T[]>(
| ^
1224 | ...items: U[]
1225 | ): T[],
1226 | /**
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor3.ts
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor3.ts: SyntaxError: ';' expected. (6:11)
4 |
5 | class C {
> 6 | public @dec get accessor() { return 1; }
| ^
7 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor6.ts
../TypeScript/tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor6.ts: SyntaxError: ';' expected. (6:11)
4 |
5 | class C {
> 6 | public @dec set accessor(value: number) { }
| ^
7 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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: SyntaxError: ',' expected. (6:23)
4 |
5 | class C {
> 6 | constructor(public @dec p: number) {}
| ^
7 | }
../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: SyntaxError: Unexpected token. A constructor, method, accessor, or property was expected. (8:2)
6 |
7 | class A {
> 8 | (x, p) => {
| ^
9 | var a = 3;
10 | func(a);
11 | return x;
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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: SyntaxError: Declaration or statement expected. (6:0)
4 | declare function dec<T>(target: T): T;
5 |
> 6 | export
| ^
7 | @dec
8 | class C {
9 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod3.ts
../TypeScript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod3.ts: SyntaxError: ';' expected. (6:11)
4 |
5 | class C {
> 6 | public @dec method() {}
| ^
7 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty3.ts
../TypeScript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty3.ts: SyntaxError: ';' expected. (6:11)
4 |
5 | class C {
> 6 | public @dec prop;
| ^
7 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnArrowFunction.ts: SyntaxError: Expression expected. (3:8)
1 | declare function dec<T>(target: T): T;
2 |
> 3 | var F = @dec () => {
| ^
4 | }
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum.ts
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum2.ts
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnEnum2.ts: SyntaxError: Enum member expected. (4:4)
2 |
3 | enum E {
> 4 | @dec A
| ^
5 | }
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionDeclaration.ts
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionExpression.ts
../TypeScript/tests/cases/conformance/decorators/invalid/decoratorOnFunctionExpression.ts: SyntaxError: Expression expected. (3:8)
1 | declare function dec<T>(target: T): T;
2 |
> 3 | var F = @dec function () {
| ^
4 | }
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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
../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: SyntaxError: ',' expected. (2:16)
1 | // error
> 2 | var bin1 = 0B1102110;
| ^
3 | var bin1 = 0b11023410;
4 |
5 | var obj1 = {
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteralES6.ts
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts: SyntaxError: Binary digit expected. (2:15)
1 | // Error
> 2 | var binary = 0b21010;
| ^
3 | var binary1 = 0B21010;
4 | var octal = 0o81010;
5 | var octal = 0O91010;
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteral.ts
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralError.ts
../TypeScript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralError.ts: SyntaxError: ',' expected. (2:18)
1 | // error
> 2 | var oct1 = 0O13334823;
| ^
3 | var oct2 = 0o34318592;
4 |
5 | var obj1 = {
../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": {
@@ -158,6 +158,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: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:6)
12 | [0]() { },
13 | [a]() { },
> 14 | [<any>true]() { },
| ^
15 | [`hello bye`]() { },
16 | [`hello ${a} bye`]() { }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames10_ES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:6)
12 | [0]() { },
13 | [a]() { },
> 14 | [<any>true]() { },
| ^
15 | [`hello bye`]() { },
16 | [`hello ${a} bye`]() { }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES5.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES5.ts: SyntaxError: Expression expected. (14:24)
12 | get [0]() { return 0; },
13 | set [a](v) { },
> 14 | get [<any>true]() { return 0; },
| ^
15 | set [`hello bye`](v) { },
16 | get [`hello ${a} bye`]() { return 0; }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames11_ES6.ts: SyntaxError: Expression expected. (14:24)
12 | get [0]() { return 0; },
13 | set [a](v) { },
> 14 | get [<any>true]() { return 0; },
| ^
15 | set [`hello bye`](v) { },
16 | get [`hello ${a} bye`]() { return 0; }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES5.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES5.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:13)
12 | [0]: number;
13 | [a]: number;
> 14 | static [<any>true]: number;
| ^
15 | [`hello bye`] = 0;
16 | static [`hello ${a} bye`] = 0
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames12_ES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:13)
12 | [0]: number;
13 | [a]: number;
> 14 | static [<any>true]: number;
| ^
15 | [`hello bye`] = 0;
16 | static [`hello ${a} bye`] = 0
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES5.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES5.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:13)
12 | [0]() { }
13 | [a]() { }
> 14 | static [<any>true]() { }
| ^
15 | [`hello bye`]() { }
16 | static [`hello ${a} bye`]() { }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames13_ES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:13)
12 | [0]() { }
13 | [a]() { }
> 14 | static [<any>true]() { }
| ^
15 | [`hello bye`]() { }
16 | static [`hello ${a} bye`]() { }
17 | }
../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: SyntaxError: Expression expected. (14:31)
12 | get [0]() { return 0; }
13 | set [a](v) { }
> 14 | static get [<any>true]() { return 0; }
| ^
15 | set [`hello bye`](v) { }
16 | get [`hello ${a} bye`]() { return 0; }
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames16_ES6.ts: SyntaxError: Expression expected. (14:31)
12 | get [0]() { return 0; }
13 | set [a](v) { }
> 14 | static get [<any>true]() { return 0; }
| ^
15 | set [`hello bye`](v) { }
16 | get [`hello ${a} bye`]() { return 0; }
17 | }
../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: SyntaxError: ';' expected. (7:10)
5 | interface I<T> {
6 | bar(): string,
> 7 | foo<T>()(): void
| ^
8 | }
9 |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames35_ES6.ts: SyntaxError: ';' expected. (7:10)
5 | interface I<T> {
6 | bar(): string,
> 7 | foo<T>()(): void
| ^
8 | }
9 |
../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: SyntaxError: JSX element 'String' has no corresponding closing tag. (8:17)
6 | get [delete id]() { }
7 | set [[0, 1]](v) { }
> 8 | static get [<String>""]() { }
| ^
9 | static set [id.toString()](v) { }
10 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES6.ts: SyntaxError: JSX element 'String' has no corresponding closing tag. (8:17)
6 | get [delete id]() { }
7 | set [[0, 1]](v) { }
> 8 | static get [<String>""]() { }
| ^
9 | static set [id.toString()](v) { }
10 | }
../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: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:6)
12 | [0]: 0,
13 | [a]: 1,
> 14 | [<any>true]: 0,
| ^
15 | [`hello bye`]: 0,
16 | [`hello ${a} bye`]: 0
17 | }
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNames4_ES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (14:6)
12 | [0]: 0,
13 | [a]: 1,
> 14 | [<any>true]: 0,
| ^
15 | [`hello bye`]: 0,
16 | [`hello ${a} bye`]: 0
17 | }
../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: SyntaxError: Property or signature expected. (4:2)
2 | // @declaration: true
3 | interface I {
> 4 | "" + ""(): void
| ^
5 | }
6 |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES6.ts: SyntaxError: Property or signature expected. (4:2)
2 | // @declaration: true
3 | interface I {
> 4 | "" + ""(): void
| ^
5 | }
6 |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES5.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES5.ts: SyntaxError: Property or signature expected. (4:2)
2 | // @declaration: true
3 | var v: {
> 4 | "" + ""(): void
| ^
5 | };
6 |
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES6.ts
../TypeScript/tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES6.ts: SyntaxError: Property or signature expected. (4:2)
2 | // @declaration: true
3 | var v: {
> 4 | "" + ""(): void
| ^
5 | };
6 |
../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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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:4167: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:4165: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:2707:22)
at parts.push.path.call.valuePath (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2539: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:2536: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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543: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: SyntaxError: Expression expected. (15:11)
13 |
14 | function bar(): J {
> 15 | return <[number, number, number]>[1, 2, 3];
| ^
16 | }
17 | var [b3 = "string", b4, b5] = bar(); // Error
18 |
../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: SyntaxError: ',' expected. (2:6)
1 | // Error
> 2 | var {h?} = { h?: 1 };
| ^
3 | var {i}: string | number = { i: 2 };
4 | var {i1}: string | number| {} = { i1: 2 };
5 | var { f2: {f21} = { f212: "string" } }: any = undefined;
../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: SyntaxError: ',' expected. (7:28)
5 | // If the declaration includes a type annotation, the parameter is of that type
6 | function a0([a, b, [[c]]]: [number, number, string[][]]) { }
> 7 | a0([1, "string", [["world"]]); // Error
| ^
8 | a0([1, 2, [["world"]], "string"]); // Error
9 |
10 |
../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: SyntaxError: ':' expected. (7:17)
5 |
6 | // Error
> 7 | function a({while}) { }
| ^
8 | function a1({public}) { }
9 | function a4([while, for, public]){ }
10 | function a5(...while) { }
../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: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:13)
1 | //@target: ES5
> 2 | var { x } = <any>foo();
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_2.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_2.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:14)
1 | //@target: ES5
> 2 | var { x } = (<any>foo());
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_3.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_3.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:13)
1 | //@target: ES5
> 2 | var { x } = <any>(foo());
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_4.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_4.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:18)
1 | //@target: ES5
> 2 | var { x } = <any><any>foo();
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_5.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_5.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:13)
1 | //@target: ES5
> 2 | var { x } = <any>0;
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_6.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:13)
1 | //@target: ES5
> 2 | var { x } = <any>new Foo;
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_7.ts
../TypeScript/tests/cases/conformance/es6/destructuring/destructuringTypeAssertionsES5_7.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:18)
1 | //@target: ES5
> 2 | var { x } = <any><any>new Foo;
| ^
../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: SyntaxError: ':' expected. (2:12)
1 | 
> 2 | var { while } = { while: 1 }
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers02.ts
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers02.ts: SyntaxError: Identifier expected. (2:13)
1 | 
> 2 | var { while: while } = { while: 1 }
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers03.ts
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers03.ts: SyntaxError: ':' expected. (2:14)
1 | 
> 2 | var { "while" } = { while: 1 }
| ^
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers04.ts
../TypeScript/tests/cases/conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers04.ts: SyntaxError: Identifier expected. (2:15)
1 | 
> 2 | var { "while": while } = { while: 1 }
| ^
../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
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of26.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of27.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of28.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of29.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of29.ts: SyntaxError: Property or signature expected. (3:2)
1 | //@target: ES6
2 | var iterableWithOptionalIterator: {
> 3 | Symbol.iterator(): Iterator<string>
| ^
4 | };
5 |
6 | for (var v of iterableWithOptionalIterator) {
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of3.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of30.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of31.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of32.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of33.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of34.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of35.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of36.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of37.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of38.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of39.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of4.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of40.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of41.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of42.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of43.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of44.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of45.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of46.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of47.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of48.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of49.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of5.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of50.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of51.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of52.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of53.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of54.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of55.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of56.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of57.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of6.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of7.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of8.ts
../TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of9.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration10_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration10_es6.ts: SyntaxError: ',' expected. (2:25)
1 | // @target: es6
> 2 | function * foo(a = yield => yield) {
| ^
3 | }
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration11_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration12_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration12_es6.ts: SyntaxError: '(' expected. (2:19)
1 | // @target: es6
> 2 | var v = function * yield() { }
| ^
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration13_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration1_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration2_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration3_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration4_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration5_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration5_es6.ts: SyntaxError: Parameter declaration expected. (2:13)
1 | // @target: es6
> 2 | function*foo(yield) {
| ^
3 | }
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration6_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration7_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration8_es6.ts
../TypeScript/tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts
../TypeScript/tests/cases/conformance/es6/functionExpressions/FunctionExpression1_es6.ts
../TypeScript/tests/cases/conformance/es6/functionExpressions/FunctionExpression2_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments1_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments2_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments2_es6.ts: SyntaxError: Identifier expected. (2:11)
1 | // @target: es6
> 2 | var v = { *() { } }
| ^
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments3_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments3_es6.ts: SyntaxError: Identifier expected. (2:11)
1 | // @target: es6
> 2 | var v = { *{ } }
| ^
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments4_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments4_es6.ts: SyntaxError: Identifier expected. (2:12)
1 | // @target: es6
> 2 | var v = { * }
| ^
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments5_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments6_es6.ts
../TypeScript/tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments6_es6.ts: SyntaxError: Identifier expected. (2:11)
1 | // @target: es6
> 2 | var v = { *<T>() { } }
| ^
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration1_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration2_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration3_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration4_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration4_es6.ts: SyntaxError: Identifier expected. (3:4)
1 | // @target: es6
2 | class C {
> 3 | *() { }
| ^
4 | }
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration5_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration5_es6.ts: SyntaxError: Identifier expected. (4:0)
2 | class C {
3 | *
> 4 | }
| ^
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration6_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration6_es6.ts: SyntaxError: '(' expected. (4:0)
2 | class C {
3 | *foo
> 4 | }
| ^
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration7_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration8_es6.ts
../TypeScript/tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration8_es6.ts: SyntaxError: Invalid character. (5:11)
3 | foo() {
4 | // Make sure we don't think of *bar as the start of a generator method.
> 5 | if (a) # * bar;
| ^
6 | return bar;
7 | }
8 | }
../TypeScript/tests/cases/conformance/es6/moduleExportsAmd/anonymousDefaultExportsAmd.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsAmd/decoratedDefaultExportsGetExportedAmd.ts
prettier(input) !== prettier(prettier(input))
Index:
===================================================================
---
+++
@@ -5,5 +5,5 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class Foo {}
@@ -11,4 +11,4 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class {}
../TypeScript/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsAmd/outFilerootDirModuleNamesAmd.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsCommonjs/anonymousDefaultExportsCommonjs.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsCommonjs/decoratedDefaultExportsGetExportedCommonjs.ts
prettier(input) !== prettier(prettier(input))
Index:
===================================================================
---
+++
@@ -5,5 +5,5 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class Foo {}
@@ -11,4 +11,4 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class {}
../TypeScript/tests/cases/conformance/es6/moduleExportsCommonjs/defaultExportsGetExportedCommonjs.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsSystem/anonymousDefaultExportsSystem.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsSystem/decoratedDefaultExportsGetExportedSystem.ts
prettier(input) !== prettier(prettier(input))
Index:
===================================================================
---
+++
@@ -5,5 +5,5 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class Foo {}
@@ -11,4 +11,4 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class {}
../TypeScript/tests/cases/conformance/es6/moduleExportsSystem/defaultExportsGetExportedSystem.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsSystem/outFilerootDirModuleNamesSystem.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsUmd/anonymousDefaultExportsUmd.ts
../TypeScript/tests/cases/conformance/es6/moduleExportsUmd/decoratedDefaultExportsGetExportedUmd.ts
prettier(input) !== prettier(prettier(input))
Index:
===================================================================
---
+++
@@ -5,5 +5,5 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class Foo {}
@@ -11,4 +11,4 @@
var decorator: ClassDecorator;
-decorator
+decorator;
export default class {}
../TypeScript/tests/cases/conformance/es6/moduleExportsUmd/defaultExportsGetExportedUmd.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportInAwaitExpression01.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportInAwaitExpression02.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportsCannotMerge01.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportsCannotMerge02.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportsCannotMerge03.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportsCannotMerge04.ts
../TypeScript/tests/cases/conformance/es6/modules/defaultExportWithOverloads01.ts
../TypeScript/tests/cases/conformance/es6/modules/exportAndImport-es3-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportAndImport-es3.ts
../TypeScript/tests/cases/conformance/es6/modules/exportAndImport-es5-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportAndImport-es5.ts
../TypeScript/tests/cases/conformance/es6/modules/exportBinding.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports1-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports1-es6.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports1.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports2-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports2-es6.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports2.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports3-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports3-es6.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports3.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports4-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports4-es6.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImports4.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithContextualKeywordNames01.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithContextualKeywordNames02.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores1.ts: SyntaxError: ',' expected. (9:4)
7 | "__": 20,
8 | "_": 10
> 9 | "___": 30
| ^
10 | }
11 |
12 | // @filename: m2.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores2.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts
../TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores4.ts
../TypeScript/tests/cases/conformance/es6/modules/exportStar-amd.ts
../TypeScript/tests/cases/conformance/es6/modules/exportStar.ts
../TypeScript/tests/cases/conformance/es6/modules/multipleDefaultExports01.ts
../TypeScript/tests/cases/conformance/es6/modules/multipleDefaultExports02.ts
../TypeScript/tests/cases/conformance/es6/modules/multipleDefaultExports03.ts
../TypeScript/tests/cases/conformance/es6/modules/multipleDefaultExports04.ts
../TypeScript/tests/cases/conformance/es6/modules/reExportDefaultExport.ts
../TypeScript/tests/cases/conformance/es6/newTarget/invalidNewTarget.es5.ts
../TypeScript/tests/cases/conformance/es6/newTarget/invalidNewTarget.es6.ts
../TypeScript/tests/cases/conformance/es6/newTarget/newTarget.es5.ts
../TypeScript/tests/cases/conformance/es6/newTarget/newTarget.es6.ts
../TypeScript/tests/cases/conformance/es6/propertyAccess/propertyAccessNumericLiterals.es6.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunction.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunctionES6.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunctionExpression.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunctionExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunctionProperty.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersFunctionPropertyES6.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersMethod.ts
../TypeScript/tests/cases/conformance/es6/restParameters/emitRestParametersMethodES6.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandProperties.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignment.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignmentError.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignmentES6.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts: SyntaxError: ':' expected. (3:19)
1 | // errors
2 | var y = {
> 3 | "stringLiteral",
| ^
4 | 42,
5 | get e,
6 | set f,
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorWithModule.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorWithModule.ts: SyntaxError: ':' expected. (10:9)
8 | var z = 10000;
9 | export var y = {
> 10 | m.x // error
| ^
11 | };
12 | }
13 |
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesES6.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesFunctionArgument.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesFunctionArgument2.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModule.ts
../TypeScript/tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesWithModuleES6.ts
../TypeScript/tests/cases/conformance/es6/spread/arrayLiteralSpread.ts
../TypeScript/tests/cases/conformance/es6/spread/arrayLiteralSpreadES5iterable.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray10.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray11.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray2.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray3.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray4.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray5.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray6.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray7.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray8.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray9.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall11.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall12.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall2.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall3.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall5.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall6.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall7.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall8.ts
../TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall9.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit1.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit10.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit11.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit12.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit13.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit14.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit2.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit3.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit4.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit5.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit5.ts: SyntaxError: Property or signature expected. (4:2)
2 | //@declaration: true
3 | interface I {
> 4 | Symbol.isConcatSpreadable(): string
| ^
5 | }
6 |
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit6.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit7.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit8.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit9.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty1.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty10.ts
ast(input) !== ast(prettier(input))
Index:
===================================================================
---
+++
@@ -82,7 +82,4 @@
"computed": false
},
- "questionToken": {
- "type": "TSQuestionToken"
- },
"typeAnnotation": {
"type": "TypeAnnotation",
Index:
===================================================================
---
+++
@@ -1,11 +1,11 @@
//@target: ES6
class C {
- [Symbol.iterator]: { x; y };
+ [Symbol.iterator]: { x, y };
}
interface I {
- [Symbol.iterator]?: { x };
+ [Symbol.iterator]: { x }
}
var i: I;
\ No newline at end of file
-i = new C;
-var c: C = i;
+i = new C();
+var c: C = i;
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty11.ts
ast(input) !== ast(prettier(input))
Index:
===================================================================
---
+++
@@ -37,7 +37,4 @@
"computed": false
},
- "questionToken": {
- "type": "TSQuestionToken"
- },
"typeAnnotation": {
"type": "TypeAnnotation",
Index:
===================================================================
---
+++
@@ -1,9 +1,9 @@
//@target: ES6
-class C { }
+class C {}
interface I {
- [Symbol.iterator]?: { x };
+ [Symbol.iterator]: { x }
}
var i: I;
\ No newline at end of file
-i = new C;
-var c: C = i;
+i = new C();
+var c: C = i;
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty12.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty13.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty14.ts
ast(input) !== ast(prettier(input))
Index:
===================================================================
---
+++
@@ -82,7 +82,4 @@
"computed": false
},
- "questionToken": {
- "type": "TSQuestionToken"
- },
"typeAnnotation": {
"type": "TypeAnnotation",
Index:
===================================================================
---
+++
@@ -1,17 +1,17 @@
//@target: ES6
class C {
- [Symbol.iterator]: { x; y };
+ [Symbol.iterator]: { x, y };
}
interface I {
- [Symbol.iterator]?: { x };
+ [Symbol.iterator]: { x }
}
-declare function foo(i: I): I;
-declare function foo(a: any): any;
+declare function foo(i: I): I
+declare function foo(a: any): any
-declare function bar(i: C): C;
-declare function bar(a: any): any;
\ No newline at end of file
+declare function bar(i: C): C
+declare function bar(a: any): any
-foo(new C);
+foo(new C());
var i: I;
-bar(i);
+bar(i);
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty15.ts
ast(input) !== ast(prettier(input))
Index:
===================================================================
---
+++
@@ -37,7 +37,4 @@
"computed": false
},
- "questionToken": {
- "type": "TSQuestionToken"
- },
"typeAnnotation": {
"type": "TypeAnnotation",
Index:
===================================================================
---
+++
@@ -1,15 +1,15 @@
//@target: ES6
-class C { }
+class C {}
interface I {
- [Symbol.iterator]?: { x };
+ [Symbol.iterator]: { x }
}
-declare function foo(i: I): I;
-declare function foo(a: any): any;
+declare function foo(i: I): I
+declare function foo(a: any): any
-declare function bar(i: C): C;
-declare function bar(a: any): any;
\ No newline at end of file
+declare function bar(i: C): C
+declare function bar(a: any): any
-foo(new C);
+foo(new C());
var i: I;
-bar(i);
+bar(i);
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty16.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty17.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty18.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty19.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty2.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty20.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty20.ts: SyntaxError: Property or signature expected. (4:2)
2 | interface I {
3 | [Symbol.iterator]: (s: string) => string,
> 4 | Symbol.toStringTag(s: number): number
| ^
5 | }
6 |
7 | var i: I = {
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty21.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty22.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty22.ts: SyntaxError: Property or signature expected. (3:2)
1 | //@target: ES6
2 | interface I<T, U> {
> 3 | Symbol.unscopables(x: T): U
| ^
4 | }
5 |
6 | declare function foo<T, U>(p1: T, p2: I<T, U>): U
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty23.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty24.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty25.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty26.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty27.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty28.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty29.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty3.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty30.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty31.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty32.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty33.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty34.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty35.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty35.ts: SyntaxError: Property or signature expected. (3:2)
1 | //@target: ES6
2 | interface I1 {
> 3 | Symbol.toStringTag(): { x: string }
| ^
4 | }
5 | interface I2 {
6 | Symbol.toStringTag(): { x: number }
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty36.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty37.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty38.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty39.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty4.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty40.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty41.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty42.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty43.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty44.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty45.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty46.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty47.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty48.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty49.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty5.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty50.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty51.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty52.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty53.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty54.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty55.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty56.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty57.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty58.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty59.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty6.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty7.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty8.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty8.ts: SyntaxError: Property or signature expected. (4:2)
2 | interface I {
3 | [Symbol.unscopables]: number,
> 4 | Symbol.toPrimitive()
| ^
5 | }
6 |
../TypeScript/tests/cases/conformance/es6/Symbols/symbolProperty9.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType1.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType10.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType11.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType11.ts: SyntaxError: Expression expected. (8:3)
6 | s || s;
7 | s || 1;
> 8 | {} || s;
| ^
9 |
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType12.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType13.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType14.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType15.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType16.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType17.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType18.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType19.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType2.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType20.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType3.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType4.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType5.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType6.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType7.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType8.ts
../TypeScript/tests/cases/conformance/es6/Symbols/symbolType9.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsTypeArgumentInference.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsTypeArgumentInferenceES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTagsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressions.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressionsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution1.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution1_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution2.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution2_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution3.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithOverloadResolution3_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagNamedDeclare.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagNamedDeclareES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAny.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAnyES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypedTags.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypedTagsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateUntypedTagCall01.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateWithConstructableTag01.ts
../TypeScript/tests/cases/conformance/es6/templates/taggedTemplateWithConstructableTag02.ts
../TypeScript/tests/cases/conformance/es6/templates/TemplateExpression1.ts
../TypeScript/tests/cases/conformance/es6/templates/TemplateExpression1.ts: SyntaxError: '}' expected. (1:18)
> 1 | var v = `foo ${ a
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringBinaryOperations.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringBinaryOperationsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringBinaryOperationsES6Invalid.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringBinaryOperationsInvalid.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes01.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes01_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes02.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes02_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes03.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes03_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes04.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringControlCharacterEscapes04_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInArray.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInArrowFunction.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInArrowFunctionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInCallExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInCallExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInConditional.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInConditionalES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInDeleteExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInDeleteExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInDivision.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInEqualityChecks.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInEqualityChecksES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionParameterType.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionParameterType.ts: SyntaxError: Parameter declaration expected. (1:12)
> 1 | function f(`hello`);
| ^
2 | function f(x: string);
3 | function f(x: string) {
4 | return x;
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionParameterTypeES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInFunctionParameterTypeES6.ts: SyntaxError: Parameter declaration expected. (2:11)
1 | // @target: ES6
> 2 | function f(`hello`);
| ^
3 | function f(x: string);
4 | function f(x: string) {
5 | return x;
../TypeScript/tests/cases/conformance/es6/templates/templateStringInIndexExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInIndexExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInOperator.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInOperatorES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInstanceOf.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInstanceOf.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInstanceOfES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInInstanceOfES6.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModuleName.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModuleName.ts: SyntaxError: ';' expected. (1:9)
> 1 | declare module `M1` {
| ^
2 | }
3 |
4 | declare module `M${2}` {
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModuleNameES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModuleNameES6.ts: SyntaxError: ';' expected. (2:8)
1 | // @target: ES6
> 2 | declare module `M1` {
| ^
3 | }
4 |
5 | declare module `M${2}` {
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModulo.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInModuloES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInMultiplication.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInMultiplicationES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInNewExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInNewExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInNewOperator.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInNewOperatorES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts: SyntaxError: Property assignment expected. (3:4)
1 | var x = {
2 | a: `abc${ 123 }def`,
> 3 | `b`: 321
| ^
4 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts: SyntaxError: Property assignment expected. (4:4)
2 | var x = {
3 | a: `abc${ 123 }def`,
> 4 | `b`: 321
| ^
5 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInParentheses.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInParenthesesES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyAssignment.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyAssignmentES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts: SyntaxError: Property assignment expected. (2:4)
1 | var x = {
> 2 | `a`: 321
| ^
3 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts: SyntaxError: Property assignment expected. (2:4)
1 | var x = {
> 2 | `abc${ 123 }def${ 456 }ghi`: 321
| ^
3 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyNameES6_1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyNameES6_1.ts: SyntaxError: Property assignment expected. (3:4)
1 | // @target: ES6
2 | var x = {
> 3 | `a`: 321
| ^
4 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyNameES6_2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInPropertyNameES6_2.ts: SyntaxError: Property assignment expected. (3:4)
1 | // @target: ES6
2 | var x = {
> 3 | `abc${ 123 }def${ 456 }ghi`: 321
| ^
4 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringInSwitchAndCase.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInSwitchAndCaseES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTaggedTemplate.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTaggedTemplateES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeAssertion.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeAssertion.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (1:10)
> 1 | var x = <any>`abc${ 123 }def`;
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeAssertionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeAssertionES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:9)
1 | // @target: ES6
> 2 | var x = <any>`abc${ 123 }def`;
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeOf.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInTypeOfES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInUnaryPlus.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInUnaryPlusES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInWhile.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInWhileES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringInYieldKeyword.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline1_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline2_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline3.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringMultiline3_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringPlainCharactersThatArePartsOfEscapes01.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringPlainCharactersThatArePartsOfEscapes01_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringPlainCharactersThatArePartsOfEscapes02.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringPlainCharactersThatArePartsOfEscapes02_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination1_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination2_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination3.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination3_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination4.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination4_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination5.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringTermination5_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated1.ts: SyntaxError: Unterminated template literal. (2:1)
1 | 
> 2 | `
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated1_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated1_ES6.ts: SyntaxError: Unterminated template literal. (2:1)
1 | // @target: ES6
> 2 | `
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated2.ts: SyntaxError: Unterminated template literal. (2:3)
1 | 
> 2 | `\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated2_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated2_ES6.ts: SyntaxError: Unterminated template literal. (2:3)
1 | // @target: ES6
> 2 | `\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated3.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated3.ts: SyntaxError: Unterminated template literal. (2:3)
1 | 
> 2 | `\\
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated3_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated3_ES6.ts: SyntaxError: Unterminated template literal. (2:3)
1 | // @target: ES6
> 2 | `\\
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated4.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated4.ts: SyntaxError: Unterminated template literal. (2:5)
1 | 
> 2 | `\\\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated4_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated4_ES6.ts: SyntaxError: Unterminated template literal. (2:5)
1 | // @target: ES6
> 2 | `\\\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated5.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated5.ts: SyntaxError: Unterminated template literal. (2:7)
1 | 
> 2 | `\\\\\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated5_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringUnterminated5_ES6.ts: SyntaxError: Unterminated template literal. (2:7)
1 | // @target: ES6
> 2 | `\\\\\`
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringWhitespaceEscapes1.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWhitespaceEscapes1_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWhitespaceEscapes2.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWhitespaceEscapes2_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedAddition.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedAdditionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedArray.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedArrayES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedArrowFunction.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedArrowFunctionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedComments.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedComments.ts: Error: Comment "closing comment" 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:215:27)
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/es6/templates/templateStringWithEmbeddedCommentsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedCommentsES6.ts: Error: Comment "closing comment" 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:215:27)
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/es6/templates/templateStringWithEmbeddedConditional.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedConditionalES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedDivision.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedDivisionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedFunctionExpression.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedFunctionExpressionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperator.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperatorES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOf.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOf.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOfES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOfES6.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedModulo.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedModuloES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedMultiplication.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedMultiplicationES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedNewOperator.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedNewOperatorES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteral.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteralES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTemplateString.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTemplateStringES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAddition.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAddition.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (1:17)
> 1 | var x = `abc${ <any>(10 + 10) }def`;
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (2:16)
1 | // @target: ES6
> 2 | var x = `abc${ <any>(10 + 10) }def`;
| ^
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeOfOperator.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeOfOperatorES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedUnaryPlus.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedUnaryPlusES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeyword.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeyword.ts: SyntaxError: '(' expected. (1:15)
> 1 | function* gen {
| ^
2 | // Once this is supported, yield *must* be parenthesized.
3 | var x = `abc${ yield 10 }def`;
4 | }
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmptyLiteralPortions.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithEmptyLiteralPortionsES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithOpenCommentInStringPortion.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithOpenCommentInStringPortion.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 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)
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithOpenCommentInStringPortionES6.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithOpenCommentInStringPortionES6.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 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)
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithPropertyAccess.ts
../TypeScript/tests/cases/conformance/es6/templates/templateStringWithPropertyAccessES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions03_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions03_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions04_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions04_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions05_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions05_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions06_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions06_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions07_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions07_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions08_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions08_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions09_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions09_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions10_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions10_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions11_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions11_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions12_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions12_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions13_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions13_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions15_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions15_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions16_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions16_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions17_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions17_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions18_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions18_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions19_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions19_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings01_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings01_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings02_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings02_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings03_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings03_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings04_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings04_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings05_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings05_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings06_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings06_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES5.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (5:18)
3 | // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
4 | // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
> 5 | var x = "\u{110000}";
| ^
6 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES6.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (5:18)
3 | // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
4 | // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
> 5 | var x = "\u{110000}";
| ^
6 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings08_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings08_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings09_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings09_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings10_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings10_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings11_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings11_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES5.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (3:20)
1 | // @target: es5
2 |
> 3 | var x = "\u{FFFFFFFF}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES6.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (3:20)
1 | // @target: es6
2 |
> 3 | var x = "\u{FFFFFFFF}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings13_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings13_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES5.ts: SyntaxError: Hexadecimal digit expected. (4:12)
2 |
3 | // Shouldn't work, negatives are not allowed.
> 4 | var x = "\u{-DDDD}";
| ^
5 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES6.ts: SyntaxError: Hexadecimal digit expected. (4:12)
2 |
3 | // Shouldn't work, negatives are not allowed.
> 4 | var x = "\u{-DDDD}";
| ^
5 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings15_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings15_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings16_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings16_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES5.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es5
2 |
> 3 | var x = "\u{r}\u{n}\u{t}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES6.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es6
2 |
> 3 | var x = "\u{r}\u{n}\u{t}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings18_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings18_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES5.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es5
2 |
> 3 | var x = "\u{}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES6.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es6
2 |
> 3 | var x = "\u{}";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES5.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es5
2 |
> 3 | var x = "\u{";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES6.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es6
2 |
> 3 | var x = "\u{";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES5.ts: SyntaxError: Unterminated Unicode escape sequence. (3:14)
1 | // @target: es5
2 |
> 3 | var x = "\u{67";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES6.ts: SyntaxError: Unterminated Unicode escape sequence. (3:14)
1 | // @target: es6
2 |
> 3 | var x = "\u{67";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES5.ts: SyntaxError: Unterminated Unicode escape sequence. (3:26)
1 | // @target: es5
2 |
> 3 | var x = "\u{00000000000067";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES6.ts: SyntaxError: Unterminated Unicode escape sequence. (3:26)
1 | // @target: es6
2 |
> 3 | var x = "\u{00000000000067";
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings23_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings23_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES5.ts: SyntaxError: Unterminated Unicode escape sequence. (3:26)
1 | // @target: es5
2 |
> 3 | var x = "\u{00000000000067
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES6.ts: SyntaxError: Unterminated Unicode escape sequence. (3:26)
1 | // @target: es6
2 |
> 3 | var x = "\u{00000000000067
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES5.ts: SyntaxError: Unterminated string literal. (3:27)
1 | // @target: es5
2 |
> 3 | var x = "\u{00000000000067}
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES6.ts: SyntaxError: Unterminated string literal. (3:27)
1 | // @target: es6
2 |
> 3 | var x = "\u{00000000000067}
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates01_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates01_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates02_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates02_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates03_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates03_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates04_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates04_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates05_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates05_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates06_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates06_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES5.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (5:18)
3 | // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
4 | // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
> 5 | var x = `\u{110000}`;
| ^
6 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES6.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (5:18)
3 | // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp)
4 | // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
> 5 | var x = `\u{110000}`;
| ^
6 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates08_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates08_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates09_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates09_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates10_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates10_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates11_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates11_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES5.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (3:20)
1 | // @target: es5
2 |
> 3 | var x = `\u{FFFFFFFF}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES6.ts: SyntaxError: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. (3:20)
1 | // @target: es6
2 |
> 3 | var x = `\u{FFFFFFFF}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates13_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates13_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES5.ts: SyntaxError: Hexadecimal digit expected. (4:12)
2 |
3 | // Shouldn't work, negatives are not allowed.
> 4 | var x = `\u{-DDDD}`;
| ^
5 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES6.ts: SyntaxError: Hexadecimal digit expected. (4:12)
2 |
3 | // Shouldn't work, negatives are not allowed.
> 4 | var x = `\u{-DDDD}`;
| ^
5 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates15_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates15_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates16_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates16_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES5.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es5
2 |
> 3 | var x = `\u{r}\u{n}\u{t}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES6.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es6
2 |
> 3 | var x = `\u{r}\u{n}\u{t}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates18_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates18_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES5.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es5
2 |
> 3 | var x = `\u{}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES6.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES6.ts: SyntaxError: Hexadecimal digit expected. (3:12)
1 | // @target: es6
2 |
> 3 | var x = `\u{}`;
| ^
4 |
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates20_ES5.ts
../TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates20_ES6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration10_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration12_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration13_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration13_es6.ts: SyntaxError: Array element destructuring pattern expected. (6:4)
4 | // that would make it ambiguous with a `let` LexicalDeclaration whose first LexicalBinding was an ArrayBindingPattern.
5 | var let: any;
> 6 | let[0] = 100;
| ^
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration3_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration4_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration5_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration6_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration7_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration8_es6.ts
../TypeScript/tests/cases/conformance/es6/variableDeclarations/VariableDeclaration9_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext1.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext2.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext4.d.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext5.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorInAmbientContext6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorOverloads1.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorOverloads2.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorOverloads3.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorOverloads4.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorOverloads5.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck1.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck10.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck11.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck12.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck13.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck14.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck15.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck16.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck17.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck18.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck19.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck2.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck20.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck21.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck22.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck23.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck24.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck25.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck26.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck27.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck28.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck29.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck3.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck30.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck31.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck32.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck33.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck34.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck35.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck36.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck37.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck38.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck39.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck39.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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:622: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:621:24)
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck4.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck40.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck41.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck42.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck43.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck44.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck45.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck46.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck47.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck49.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck5.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck50.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck51.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck52.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck53.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck54.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck55.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck56.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck57.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck58.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck59.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck59.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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:1544: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:1543:22)
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck60.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck61.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck61.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:4167: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:4165:21)
at path.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:2442: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:2427:8)
at /mnt/c/Users/Lucas Azzola/Code/prettier/src/printer.js:622: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:621:24)
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck62.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck63.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck7.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck8.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck9.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression10_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression11_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression12_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression13_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression14_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression15_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression16_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression17_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression1_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression2_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression3_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression4_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression5_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression5_es6.ts: SyntaxError: Expression expected. (4:0)
2 | function* foo() {
3 | yield*
> 4 | }
| ^
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression6_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression7_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldExpression9_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression1_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression2_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression2_es6.ts: SyntaxError: Expression expected. (2:7)
1 | // @target: es6
> 2 | yield *;
| ^
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression3_es6.ts
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression3_es6.ts: SyntaxError: Expression expected. (3:11)
1 | // @target: es6
2 | function *g() {
> 3 | yield *;
| ^
4 | }
../TypeScript/tests/cases/conformance/es6/yieldExpressions/YieldStarExpression4_es6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCanBeAssigned1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCanBeAssigned1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCannotBeAssigned.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCannotBeAssigned.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSIsReference.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSIsReference.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSIsValue.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSIsValue.ts: SyntaxError: Declaration or statement expected. (43:9)
41 |
42 | // object literals
> 43 | { a: 0 } **= value;
| ^
44 |
45 | // array literals
46 | ['', ''] **= value;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationOperator1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationOperator1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationOperator2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitCompoundExponentiationOperator2.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator1.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator2.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator3.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator3.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator4.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator4.ts: SyntaxError: JSX element 'number' has no corresponding closing tag. (13:7)
11 | 1 ** (<number>++temp) ** 3;
12 | 1 ** (<number>temp--) ** 3;
> 13 | 1 ** (<number>temp++) ** 3;
| ^
14 |
15 | (void --temp) ** 3;
16 | (void temp--) ** 3;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTempalteString4.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTempalteString4.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTempalteString4ES6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTempalteString4ES6.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString1.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString1ES6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString1ES6.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString2.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString2ES6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString2ES6.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString3.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString3.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString3ES6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperatorInTemplateString3ES6.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:3704: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:4167: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:4165:21)
at FastPath.map (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:173:19)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts: SyntaxError: An unary expression with the 'typeof' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. (9:7)
7 | // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
8 | // TempateHead & TemplateTail are empty
> 9 | `${1 + typeof t1 ** t2 ** t1}`;
| ^
10 | `${-t1 ** t2 - t1}`;
11 | `${-++t1 ** t2 - t1}`;
12 | `${-t1++ ** t2 - t1}`;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts: SyntaxError: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. (9:9)
7 | // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
8 | // With templateHead
> 9 | `hello ${-t1 ** t2 - t1}`;
| ^
10 | `hello ${-++t1 ** t2 - t1}`;
11 | `hello ${-t1++ ** t2 - t1}`;
12 | `hello ${!t1 ** t2 ** --t1 }`;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts: SyntaxError: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. (9:3)
7 | // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
8 | // With TemplateTail
> 9 | `${-t1 ** t2 - t1} world`;
| ^
10 | `${-++t1 ** t2 - t1} world`;
11 | `${-t1++ ** t2 - t1} world`;
12 | `${!t1 ** t2 ** --t1 } world`;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts: SyntaxError: An unary expression with the '-' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. (4:0)
2 |
3 | // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
> 4 | -1 ** 2;
| ^
5 | +1 ** 2
6 | 1 ** -2 ** 3;
7 | 1 ** -2 ** -3;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts: SyntaxError: An unary expression with the 'delete' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses. (6:0)
4 | var temp: any;
5 |
> 6 | delete --temp ** 3;
| ^
7 | delete ++temp ** 3;
8 | delete temp-- ** 3;
9 | delete temp++ ** 3;
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithAnyAndNumber.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithAnyAndNumber.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithEnum.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithEnum.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithEnumUnion.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithEnumUnion.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNew.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNew.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndInvalidOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndInvalidOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndValidOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndValidOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalid.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalid.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalidES6.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalidES6.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTypeParameter.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTypeParameter.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndInvalidOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndInvalidOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndValidOperands.ts
../TypeScript/tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndValidOperands.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:3704: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:4167: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:4165:21)
at FastPath.call (/mnt/c/Users/Lucas Azzola/Code/prettier/src/fast-path.js:119:16)
../TypeScript/tests/cases/conformance/es7/trailingCommasInFunctionParametersAndArguments.ts
../TypeScript/tests/cases/conformance/es7/trailingCommasInFunctionParametersAndArguments.ts: SyntaxError: '}' expected. (20:20)
18 | // Works for constructors too
19 | class X {
> 20 | constructor(a,) { }
| ^
21 | // See trailingCommasInGetter.ts
22 | set x(value,) { }
23 | }
../TypeScript/tests/cases/conformance/es7/trailingCommasInGetter.ts
../TypeScript/tests/cases/conformance/es7/trailingCommasInGetter.ts: SyntaxError: Parameter declaration expected. (2:10)
1 | class X {
> 2 | get x(,) { return 0; }
| ^
3 | }
4 |
../TypeScript/tests/cases/conformance/expressions/arrayLiterals/arrayLiterals.ts
../TypeScript/tests/cases/conformance/expressions/arrayLiterals/arrayLiterals2ES5.ts
../TypeScript/tests/cases/conformance/expressions/arrayLiterals/arrayLiterals2ES6.ts
../TypeScript/tests/cases/conformance/expressions/arrayLiterals/arrayLiterals3.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOpEmitParens.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperator1.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperator2.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperator3.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperator4.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperator4.ts: SyntaxError: JSX element 'any' has no corresponding closing tag. (10:1)
8 |
9 | // These should emit identically
> 10 | <any>foo;
| ^
11 | (foo as any);
12 |
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperatorAmbiguity.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperatorASI.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperatorContextualType.ts
../TypeScript/tests/cases/conformance/expressions/asOperator/asOperatorNames.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/assignmentLHSIsReference.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/assignmentLHSIsValue.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/assignmentLHSIsValue.ts: SyntaxError: Declaration or statement expected. (35:8)
33 |
34 | // object literals
> 35 | { a: 0} = value;
| ^
36 |
37 | // array literals
38 | ['', ''] = value;
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/assignmentTypeNarrowing.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAdditionAssignmentLHSCanBeAssigned.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAdditionAssignmentLHSCannotBeAssigned.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAdditionAssignmentWithInvalidOperands.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundArithmeticAssignmentLHSCanBeAssigned.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundArithmeticAssignmentWithInvalidOperands.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAssignmentLHSIsReference.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAssignmentLHSIsValue.ts
../TypeScript/tests/cases/conformance/expressions/assignmentOperator/compoundAssignmentLHSIsValue.ts: SyntaxError: Declaration or statement expected. (60:8)
58 |
59 | // object literals
> 60 | { a: 0} *= value;
| ^
61 | { a: 0} += value;
62 |
63 | // array literals
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithAnyAndEveryType.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithInvalidOperands.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithNullValueAndInvalidOperator.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithNullValueAndValidOperator.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithNumberAndEnum.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithOnlyNullValueOrUndefinedValue.ts
../TypeScript/tests/cases/conformance/expressions/binaryOperators/additionOperator/additionOperatorWithSt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment