Because .tsbuildinfo is flag now, use .tsbuildinfo just like any other output to determine if project needs rebuild

This commit is contained in:
Sheetal Nandi committed 2019-03-01 13:12:19 -08:00
1 parent 026c1dd69c
commit 8e7db4d4b3
117 files changed
+125 -62017

No files matched your search

+5 -13
View File
@@ -713,8 +713,7 @@ namespace ts {
}
// Collect the expected outputs of this project
// Do not use presence or absence of buildInfo to determine status of build
const outputs = getAllProjectOutputs(project, /*ignoreBuildInfo*/ true);
const outputs = getAllProjectOutputs(project);
if (outputs.length === 0) {
return {
@@ -1300,11 +1299,6 @@ namespace ts {
priorNewestUpdateTime = newer(priorNewestUpdateTime, host.getModifiedTime(file) || missingFileModifiedTime);
}
// For info file, ignore if we cant update modified time
if (isBuildInfoFile(file) && !host.fileExists(file)) {
continue;
}
host.setModifiedTime(file, now);
if (proj.options.listEmittedFiles) {
writeFileName(`TSFILE: ${file}`);
@@ -1478,19 +1472,17 @@ namespace ts {
return combinePaths(project, "tsconfig.json") as ResolvedConfigFileName;
}
export function getAllProjectOutputs(project: ParsedCommandLine, ignoreBuildInfo?: true): ReadonlyArray<string> {
export function getAllProjectOutputs(project: ParsedCommandLine): ReadonlyArray<string> {
if (project.options.outFile || project.options.out) {
return getOutFileOutputs(project, ignoreBuildInfo);
return getOutFileOutputs(project);
}
else {
const outputs: string[] = [];
for (const inputFile of project.fileNames) {
outputs.push(...getOutputFileNames(inputFile, project));
}
if (!ignoreBuildInfo) {
const buildInfoPath = getOutputPathForBuildInfo(project.options);
if (buildInfoPath) outputs.push(buildInfoPath);
}
const buildInfoPath = getOutputPathForBuildInfo(project.options);
if (buildInfoPath) outputs.push(buildInfoPath);
return outputs;
}
}
+38 -73
View File
@@ -148,10 +148,9 @@ namespace ts {
expectedMapFileNames: ReadonlyArray<string>;
expectedBuildInfoFilesForSectionBaselines?: ReadonlyArray<BuildInfoSectionBaselineFiles>;
modifyFs: (fs: vfs.FileSystem) => void;
withoutBuildInfo: boolean;
}
function build({ fs, tick, rootNames, expectedMapFileNames, expectedBuildInfoFilesForSectionBaselines, modifyFs, withoutBuildInfo }: BuildInput) {
function build({ fs, tick, rootNames, expectedMapFileNames, expectedBuildInfoFilesForSectionBaselines, modifyFs }: BuildInput) {
const actualReadFileMap = createMap<number>();
modifyFs(fs);
tick();
@@ -165,18 +164,8 @@ namespace ts {
if (path.startsWith("/src/")) {
actualReadFileMap.set(path, (actualReadFileMap.get(path) || 0) + 1);
}
if (withoutBuildInfo && isBuildInfoFile(path)) {
return undefined;
}
return originalReadFile.call(host, path);
};
if (withoutBuildInfo) {
const originalWriteFile = host.writeFile;
host.writeFile = (fileName, content, writeByteOrder) => {
return !isBuildInfoFile(fileName) &&
originalWriteFile.call(host, fileName, content, writeByteOrder);
};
}
builder.buildAllProjects();
generateSourceMapBaselineFiles(fs, expectedMapFileNames);
generateBuildInfoSectionBaselineFiles(fs, expectedBuildInfoFilesForSectionBaselines || emptyArray);
@@ -184,10 +173,10 @@ namespace ts {
return { fs, actualReadFileMap, host, builder };
}
function generateBaseline(fs: vfs.FileSystem, proj: string, scenario: string, subScenario: string, withoutBuildInfo: boolean, baseFs: vfs.FileSystem) {
function generateBaseline(fs: vfs.FileSystem, proj: string, scenario: string, subScenario: string, baseFs: vfs.FileSystem) {
const patch = fs.diff(baseFs);
// tslint:disable-next-line:no-null-keyword
Harness.Baseline.runBaseline(`tsbuild/${proj}/${subScenario.split(" ").join("-")}/${withoutBuildInfo ? "no-" : ""}buildInfo/${scenario.split(" ").join("-")}.js`, patch ? vfs.formatPatch(patch) : null);
Harness.Baseline.runBaseline(`tsbuild/${proj}/${subScenario.split(" ").join("-")}/${scenario.split(" ").join("-")}.js`, patch ? vfs.formatPatch(patch) : null);
}
function verifyReadFileCalls(actualReadFileMap: Map<number>, expectedReadFiles: ReadonlyMap<number>) {
@@ -209,31 +198,39 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
return map;
}
export interface ExpectedBuildOutputPerState {
export interface ExpectedBuildOutput {
expectedDiagnostics?: ReadonlyArray<fakes.ExpectedDiagnostic>;
expectedReadFiles?: ReadonlyMap<number>;
}
export interface ExpectedBuildOutputDifferingWithBuildInfo extends ExpectedBuildOutputPerState {
export interface BuildState extends ExpectedBuildOutput {
modifyFs: (fs: vfs.FileSystem) => void;
// Common ones
expectedDiagnostics?: ReadonlyArray<fakes.ExpectedDiagnostic>;
expectedReadFiles?: ReadonlyMap<number>;
// Differing
withBuildInfo?: ExpectedBuildOutputPerState;
withoutBuildInfo?: ExpectedBuildOutputPerState;
}
interface VerifyTsBuildInputWorker extends VerifyTsBuildInput {
withoutBuildInfo: boolean;
export interface VerifyTsBuildInput {
scenario: string;
projFs: () => vfs.FileSystem;
time: () => number;
tick: () => void;
proj: string;
rootNames: ReadonlyArray<string>;
expectedMapFileNames: ReadonlyArray<string>;
expectedBuildInfoFilesForSectionBaselines?: ReadonlyArray<BuildInfoSectionBaselineFiles>;
lastProjectOutputJs: string;
initialBuild: BuildState;
outputFiles?: ReadonlyArray<string>;
incrementalDtsChangedBuild?: BuildState;
incrementalDtsUnchangedBuild?: BuildState;
incrementalHeaderChangedBuild?: BuildState;
baselineOnly?: true;
}
function verifyTsbuildOutputWorker({
export function verifyTsbuildOutput({
scenario, projFs, time, tick, proj, rootNames, outputFiles, baselineOnly,
expectedMapFileNames, expectedBuildInfoFilesForSectionBaselines, withoutBuildInfo, lastProjectOutputJs,
expectedMapFileNames, expectedBuildInfoFilesForSectionBaselines, lastProjectOutputJs,
initialBuild, incrementalDtsChangedBuild, incrementalDtsUnchangedBuild, incrementalHeaderChangedBuild
}: VerifyTsBuildInputWorker) {
describe(`tsc --b ${proj}:: ${scenario}${withoutBuildInfo ? " without build info" : ""}`, () => {
}: VerifyTsBuildInput) {
describe(`tsc --b ${proj}:: ${scenario}`, () => {
let fs: vfs.FileSystem;
let actualReadFileMap: Map<number>;
let firstBuildTime: number;
@@ -246,7 +243,6 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
expectedMapFileNames,
expectedBuildInfoFilesForSectionBaselines,
modifyFs: initialBuild.modifyFs,
withoutBuildInfo
});
({ fs, actualReadFileMap, host } = result);
firstBuildTime = time();
@@ -259,24 +255,19 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
describe("initialBuild", () => {
if (!baselineOnly) {
it(`verify diagnostics`, () => {
host.assertDiagnosticMessages(...(getValue(initialBuild, withoutBuildInfo, "expectedDiagnostics") || emptyArray));
host.assertDiagnosticMessages(...(initialBuild.expectedDiagnostics || emptyArray));
});
}
it(`Generates files matching the baseline`, () => {
generateBaseline(fs, proj, scenario, "initial Build", withoutBuildInfo, projFs());
generateBaseline(fs, proj, scenario, "initial Build", projFs());
});
const expectedReadFiles = getValue(initialBuild, withoutBuildInfo, "expectedReadFiles");
if (!baselineOnly && expectedReadFiles) {
if (!baselineOnly) {
it("verify readFile calls", () => {
verifyReadFileCalls(actualReadFileMap, expectedReadFiles);
verifyReadFileCalls(actualReadFileMap, Debug.assertDefined(initialBuild.expectedReadFiles));
});
}
});
function getValue<T extends keyof ExpectedBuildOutputPerState>(value: ExpectedBuildOutputDifferingWithBuildInfo, withoutBuildInfo: boolean, key: T): ExpectedBuildOutputPerState[T] {
return (withoutBuildInfo ? value.withoutBuildInfo && value.withoutBuildInfo[key] : value.withBuildInfo && value.withBuildInfo[key]) || value[key];
}
function incrementalBuild(subScenario: string, incrementalModifyFs: (fs: vfs.FileSystem) => void, incrementalExpectedDiagnostics: ReadonlyArray<fakes.ExpectedDiagnostic> | undefined, incrementalExpectedReadFiles: ReadonlyMap<number> | undefined) {
describe(subScenario, () => {
let newFs: vfs.FileSystem;
@@ -294,7 +285,6 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
expectedMapFileNames,
expectedBuildInfoFilesForSectionBaselines,
modifyFs: incrementalModifyFs,
withoutBuildInfo
}));
assert.equal(newFs.statSync(lastProjectOutputJs).mtimeMs, time(), "Second build timestamp is correct");
});
@@ -309,11 +299,11 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
});
}
it(`Generates files matching the baseline`, () => {
generateBaseline(newFs, proj, scenario, subScenario, withoutBuildInfo, fs);
generateBaseline(newFs, proj, scenario, subScenario, fs);
});
if (!baselineOnly && incrementalExpectedReadFiles) {
if (!baselineOnly) {
it("verify readFile calls", () => {
verifyReadFileCalls(actualReadFileMap, incrementalExpectedReadFiles);
verifyReadFileCalls(actualReadFileMap, Debug.assertDefined(incrementalExpectedReadFiles));
});
}
it(`Verify emit output file text is same when built clean`, () => {
@@ -331,7 +321,6 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
}
}
},
withoutBuildInfo
});
for (const outputFile of expectedOutputFiles) {
@@ -346,8 +335,8 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
incrementalBuild(
"incremental declaration changes",
incrementalDtsChangedBuild.modifyFs,
getValue(incrementalDtsChangedBuild, withoutBuildInfo, "expectedDiagnostics"),
getValue(incrementalDtsChangedBuild, withoutBuildInfo, "expectedReadFiles"),
incrementalDtsChangedBuild.expectedDiagnostics,
incrementalDtsChangedBuild.expectedReadFiles,
);
}
@@ -355,8 +344,8 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
incrementalBuild(
"incremental declaration doesnt change",
incrementalDtsUnchangedBuild.modifyFs,
getValue(incrementalDtsUnchangedBuild, withoutBuildInfo, "expectedDiagnostics"),
getValue(incrementalDtsUnchangedBuild, withoutBuildInfo, "expectedReadFiles")
incrementalDtsUnchangedBuild.expectedDiagnostics,
incrementalDtsUnchangedBuild.expectedReadFiles
);
}
@@ -364,34 +353,10 @@ Mismatch Actual(path, actual, expected): ${JSON.stringify(arrayFrom(mapDefinedIt
incrementalBuild(
"incremental headers change without dts changes",
incrementalHeaderChangedBuild.modifyFs,
getValue(incrementalHeaderChangedBuild, withoutBuildInfo, "expectedDiagnostics"),
getValue(incrementalHeaderChangedBuild, withoutBuildInfo, "expectedReadFiles")
incrementalHeaderChangedBuild.expectedDiagnostics,
incrementalHeaderChangedBuild.expectedReadFiles
);
}
});
}
export interface VerifyTsBuildInput {
scenario: string;
projFs: () => vfs.FileSystem;
time: () => number;
tick: () => void;
proj: string;
rootNames: ReadonlyArray<string>;
expectedMapFileNames: ReadonlyArray<string>;
expectedBuildInfoFilesForSectionBaselines?: ReadonlyArray<BuildInfoSectionBaselineFiles>;
lastProjectOutputJs: string;
initialBuild: ExpectedBuildOutputDifferingWithBuildInfo;
outputFiles?: ReadonlyArray<string>;
ignoreWithoutBuildInfo?: boolean;
incrementalDtsChangedBuild ?: ExpectedBuildOutputDifferingWithBuildInfo;
incrementalDtsUnchangedBuild ?: ExpectedBuildOutputDifferingWithBuildInfo;
incrementalHeaderChangedBuild?: ExpectedBuildOutputDifferingWithBuildInfo;
baselineOnly?: true;
}
export function verifyTsbuildOutput(input: VerifyTsBuildInput) {
verifyTsbuildOutputWorker({ ...input, withoutBuildInfo: false });
if (!input.ignoreWithoutBuildInfo) verifyTsbuildOutputWorker({ ...input, withoutBuildInfo: true });
}
}
+42 -139
View File
@@ -151,7 +151,7 @@ namespace ts {
];
let dtsChangedExpectedReadFilesDependOrdered: ReadonlyMap<number> = getDtsChangedReadFilesDependOrdered();
let dtsUnchangedWithBuildInfoExpectedDiagnostics: ReadonlyArray<fakes.ExpectedDiagnostic> = [
let dtsUnchangedExpectedDiagnostics: ReadonlyArray<fakes.ExpectedDiagnostic> = [
getExpectedDiagnosticForProjectsInBuild(relSources[project.first][source.config], relSources[project.second][source.config], relSources[project.third][source.config]),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, relSources[project.first][source.config], relOutputFiles[project.first][ext.js], relSources[project.first][source.ts][part.one]],
[Diagnostics.Building_project_0, sources[project.first][source.config]],
@@ -160,7 +160,7 @@ namespace ts {
[Diagnostics.Updating_output_of_project_0, sources[project.third][source.config]],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, sources[project.third][source.config]],
];
let dtsUnchangedWithBuildInfoExpectedReadFiles: ReadonlyMap<number> = getReadFilesMap(
let dtsUnchangedExpectedReadFiles: ReadonlyMap<number> = getReadFilesMap(
[
// Configs
sources[project.first][source.config],
@@ -179,7 +179,7 @@ namespace ts {
outputFiles[project.first][ext.buildinfo], // since first build info changes
);
let dtsUnchangedWithBuildInfoExpectedDiagnosticsDependOrdered: ReadonlyArray<fakes.ExpectedDiagnostic> = [
let dtsUnchangedExpectedDiagnosticsDependOrdered: ReadonlyArray<fakes.ExpectedDiagnostic> = [
getExpectedDiagnosticForProjectsInBuild(relSources[project.first][source.config], relSources[project.second][source.config], relSources[project.third][source.config]),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, relSources[project.first][source.config], relOutputFiles[project.first][ext.js], relSources[project.first][source.ts][part.one]],
[Diagnostics.Building_project_0, sources[project.first][source.config]],
@@ -190,54 +190,7 @@ namespace ts {
[Diagnostics.Updating_output_of_project_0, sources[project.third][source.config]],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, sources[project.third][source.config]],
];
let dtsUnchangedWithBuildInfoExpectedReadFilesDependOrdered: ReadonlyMap<number> = getDtsUnchangedWithBuildInfoExpectedReadFilesDependOrdered();
let dtsUnchangedWithoutBuildInfoExpectedDiagnostics: ReadonlyArray<fakes.ExpectedDiagnostic> = [
getExpectedDiagnosticForProjectsInBuild(relSources[project.first][source.config], relSources[project.second][source.config], relSources[project.third][source.config]),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, relSources[project.first][source.config], relOutputFiles[project.first][ext.js], relSources[project.first][source.ts][part.one]],
[Diagnostics.Building_project_0, sources[project.first][source.config]],
[Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, relSources[project.second][source.config], relSources[project.second][source.ts][part.one], relOutputFiles[project.second][ext.js]],
[Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed, relSources[project.third][source.config], "src/first"],
[Diagnostics.Updating_output_of_project_0, sources[project.third][source.config]],
[Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, sources[project.third][source.config], relOutputFiles[project.third][ext.buildinfo]],
[Diagnostics.Building_project_0, sources[project.third][source.config]]
];
let dtsUnchangedWithoutBuildInfoExpectedReadFiles: ReadonlyMap<number> = getReadFilesMap(
[
// Configs
sources[project.first][source.config],
sources[project.second][source.config],
sources[project.third][source.config],
// Source files
...sources[project.first][source.ts],
...sources[project.third][source.ts],
// outputs
...outputFiles[project.first],
...outputFiles[project.second],
outputFiles[project.third][ext.dts],
// To prepend:: checked to see if we can do prepend manipulation
outputFiles[project.third][ext.buildinfo],
],
outputFiles[project.first][ext.buildinfo], // since first build info changes
);
let dtsUnchangedWithoutBuildInfoExpectedDiagnosticsDependOrdered: ReadonlyArray<fakes.ExpectedDiagnostic> = [
getExpectedDiagnosticForProjectsInBuild(relSources[project.first][source.config], relSources[project.second][source.config], relSources[project.third][source.config]),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, relSources[project.first][source.config], relOutputFiles[project.first][ext.js], relSources[project.first][source.ts][part.one]],
[Diagnostics.Building_project_0, sources[project.first][source.config]],
[Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed, relSources[project.second][source.config], "src/first"],
[Diagnostics.Updating_output_of_project_0, sources[project.second][source.config]],
[Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, sources[project.second][source.config], relOutputFiles[project.second][ext.buildinfo]],
[Diagnostics.Building_project_0, sources[project.second][source.config]],
[Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed, relSources[project.third][source.config], "src/second"],
[Diagnostics.Updating_output_of_project_0, sources[project.third][source.config]],
[Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, sources[project.third][source.config], relOutputFiles[project.third][ext.buildinfo]],
[Diagnostics.Building_project_0, sources[project.third][source.config]]
];
let dtsUnchangedWithoutBuildInfoExpectedReadFilesDependOrdered: ReadonlyMap<number> = getDtsUnchangedWithoutBuildInfoExpectedReadFilesDependOrdered();
let dtsUnchangedExpectedReadFilesDependOrdered: ReadonlyMap<number> = getDtsUnchangedExpectedReadFilesDependOrdered();
before(() => {
outFileFs = loadProjectFromDisk("tests/projects/outfile-concat", time);
@@ -251,14 +204,10 @@ namespace ts {
dtsChangedExpectedReadFiles = undefined!;
dtsChangedExpectedDiagnosticsDependOrdered = undefined!;
dtsChangedExpectedReadFilesDependOrdered = undefined!;
dtsUnchangedWithBuildInfoExpectedDiagnostics = undefined!;
dtsUnchangedWithBuildInfoExpectedReadFiles = undefined!;
dtsUnchangedWithBuildInfoExpectedDiagnosticsDependOrdered = undefined!;
dtsUnchangedWithBuildInfoExpectedReadFilesDependOrdered = undefined!;
dtsUnchangedWithoutBuildInfoExpectedDiagnostics = undefined!;
dtsUnchangedWithoutBuildInfoExpectedReadFiles = undefined!;
dtsUnchangedWithoutBuildInfoExpectedDiagnosticsDependOrdered = undefined!;
dtsUnchangedWithoutBuildInfoExpectedReadFilesDependOrdered = undefined!;
dtsUnchangedExpectedDiagnostics = undefined!;
dtsUnchangedExpectedReadFiles = undefined!;
dtsUnchangedExpectedDiagnosticsDependOrdered = undefined!;
dtsUnchangedExpectedReadFilesDependOrdered = undefined!;
});
function createSolutionBuilder(host: fakes.SolutionBuilderHost) {
@@ -294,8 +243,8 @@ namespace ts {
return expectedReadFiles;
}
function getDtsUnchangedWithBuildInfoExpectedReadFilesDependOrdered() {
const value = cloneMap(dtsUnchangedWithBuildInfoExpectedReadFiles);
function getDtsUnchangedExpectedReadFilesDependOrdered() {
const value = cloneMap(dtsUnchangedExpectedReadFiles);
// Since this changes too
for (const path of outputFiles[project.second]) {
value.set(path, 2);
@@ -303,8 +252,8 @@ namespace ts {
return value;
}
function getDtsUnchangedWithBuildInfoReadFiles(dependOrdered?: boolean, additionalSourceFiles?: ReadonlyArray<string>) {
const value = dependOrdered ? dtsUnchangedWithBuildInfoExpectedReadFilesDependOrdered : dtsUnchangedWithBuildInfoExpectedReadFiles;
function getDtsUnchangedReadFiles(dependOrdered?: boolean, additionalSourceFiles?: ReadonlyArray<string>) {
const value = dependOrdered ? dtsUnchangedExpectedReadFilesDependOrdered : dtsUnchangedExpectedReadFiles;
if (!additionalSourceFiles || additionalSourceFiles.length !== 3) return value;
const expectedReadFiles = cloneMap(value);
// Additional source Files
@@ -312,28 +261,6 @@ namespace ts {
return expectedReadFiles;
}
function getDtsUnchangedWithoutBuildInfoExpectedReadFilesDependOrdered() {
const value = cloneMap(dtsUnchangedWithoutBuildInfoExpectedReadFiles);
// Source files
for (const path of sources[project.second][source.ts]) {
value.set(path, 1);
}
// Since this changes too
value.set(outputFiles[project.second][ext.buildinfo], 2);
return value;
}
function getDtsUnchangedWithoutBuildInfoReadFiles(dependOrdered?: boolean, additionalSourceFiles?: ReadonlyArray<string>) {
const value = dependOrdered ? dtsUnchangedWithoutBuildInfoExpectedReadFilesDependOrdered : dtsUnchangedWithoutBuildInfoExpectedReadFiles;
if (!additionalSourceFiles) return value;
const expectedReadFiles = cloneMap(value);
// Additional source Files
for (const path of additionalSourceFiles) {
expectedReadFiles.set(path, 1);
}
return expectedReadFiles;
}
interface VerifyOutFileScenarioInput {
scenario: string;
modifyFs: (fs: vfs.FileSystem) => void;
@@ -343,7 +270,6 @@ namespace ts {
dependOrdered?: true;
ignoreDtsChanged?: true;
ignoreDtsUnchanged?: true;
ignoreWithoutBuildInfo?: true;
baselineOnly?: true;
}
@@ -356,22 +282,15 @@ namespace ts {
dependOrdered,
ignoreDtsChanged,
ignoreDtsUnchanged,
ignoreWithoutBuildInfo,
baselineOnly
}: VerifyOutFileScenarioInput) {
const initialExpectedReadFiles = !baselineOnly ? getInitialExpectedReadFiles(additionalSourceFiles) : undefined;
const dtsChangedReadFiles = !baselineOnly && !ignoreDtsChanged ? getDtsChangedReadFiles(dependOrdered, additionalSourceFiles) : undefined;
const dtsUnchangedWithBuildInfo: ExpectedBuildOutputPerState | undefined = !baselineOnly && (!ignoreDtsUnchanged || !modifyAgainFs) ? {
const dtsUnchanged: ExpectedBuildOutput | undefined = !baselineOnly && (!ignoreDtsUnchanged || !modifyAgainFs) ? {
expectedDiagnostics: dependOrdered ?
dtsUnchangedWithBuildInfoExpectedDiagnosticsDependOrdered :
dtsUnchangedWithBuildInfoExpectedDiagnostics,
expectedReadFiles: getDtsUnchangedWithBuildInfoReadFiles(dependOrdered, additionalSourceFiles)
} : undefined;
const dtsUnchangedWithoutBuildInfo: ExpectedBuildOutputPerState | undefined = !baselineOnly && !ignoreWithoutBuildInfo && (!ignoreDtsUnchanged || !modifyAgainFs) ? {
expectedDiagnostics: dependOrdered ?
dtsUnchangedWithoutBuildInfoExpectedDiagnosticsDependOrdered :
dtsUnchangedWithoutBuildInfoExpectedDiagnostics,
expectedReadFiles: getDtsUnchangedWithoutBuildInfoReadFiles(dependOrdered, additionalSourceFiles)
dtsUnchangedExpectedDiagnosticsDependOrdered :
dtsUnchangedExpectedDiagnostics,
expectedReadFiles: getDtsUnchangedReadFiles(dependOrdered, additionalSourceFiles)
} : undefined;
verifyTsbuildOutput({
@@ -398,16 +317,15 @@ namespace ts {
} : undefined,
incrementalDtsUnchangedBuild: !ignoreDtsUnchanged ? {
modifyFs: fs => appendText(fs, relSources[project.first][source.ts][part.one], "console.log(s);"),
withBuildInfo: dtsUnchangedWithBuildInfo,
withoutBuildInfo: dtsUnchangedWithoutBuildInfo
expectedDiagnostics: dtsUnchanged && dtsUnchanged.expectedDiagnostics,
expectedReadFiles: dtsUnchanged && dtsUnchanged.expectedReadFiles
} : undefined,
incrementalHeaderChangedBuild: modifyAgainFs ? {
modifyFs: modifyAgainFs,
withBuildInfo: dtsUnchangedWithBuildInfo,
withoutBuildInfo: dtsUnchangedWithoutBuildInfo
expectedDiagnostics: dtsUnchanged && dtsUnchanged.expectedDiagnostics,
expectedReadFiles: dtsUnchanged && dtsUnchanged.expectedReadFiles
} : undefined,
outputFiles: expectedOutputFiles,
ignoreWithoutBuildInfo,
baselineOnly
});
}
@@ -422,13 +340,12 @@ namespace ts {
verifyOutFileScenario({
scenario: "when final project is not composite but uses project references",
modifyFs: fs => replaceText(fs, sources[project.third][source.config], `"composite": true,`, ""),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
ignoreDtsUnchanged: true,
baselineOnly: true
});
// Verify baseline with and without build info
// Verify baseline with build info
verifyOutFileScenario({
scenario: "when final project is not composite but incremental",
modifyFs: fs => replaceText(fs, sources[project.third][source.config], `"composite": true,`, `"incremental": true,`),
@@ -437,7 +354,7 @@ namespace ts {
baselineOnly: true
});
// Verify baseline with and without build info
// Verify baseline with build info
verifyOutFileScenario({
scenario: "when final project specifies tsBuildInfoFile",
modifyFs: fs => replaceText(fs, sources[project.third][source.config], `"composite": true,`, `"composite": true,
@@ -478,7 +395,7 @@ namespace ts {
builder.cleanAllProjects();
});
it("verify buildInfo presence or absence does not result in new build", () => {
it("verify buildInfo absence results in new build", () => {
const fs = outFileFs.shadow();
const expectedOutputs = [
...outputFiles[project.first],
@@ -500,9 +417,12 @@ namespace ts {
builder.buildAllProjects();
host.assertDiagnosticMessages(
getExpectedDiagnosticForProjectsInBuild(relSources[project.first][source.config], relSources[project.second][source.config], relSources[project.third][source.config]),
[Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, relSources[project.first][source.config], relSources[project.first][source.ts][part.one], relOutputFiles[project.first][ext.js]],
[Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist, relSources[project.first][source.config], relOutputFiles[project.first][ext.buildinfo]],
[Diagnostics.Building_project_0, sources[project.first][source.config]],
[Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, relSources[project.second][source.config], relSources[project.second][source.ts][part.one], relOutputFiles[project.second][ext.js]],
[Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2, relSources[project.third][source.config], relSources[project.third][source.ts][part.one], relOutputFiles[project.third][ext.js]],
[Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed, relSources[project.third][source.config], "src/first"],
[Diagnostics.Updating_output_of_project_0, sources[project.third][source.config]],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, sources[project.third][source.config]],
);
});
@@ -537,12 +457,11 @@ namespace ts {
modifyAgainFs: fs => addPrologue(fs, relSources[project.first][source.ts][part.one], `"myPrologue"`)
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "strict in one dependency",
modifyFs: fs => enableStrict(fs, sources[project.second][source.config]),
modifyAgainFs: fs => addPrologue(fs, "src/first/first_PART1.ts", `"myPrologue"`),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -568,7 +487,7 @@ namespace ts {
modifyAgainFs: fs => addPrologue(fs, relSources[project.first][source.ts][part.one], `"myPrologue5"`)
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "multiple prologues in different projects",
modifyFs: fs => {
@@ -578,7 +497,6 @@ namespace ts {
enableStrict(fs, sources[project.third][source.config]);
},
modifyAgainFs: fs => addPrologue(fs, sources[project.first][source.ts][part.one], `"myPrologue5"`),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -601,11 +519,10 @@ namespace ts {
},
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "shebang in only one dependency project",
modifyFs: fs => addShebang(fs, "second", "second_part1"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -648,7 +565,7 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
modifyAgainFs: fs => removeRest(fs, "first", "first_PART1")
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "emitHelpers in only one dependency project",
modifyFs: fs => {
@@ -656,7 +573,6 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
addRest(fs, "second", "second_part1");
},
modifyAgainFs: fs => changeStubToRest(fs, "first", "first_PART1"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -672,7 +588,7 @@ ${project}${file}Spread(...[10, 20, 30]);`);
"downlevelIteration": true,`);
}
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "multiple emitHelpers in all projects",
modifyFs: fs => {
@@ -684,12 +600,11 @@ ${project}${file}Spread(...[10, 20, 30]);`);
addSpread(fs, "third", "third_part1");
},
modifyAgainFs: fs => removeRest(fs, "first", "first_PART1"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "multiple emitHelpers in different projects",
modifyFs: fs => {
@@ -698,7 +613,6 @@ ${project}${file}Spread(...[10, 20, 30]);`);
addRest(fs, "third", "third_part1");
},
modifyAgainFs: fs => removeRest(fs, "first", "first_PART1"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -729,14 +643,13 @@ const ${file}Const = new ${project}${file}();
]
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "triple slash refs in one project",
modifyFs: fs => addTripleSlashRef(fs, "second", "second_part1"),
additionalSourceFiles: [
getTripleSlashRef("second")
],
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -798,31 +711,28 @@ ${internal} enum internalEnum { a, b, c }`);
modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/*@internal*/ interface`, "interface"),
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal with comments emit enabled",
modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ true),
modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/*@internal*/ interface`, "interface"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal jsdoc style comment",
modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ false, /*jsDocStyle*/ true),
modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/**@internal*/ interface`, "interface"),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal jsdoc style with comments emit enabled",
modifyFs: fs => stripInternalScenario(fs, /*removeCommentsDisabled*/ true, /*jsDocStyle*/ true),
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -846,34 +756,31 @@ ${internal} enum internalEnum { a, b, c }`);
dependOrdered: true,
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal with comments emit enabled when one-two-three are prepended in order",
modifyFs: fs => stripInternalWithDependentOrder(fs, /*removeCommentsDisabled*/ true),
modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/*@internal*/ interface`, "interface"),
dependOrdered: true,
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal jsdoc style comment when one-two-three are prepended in order",
modifyFs: fs => stripInternalWithDependentOrder(fs, /*removeCommentsDisabled*/ false, /*jsDocStyle*/ true),
modifyAgainFs: fs => replaceText(fs, sources[project.first][source.ts][part.one], `/**@internal*/ interface`, "interface"),
dependOrdered: true,
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "stripInternal jsdoc style with comments emit enabled when one-two-three are prepended in order",
modifyFs: fs => stripInternalWithDependentOrder(fs, /*removeCommentsDisabled*/ true, /*jsDocStyle*/ true),
dependOrdered: true,
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -882,11 +789,10 @@ ${internal} enum internalEnum { a, b, c }`);
fs.writeFileSync(sources[project.third][source.ts][part.one], "", "utf8");
}
// Verify ignore without build info and dtsChanged
// Verify ignore dtsChanged
verifyOutFileScenario({
scenario: "when source files are empty in the own file",
modifyFs: makeThirdEmptySourceFile,
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
baselineOnly: true
});
@@ -925,7 +831,6 @@ ${internal} enum internalEnum { a, b, c }`);
}
}`);
},
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
ignoreDtsUnchanged: true,
baselineOnly: true
@@ -960,7 +865,6 @@ ${internal} enum internalEnum { a, b, c }`);
}
`);
},
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
ignoreDtsUnchanged: true,
baselineOnly: true
@@ -975,7 +879,6 @@ ${internal} enum internalEnum { a, b, c }`);
replaceText(fs, sources[project.third][source.config], `"sourceMap": true,`, "");
replaceText(fs, sources[project.third][source.config], `"declarationMap": true,`, "");
},
ignoreWithoutBuildInfo: true,
ignoreDtsChanged: true,
ignoreDtsUnchanged: true,
baselineOnly: true
+40 -87
View File
@@ -379,7 +379,7 @@ export class cNew {}`);
});
describe("emit output", () => {
const initialBuild: ExpectedBuildOutputDifferingWithBuildInfo = {
const initialBuild: BuildState = {
modifyFs: noop,
expectedDiagnostics: [
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
@@ -433,6 +433,17 @@ export class cNew {}`);
incrementalDtsChangedBuild: {
modifyFs: fs => appendText(fs, "/src/core/index.ts", `
export class someClass { }`),
expectedDiagnostics: [
// Emits only partial core instead of all outputs
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/logic/tsconfig.json", "src/logic/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/tests/tsconfig.json", "src/tests/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/tests/tsconfig.json"],
],
expectedReadFiles: getReadFilesMap(
[
// Configs
@@ -461,96 +472,39 @@ export class someClass { }`),
],
"/src/core/index.d.ts", // to check if changed, and to build other projects after change
),
withBuildInfo: {
expectedDiagnostics: [
// Emits only partial core instead of all outputs
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/logic/tsconfig.json", "src/logic/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/tests/tsconfig.json", "src/tests/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/tests/tsconfig.json"],
]
},
withoutBuildInfo: {
expectedDiagnostics: [
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/logic/tsconfig.json", "src/logic/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/tests/tsconfig.json", "src/tests/index.js", "src/core"],
[Diagnostics.Building_project_0, "/src/tests/tsconfig.json"],
]
}
},
incrementalDtsUnchangedBuild: {
modifyFs: fs => appendText(fs, "/src/core/index.ts", `
class someClass { }`),
withBuildInfo: {
expectedDiagnostics: [
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/logic/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/tests/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/tests/tsconfig.json"]
expectedDiagnostics: [
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Updating_unchanged_output_timestamps_of_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/logic/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/tests/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/tests/tsconfig.json"]
],
expectedReadFiles: getReadFilesMap(
[
// Configs
"/src/core/tsconfig.json",
"/src/logic/tsconfig.json",
"/src/tests/tsconfig.json",
// Source files
"/src/core/anotherModule.ts",
"/src/core/index.ts",
"/src/core/some_decl.d.ts",
// to check if changed
"/src/core/index.d.ts",
// build info
"/src/core/tsconfig.tsbuildinfo",
],
expectedReadFiles: getReadFilesMap(
[
// Configs
"/src/core/tsconfig.json",
"/src/logic/tsconfig.json",
"/src/tests/tsconfig.json",
// Source files
"/src/core/anotherModule.ts",
"/src/core/index.ts",
"/src/core/some_decl.d.ts",
// to check if changed
"/src/core/index.d.ts",
// build info
"/src/core/tsconfig.tsbuildinfo",
],
)
},
withoutBuildInfo: {
expectedDiagnostics: [
getExpectedDiagnosticForProjectsInBuild("src/core/tsconfig.json", "src/logic/tsconfig.json", "src/tests/tsconfig.json"),
[Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2, "src/core/tsconfig.json", "src/core/anotherModule.js", "src/core/index.ts"],
[Diagnostics.Building_project_0, "/src/core/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/logic/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/logic/tsconfig.json"],
[Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies, "src/tests/tsconfig.json"],
[Diagnostics.Updating_output_timestamps_of_project_0, "/src/tests/tsconfig.json"]
],
expectedReadFiles: getReadFilesMap(
[
// Configs
"/src/core/tsconfig.json",
"/src/logic/tsconfig.json",
"/src/tests/tsconfig.json",
// Source files
"/src/core/anotherModule.ts",
"/src/core/index.ts",
"/src/core/some_decl.d.ts",
// to check if changed
"/src/core/index.d.ts",
"/src/core/anotherModule.d.ts", // Since its generated again without .buildInfo
// build info
"/src/core/tsconfig.tsbuildinfo",
],
)
}
)
},
outputFiles: [
"/src/core/anotherModule.js",
@@ -635,7 +589,6 @@ class someClass { }`),
"/src/tests/index.d.ts",
"/src/tests/tsconfig.tsbuildinfo",
],
ignoreWithoutBuildInfo: true
});
verifyTsbuildOutput({
@@ -1,703 +0,0 @@
//// [/src/first/bin/first-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(9, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3)
3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3)
4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(10, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3)
3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(11, 5) Source(6, 5) + SourceIndex(3)
2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3)
3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(12, 9) Source(7, 9) + SourceIndex(3)
2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3)
3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3)
4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3)
5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3)
6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3)
7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3)
8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(14, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3)
3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3)
4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(15, 1) Source(11, 1) + SourceIndex(3)
2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3)
3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3)
4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3)
5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3)
6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3)
7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(16, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(17, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(18, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(18, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(19, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(19, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(19, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(20, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(20, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(20, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(20, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(20, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(20, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(20, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(20, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(21, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(21, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(22, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(22, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(23, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(23, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(23, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(23, 6) Source(5, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var c = new C();
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1->
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1->Emitted(25, 1) Source(1, 1) + SourceIndex(5)
2 >Emitted(25, 5) Source(1, 5) + SourceIndex(5)
3 >Emitted(25, 6) Source(1, 6) + SourceIndex(5)
4 >Emitted(25, 9) Source(1, 9) + SourceIndex(5)
5 >Emitted(25, 13) Source(1, 13) + SourceIndex(5)
6 >Emitted(25, 14) Source(1, 14) + SourceIndex(5)
7 >Emitted(25, 16) Source(1, 16) + SourceIndex(5)
8 >Emitted(25, 17) Source(1, 17) + SourceIndex(5)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(26, 1) Source(2, 1) + SourceIndex(5)
2 >Emitted(26, 2) Source(2, 2) + SourceIndex(5)
3 >Emitted(26, 3) Source(2, 3) + SourceIndex(5)
4 >Emitted(26, 14) Source(2, 14) + SourceIndex(5)
5 >Emitted(26, 16) Source(2, 16) + SourceIndex(5)
6 >Emitted(26, 17) Source(2, 17) + SourceIndex(5)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1,987 +0,0 @@
//// [/src/first/bin/first-output.js]
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var s = "Hello, world";
console.log(s);
function forfirstfirst_PART1Rest() {
var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
}
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":";;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var __rest = (this && this.__rest) || function (s, e) {
>>> var t = {};
>>> for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
>>> t[p[i]] = s[p[i]];
>>> return t;
>>>};
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(10, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(10, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(10, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(10, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(10, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(10, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(11, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(11, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(11, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(11, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(11, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(11, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(11, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(11, 16) Source(11, 16) + SourceIndex(0)
---
>>>function forfirstfirst_PART1Rest() {
1->
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >function
3 > forfirstfirst_PART1Rest
1->Emitted(12, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(12, 10) Source(12, 10) + SourceIndex(0)
3 >Emitted(12, 33) Source(12, 33) + SourceIndex(0)
---
>>> var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
1->^^^^
2 > ^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^
5 > ^^^^^^^^
6 > ^^
7 > ^^^^^^^^^^^^^^^^^^^^^^^^
8 > ^
1->() {
>
2 > const
3 > { b, ...rest } = { a: 10, b: 30, yy: 30 }
4 >
5 > b
6 > ,
7 > ...rest } = { a: 10, b: 30, yy: 30 }
8 > ;
1->Emitted(13, 5) Source(13, 1) + SourceIndex(0)
2 >Emitted(13, 9) Source(13, 7) + SourceIndex(0)
3 >Emitted(13, 38) Source(13, 48) + SourceIndex(0)
4 >Emitted(13, 40) Source(13, 9) + SourceIndex(0)
5 >Emitted(13, 48) Source(13, 10) + SourceIndex(0)
6 >Emitted(13, 50) Source(13, 12) + SourceIndex(0)
7 >Emitted(13, 74) Source(13, 48) + SourceIndex(0)
8 >Emitted(13, 75) Source(13, 49) + SourceIndex(0)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(14, 1) Source(14, 1) + SourceIndex(0)
2 >Emitted(14, 2) Source(14, 2) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(15, 1) Source(14, 2) + SourceIndex(0)
2 >Emitted(15, 8) Source(14, 9) + SourceIndex(0)
3 >Emitted(15, 9) Source(14, 10) + SourceIndex(0)
4 >Emitted(15, 12) Source(14, 13) + SourceIndex(0)
5 >Emitted(15, 13) Source(14, 14) + SourceIndex(0)
6 >Emitted(15, 14) Source(14, 15) + SourceIndex(0)
7 >Emitted(15, 15) Source(14, 16) + SourceIndex(0)
8 >Emitted(15, 16) Source(14, 17) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(16, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(16, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(16, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(16, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(16, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(16, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(16, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(16, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(16, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(17, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(17, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(17, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(18, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(18, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(18, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(18, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(19, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(19, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
function forfirstfirst_PART1Rest() {
const { b, ...rest } = { a: 10, b: 30, yy: 30 };
}console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var s = "Hello, world";
console.log(s);
function forfirstfirst_PART1Rest() {
var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
}
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
function forsecondsecond_part1Rest() {
var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
}
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
function forthirdthird_part1Rest() {
var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
}
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;;;;;;;;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;AAChD,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var __rest = (this && this.__rest) || function (s, e) {
>>> var t = {};
>>> for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
>>> t[p[i]] = s[p[i]];
>>> return t;
>>>};
>>>var __rest = (this && this.__rest) || function (s, e) {
>>> var t = {};
>>> for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
>>> t[p[i]] = s[p[i]];
>>> return t;
>>>};
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(19, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(19, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(19, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(19, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(19, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(19, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(20, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(20, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(20, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(20, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(20, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(20, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(20, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(20, 16) Source(11, 16) + SourceIndex(0)
---
>>>function forfirstfirst_PART1Rest() {
1->
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >function
3 > forfirstfirst_PART1Rest
1->Emitted(21, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(21, 10) Source(12, 10) + SourceIndex(0)
3 >Emitted(21, 33) Source(12, 33) + SourceIndex(0)
---
>>> var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
1->^^^^
2 > ^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^
5 > ^^^^^^^^
6 > ^^
7 > ^^^^^^^^^^^^^^^^^^^^^^^^
8 > ^
1->() {
>
2 > const
3 > { b, ...rest } = { a: 10, b: 30, yy: 30 }
4 >
5 > b
6 > ,
7 > ...rest } = { a: 10, b: 30, yy: 30 }
8 > ;
1->Emitted(22, 5) Source(13, 1) + SourceIndex(0)
2 >Emitted(22, 9) Source(13, 7) + SourceIndex(0)
3 >Emitted(22, 38) Source(13, 48) + SourceIndex(0)
4 >Emitted(22, 40) Source(13, 9) + SourceIndex(0)
5 >Emitted(22, 48) Source(13, 10) + SourceIndex(0)
6 >Emitted(22, 50) Source(13, 12) + SourceIndex(0)
7 >Emitted(22, 74) Source(13, 48) + SourceIndex(0)
8 >Emitted(22, 75) Source(13, 49) + SourceIndex(0)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(23, 1) Source(14, 1) + SourceIndex(0)
2 >Emitted(23, 2) Source(14, 2) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(24, 1) Source(14, 2) + SourceIndex(0)
2 >Emitted(24, 8) Source(14, 9) + SourceIndex(0)
3 >Emitted(24, 9) Source(14, 10) + SourceIndex(0)
4 >Emitted(24, 12) Source(14, 13) + SourceIndex(0)
5 >Emitted(24, 13) Source(14, 14) + SourceIndex(0)
6 >Emitted(24, 14) Source(14, 15) + SourceIndex(0)
7 >Emitted(24, 15) Source(14, 16) + SourceIndex(0)
8 >Emitted(24, 16) Source(14, 17) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(25, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(25, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(25, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(25, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(25, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(25, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(25, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(25, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(25, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(26, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(26, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(26, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(27, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(27, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(27, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(27, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(28, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(28, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var __rest = (this && this.__rest) || function (s, e) {
>>> var t = {};
>>> for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
>>> t[p[i]] = s[p[i]];
>>> return t;
>>>};
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(39, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(39, 5) Source(5, 11) + SourceIndex(3)
3 >Emitted(39, 6) Source(5, 12) + SourceIndex(3)
4 >Emitted(39, 7) Source(11, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(40, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(40, 12) Source(5, 11) + SourceIndex(3)
3 >Emitted(40, 13) Source(5, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(41, 5) Source(6, 5) + SourceIndex(3)
2 >Emitted(41, 14) Source(6, 14) + SourceIndex(3)
3 >Emitted(41, 15) Source(6, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(42, 9) Source(7, 9) + SourceIndex(3)
2 >Emitted(42, 16) Source(7, 16) + SourceIndex(3)
3 >Emitted(42, 17) Source(7, 17) + SourceIndex(3)
4 >Emitted(42, 20) Source(7, 20) + SourceIndex(3)
5 >Emitted(42, 21) Source(7, 21) + SourceIndex(3)
6 >Emitted(42, 30) Source(7, 30) + SourceIndex(3)
7 >Emitted(42, 31) Source(7, 31) + SourceIndex(3)
8 >Emitted(42, 32) Source(7, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(43, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(43, 6) Source(8, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(44, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(44, 6) Source(10, 6) + SourceIndex(3)
3 >Emitted(44, 8) Source(10, 8) + SourceIndex(3)
4 >Emitted(44, 9) Source(10, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(45, 1) Source(11, 1) + SourceIndex(3)
2 >Emitted(45, 2) Source(11, 2) + SourceIndex(3)
3 >Emitted(45, 4) Source(5, 11) + SourceIndex(3)
4 >Emitted(45, 5) Source(5, 12) + SourceIndex(3)
5 >Emitted(45, 10) Source(5, 11) + SourceIndex(3)
6 >Emitted(45, 11) Source(5, 12) + SourceIndex(3)
7 >Emitted(45, 19) Source(11, 2) + SourceIndex(3)
---
>>>function forsecondsecond_part1Rest() {
1->
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >function
3 > forsecondsecond_part1Rest
1->Emitted(46, 1) Source(12, 1) + SourceIndex(3)
2 >Emitted(46, 10) Source(12, 10) + SourceIndex(3)
3 >Emitted(46, 35) Source(12, 35) + SourceIndex(3)
---
>>> var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
1->^^^^
2 > ^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^
5 > ^^^^^^^^
6 > ^^
7 > ^^^^^^^^^^^^^^^^^^^^^^^^
8 > ^
1->() {
>
2 > const
3 > { b, ...rest } = { a: 10, b: 30, yy: 30 }
4 >
5 > b
6 > ,
7 > ...rest } = { a: 10, b: 30, yy: 30 }
8 > ;
1->Emitted(47, 5) Source(13, 1) + SourceIndex(3)
2 >Emitted(47, 9) Source(13, 7) + SourceIndex(3)
3 >Emitted(47, 38) Source(13, 48) + SourceIndex(3)
4 >Emitted(47, 40) Source(13, 9) + SourceIndex(3)
5 >Emitted(47, 48) Source(13, 10) + SourceIndex(3)
6 >Emitted(47, 50) Source(13, 12) + SourceIndex(3)
7 >Emitted(47, 74) Source(13, 48) + SourceIndex(3)
8 >Emitted(47, 75) Source(13, 49) + SourceIndex(3)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(48, 1) Source(14, 1) + SourceIndex(3)
2 >Emitted(48, 2) Source(14, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(49, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(50, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(51, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(51, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(52, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(52, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(52, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(53, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(53, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(53, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(53, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(53, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(53, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(53, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(53, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(54, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(54, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(55, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(55, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(56, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(56, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(56, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(56, 6) Source(5, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var c = new C();
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1->
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1->Emitted(58, 1) Source(1, 1) + SourceIndex(5)
2 >Emitted(58, 5) Source(1, 5) + SourceIndex(5)
3 >Emitted(58, 6) Source(1, 6) + SourceIndex(5)
4 >Emitted(58, 9) Source(1, 9) + SourceIndex(5)
5 >Emitted(58, 13) Source(1, 13) + SourceIndex(5)
6 >Emitted(58, 14) Source(1, 14) + SourceIndex(5)
7 >Emitted(58, 16) Source(1, 16) + SourceIndex(5)
8 >Emitted(58, 17) Source(1, 17) + SourceIndex(5)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(59, 1) Source(2, 1) + SourceIndex(5)
2 >Emitted(59, 2) Source(2, 2) + SourceIndex(5)
3 >Emitted(59, 3) Source(2, 3) + SourceIndex(5)
4 >Emitted(59, 14) Source(2, 14) + SourceIndex(5)
5 >Emitted(59, 16) Source(2, 16) + SourceIndex(5)
6 >Emitted(59, 17) Source(2, 17) + SourceIndex(5)
---
>>>function forthirdthird_part1Rest() {
1->
2 >^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >function
3 > forthirdthird_part1Rest
1->Emitted(60, 1) Source(3, 1) + SourceIndex(5)
2 >Emitted(60, 10) Source(3, 10) + SourceIndex(5)
3 >Emitted(60, 33) Source(3, 33) + SourceIndex(5)
---
>>> var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
1->^^^^
2 > ^^^^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 > ^^
5 > ^^^^^^^^
6 > ^^
7 > ^^^^^^^^^^^^^^^^^^^^^^^^
8 > ^
1->() {
>
2 > const
3 > { b, ...rest } = { a: 10, b: 30, yy: 30 }
4 >
5 > b
6 > ,
7 > ...rest } = { a: 10, b: 30, yy: 30 }
8 > ;
1->Emitted(61, 5) Source(4, 1) + SourceIndex(5)
2 >Emitted(61, 9) Source(4, 7) + SourceIndex(5)
3 >Emitted(61, 38) Source(4, 48) + SourceIndex(5)
4 >Emitted(61, 40) Source(4, 9) + SourceIndex(5)
5 >Emitted(61, 48) Source(4, 10) + SourceIndex(5)
6 >Emitted(61, 50) Source(4, 12) + SourceIndex(5)
7 >Emitted(61, 74) Source(4, 48) + SourceIndex(5)
8 >Emitted(61, 75) Source(4, 49) + SourceIndex(5)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(62, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(62, 2) Source(5, 2) + SourceIndex(5)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1,807 +0,0 @@
//// [/src/first/bin/first-output.js]
"use strict";
"myPrologue";
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>"use strict";
>>>"myPrologue";
1 >
2 >^^^^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^->
1 >
2 >"myPrologue"
3 >
1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(2, 13) Source(1, 13) + SourceIndex(0)
3 >Emitted(2, 14) Source(1, 13) + SourceIndex(0)
---
>>>var s = "Hello, world";
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1->
>interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1->Emitted(3, 1) Source(6, 1) + SourceIndex(0)
2 >Emitted(3, 5) Source(6, 7) + SourceIndex(0)
3 >Emitted(3, 6) Source(6, 8) + SourceIndex(0)
4 >Emitted(3, 9) Source(6, 11) + SourceIndex(0)
5 >Emitted(3, 23) Source(6, 25) + SourceIndex(0)
6 >Emitted(3, 24) Source(6, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(4, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(4, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(4, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(4, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(4, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(4, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(4, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(4, 16) Source(12, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(5, 1) Source(13, 1) + SourceIndex(0)
2 >Emitted(5, 8) Source(13, 8) + SourceIndex(0)
3 >Emitted(5, 9) Source(13, 9) + SourceIndex(0)
4 >Emitted(5, 12) Source(13, 12) + SourceIndex(0)
5 >Emitted(5, 13) Source(13, 13) + SourceIndex(0)
6 >Emitted(5, 14) Source(13, 14) + SourceIndex(0)
7 >Emitted(5, 15) Source(13, 15) + SourceIndex(0)
8 >Emitted(5, 16) Source(13, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(6, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(6, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(6, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(6, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(6, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(6, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(6, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(6, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(6, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(7, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(7, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(7, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(8, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(8, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(8, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(8, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(9, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(9, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
"myPrologue"
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
"use strict";
"myPrologue3";
"myPrologue";
"use strict";
"myPrologue";
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
"use strict";
"myPrologue";
"myPrologue2";
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";AAAA,aAAa,CAAC;AACd,YAAY,CAAC;;ACDb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;ACFD,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../third_part1.ts,../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>"use strict";
>>>"myPrologue3";
1 >
2 >^^^^^^^^^^^^^
3 > ^
1 >
2 >"myPrologue3"
3 > ;
1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(2, 14) Source(1, 14) + SourceIndex(0)
3 >Emitted(2, 15) Source(1, 15) + SourceIndex(0)
---
>>>"myPrologue";
1 >
2 >^^^^^^^^^^^^
3 > ^
4 > ^->
1 >
>
2 >"myPrologue"
3 > ;
1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(3, 13) Source(2, 13) + SourceIndex(0)
3 >Emitted(3, 14) Source(2, 14) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>"use strict";
>>>"myPrologue";
1->
2 >^^^^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^->
1->
2 >"myPrologue"
3 >
1->Emitted(5, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(5, 13) Source(1, 13) + SourceIndex(1)
3 >Emitted(5, 14) Source(1, 13) + SourceIndex(1)
---
>>>var s = "Hello, world";
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1->
>interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1->Emitted(6, 1) Source(6, 1) + SourceIndex(1)
2 >Emitted(6, 5) Source(6, 7) + SourceIndex(1)
3 >Emitted(6, 6) Source(6, 8) + SourceIndex(1)
4 >Emitted(6, 9) Source(6, 11) + SourceIndex(1)
5 >Emitted(6, 23) Source(6, 25) + SourceIndex(1)
6 >Emitted(6, 24) Source(6, 26) + SourceIndex(1)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(7, 1) Source(12, 1) + SourceIndex(1)
2 >Emitted(7, 8) Source(12, 8) + SourceIndex(1)
3 >Emitted(7, 9) Source(12, 9) + SourceIndex(1)
4 >Emitted(7, 12) Source(12, 12) + SourceIndex(1)
5 >Emitted(7, 13) Source(12, 13) + SourceIndex(1)
6 >Emitted(7, 14) Source(12, 14) + SourceIndex(1)
7 >Emitted(7, 15) Source(12, 15) + SourceIndex(1)
8 >Emitted(7, 16) Source(12, 16) + SourceIndex(1)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(8, 1) Source(13, 1) + SourceIndex(1)
2 >Emitted(8, 8) Source(13, 8) + SourceIndex(1)
3 >Emitted(8, 9) Source(13, 9) + SourceIndex(1)
4 >Emitted(8, 12) Source(13, 12) + SourceIndex(1)
5 >Emitted(8, 13) Source(13, 13) + SourceIndex(1)
6 >Emitted(8, 14) Source(13, 14) + SourceIndex(1)
7 >Emitted(8, 15) Source(13, 15) + SourceIndex(1)
8 >Emitted(8, 16) Source(13, 16) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(9, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(9, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(9, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(9, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(9, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(9, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(9, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(9, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(9, 18) Source(1, 18) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(10, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(10, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(10, 11) Source(1, 11) + SourceIndex(3)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(11, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(11, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(11, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(11, 29) Source(2, 29) + SourceIndex(3)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(12, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(12, 2) Source(3, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>"use strict";
>>>"myPrologue";
1->
2 >^^^^^^^^^^^^
3 > ^
4 > ^^->
1->
2 >"myPrologue"
3 >
1->Emitted(15, 1) Source(1, 1) + SourceIndex(4)
2 >Emitted(15, 13) Source(1, 13) + SourceIndex(4)
3 >Emitted(15, 14) Source(1, 13) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>"myPrologue2";
1->
2 >^^^^^^^^^^^^^
3 > ^
1->
2 >"myPrologue2"
3 > ;
1->Emitted(16, 1) Source(1, 1) + SourceIndex(5)
2 >Emitted(16, 14) Source(1, 14) + SourceIndex(5)
3 >Emitted(16, 15) Source(1, 15) + SourceIndex(5)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>var N;
1 >
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1 >"myPrologue"
>namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1 >Emitted(17, 1) Source(6, 1) + SourceIndex(4)
2 >Emitted(17, 5) Source(6, 11) + SourceIndex(4)
3 >Emitted(17, 6) Source(6, 12) + SourceIndex(4)
4 >Emitted(17, 7) Source(12, 2) + SourceIndex(4)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(18, 1) Source(6, 1) + SourceIndex(4)
2 >Emitted(18, 12) Source(6, 11) + SourceIndex(4)
3 >Emitted(18, 13) Source(6, 12) + SourceIndex(4)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(19, 5) Source(7, 5) + SourceIndex(4)
2 >Emitted(19, 14) Source(7, 14) + SourceIndex(4)
3 >Emitted(19, 15) Source(7, 15) + SourceIndex(4)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(20, 9) Source(8, 9) + SourceIndex(4)
2 >Emitted(20, 16) Source(8, 16) + SourceIndex(4)
3 >Emitted(20, 17) Source(8, 17) + SourceIndex(4)
4 >Emitted(20, 20) Source(8, 20) + SourceIndex(4)
5 >Emitted(20, 21) Source(8, 21) + SourceIndex(4)
6 >Emitted(20, 30) Source(8, 30) + SourceIndex(4)
7 >Emitted(20, 31) Source(8, 31) + SourceIndex(4)
8 >Emitted(20, 32) Source(8, 32) + SourceIndex(4)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(21, 5) Source(9, 5) + SourceIndex(4)
2 >Emitted(21, 6) Source(9, 6) + SourceIndex(4)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(22, 5) Source(11, 5) + SourceIndex(4)
2 >Emitted(22, 6) Source(11, 6) + SourceIndex(4)
3 >Emitted(22, 8) Source(11, 8) + SourceIndex(4)
4 >Emitted(22, 9) Source(11, 9) + SourceIndex(4)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(23, 1) Source(12, 1) + SourceIndex(4)
2 >Emitted(23, 2) Source(12, 2) + SourceIndex(4)
3 >Emitted(23, 4) Source(6, 11) + SourceIndex(4)
4 >Emitted(23, 5) Source(6, 12) + SourceIndex(4)
5 >Emitted(23, 10) Source(6, 11) + SourceIndex(4)
6 >Emitted(23, 11) Source(6, 12) + SourceIndex(4)
7 >Emitted(23, 19) Source(12, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->"myPrologue2";
>
1->Emitted(24, 1) Source(2, 1) + SourceIndex(5)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(25, 5) Source(2, 1) + SourceIndex(5)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(26, 5) Source(6, 1) + SourceIndex(5)
2 >Emitted(26, 6) Source(6, 2) + SourceIndex(5)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(27, 5) Source(3, 5) + SourceIndex(5)
2 >Emitted(27, 28) Source(3, 16) + SourceIndex(5)
3 >Emitted(27, 31) Source(3, 5) + SourceIndex(5)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(28, 9) Source(4, 9) + SourceIndex(5)
2 >Emitted(28, 16) Source(4, 16) + SourceIndex(5)
3 >Emitted(28, 17) Source(4, 17) + SourceIndex(5)
4 >Emitted(28, 20) Source(4, 20) + SourceIndex(5)
5 >Emitted(28, 21) Source(4, 21) + SourceIndex(5)
6 >Emitted(28, 41) Source(4, 41) + SourceIndex(5)
7 >Emitted(28, 42) Source(4, 42) + SourceIndex(5)
8 >Emitted(28, 43) Source(4, 43) + SourceIndex(5)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(29, 5) Source(5, 5) + SourceIndex(5)
2 >Emitted(29, 6) Source(5, 6) + SourceIndex(5)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(30, 5) Source(6, 1) + SourceIndex(5)
2 >Emitted(30, 13) Source(6, 2) + SourceIndex(5)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(31, 1) Source(6, 1) + SourceIndex(5)
2 >Emitted(31, 2) Source(6, 2) + SourceIndex(5)
3 >Emitted(31, 2) Source(2, 1) + SourceIndex(5)
4 >Emitted(31, 6) Source(6, 2) + SourceIndex(5)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var c = new C();
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1->"myPrologue3";
>"myPrologue";
>
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1->Emitted(33, 1) Source(3, 1) + SourceIndex(0)
2 >Emitted(33, 5) Source(3, 5) + SourceIndex(0)
3 >Emitted(33, 6) Source(3, 6) + SourceIndex(0)
4 >Emitted(33, 9) Source(3, 9) + SourceIndex(0)
5 >Emitted(33, 13) Source(3, 13) + SourceIndex(0)
6 >Emitted(33, 14) Source(3, 14) + SourceIndex(0)
7 >Emitted(33, 16) Source(3, 16) + SourceIndex(0)
8 >Emitted(33, 17) Source(3, 17) + SourceIndex(0)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(34, 1) Source(4, 1) + SourceIndex(0)
2 >Emitted(34, 2) Source(4, 2) + SourceIndex(0)
3 >Emitted(34, 3) Source(4, 3) + SourceIndex(0)
4 >Emitted(34, 14) Source(4, 14) + SourceIndex(0)
5 >Emitted(34, 16) Source(4, 16) + SourceIndex(0)
6 >Emitted(34, 17) Source(4, 17) + SourceIndex(0)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1,718 +0,0 @@
//// [/src/first/bin/first-output.js]
#!someshebang first first_PART1
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>#!someshebang first first_PART1
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >#!someshebang first first_PART1
>interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(2, 1) Source(6, 1) + SourceIndex(0)
2 >Emitted(2, 5) Source(6, 7) + SourceIndex(0)
3 >Emitted(2, 6) Source(6, 8) + SourceIndex(0)
4 >Emitted(2, 9) Source(6, 11) + SourceIndex(0)
5 >Emitted(2, 23) Source(6, 25) + SourceIndex(0)
6 >Emitted(2, 24) Source(6, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(4, 1) Source(13, 1) + SourceIndex(0)
2 >Emitted(4, 8) Source(13, 8) + SourceIndex(0)
3 >Emitted(4, 9) Source(13, 9) + SourceIndex(0)
4 >Emitted(4, 12) Source(13, 12) + SourceIndex(0)
5 >Emitted(4, 13) Source(13, 13) + SourceIndex(0)
6 >Emitted(4, 14) Source(13, 14) + SourceIndex(0)
7 >Emitted(4, 15) Source(13, 15) + SourceIndex(0)
8 >Emitted(4, 16) Source(13, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->#!someshebang first first_part2
>
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(5, 1) Source(2, 1) + SourceIndex(1)
2 >Emitted(5, 8) Source(2, 8) + SourceIndex(1)
3 >Emitted(5, 9) Source(2, 9) + SourceIndex(1)
4 >Emitted(5, 12) Source(2, 12) + SourceIndex(1)
5 >Emitted(5, 13) Source(2, 13) + SourceIndex(1)
6 >Emitted(5, 14) Source(2, 14) + SourceIndex(1)
7 >Emitted(5, 16) Source(2, 16) + SourceIndex(1)
8 >Emitted(5, 17) Source(2, 17) + SourceIndex(1)
9 >Emitted(5, 18) Source(2, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(6, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(6, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(6, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(7, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(7, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(7, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(7, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(8, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(8, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
#!someshebang first first_PART1
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
#!someshebang first first_PART1
#!someshebang first first_PART1
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
#!someshebang second second_part1
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":";;AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>#!someshebang first first_PART1
>>>#!someshebang first first_PART1
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >#!someshebang first first_PART1
>interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(3, 1) Source(6, 1) + SourceIndex(0)
2 >Emitted(3, 5) Source(6, 7) + SourceIndex(0)
3 >Emitted(3, 6) Source(6, 8) + SourceIndex(0)
4 >Emitted(3, 9) Source(6, 11) + SourceIndex(0)
5 >Emitted(3, 23) Source(6, 25) + SourceIndex(0)
6 >Emitted(3, 24) Source(6, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(4, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(4, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(4, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(4, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(4, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(4, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(4, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(4, 16) Source(12, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(5, 1) Source(13, 1) + SourceIndex(0)
2 >Emitted(5, 8) Source(13, 8) + SourceIndex(0)
3 >Emitted(5, 9) Source(13, 9) + SourceIndex(0)
4 >Emitted(5, 12) Source(13, 12) + SourceIndex(0)
5 >Emitted(5, 13) Source(13, 13) + SourceIndex(0)
6 >Emitted(5, 14) Source(13, 14) + SourceIndex(0)
7 >Emitted(5, 15) Source(13, 15) + SourceIndex(0)
8 >Emitted(5, 16) Source(13, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->#!someshebang first first_part2
>
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(6, 1) Source(2, 1) + SourceIndex(1)
2 >Emitted(6, 8) Source(2, 8) + SourceIndex(1)
3 >Emitted(6, 9) Source(2, 9) + SourceIndex(1)
4 >Emitted(6, 12) Source(2, 12) + SourceIndex(1)
5 >Emitted(6, 13) Source(2, 13) + SourceIndex(1)
6 >Emitted(6, 14) Source(2, 14) + SourceIndex(1)
7 >Emitted(6, 16) Source(2, 16) + SourceIndex(1)
8 >Emitted(6, 17) Source(2, 17) + SourceIndex(1)
9 >Emitted(6, 18) Source(2, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(7, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(7, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(7, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(8, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(8, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(8, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(8, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(9, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(9, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>#!someshebang second second_part1
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->#!someshebang second second_part1
>namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(12, 1) Source(6, 1) + SourceIndex(3)
2 >Emitted(12, 5) Source(6, 11) + SourceIndex(3)
3 >Emitted(12, 6) Source(6, 12) + SourceIndex(3)
4 >Emitted(12, 7) Source(12, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(13, 1) Source(6, 1) + SourceIndex(3)
2 >Emitted(13, 12) Source(6, 11) + SourceIndex(3)
3 >Emitted(13, 13) Source(6, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(14, 5) Source(7, 5) + SourceIndex(3)
2 >Emitted(14, 14) Source(7, 14) + SourceIndex(3)
3 >Emitted(14, 15) Source(7, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(15, 9) Source(8, 9) + SourceIndex(3)
2 >Emitted(15, 16) Source(8, 16) + SourceIndex(3)
3 >Emitted(15, 17) Source(8, 17) + SourceIndex(3)
4 >Emitted(15, 20) Source(8, 20) + SourceIndex(3)
5 >Emitted(15, 21) Source(8, 21) + SourceIndex(3)
6 >Emitted(15, 30) Source(8, 30) + SourceIndex(3)
7 >Emitted(15, 31) Source(8, 31) + SourceIndex(3)
8 >Emitted(15, 32) Source(8, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(16, 5) Source(9, 5) + SourceIndex(3)
2 >Emitted(16, 6) Source(9, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(17, 5) Source(11, 5) + SourceIndex(3)
2 >Emitted(17, 6) Source(11, 6) + SourceIndex(3)
3 >Emitted(17, 8) Source(11, 8) + SourceIndex(3)
4 >Emitted(17, 9) Source(11, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(18, 1) Source(12, 1) + SourceIndex(3)
2 >Emitted(18, 2) Source(12, 2) + SourceIndex(3)
3 >Emitted(18, 4) Source(6, 11) + SourceIndex(3)
4 >Emitted(18, 5) Source(6, 12) + SourceIndex(3)
5 >Emitted(18, 10) Source(6, 11) + SourceIndex(3)
6 >Emitted(18, 11) Source(6, 12) + SourceIndex(3)
7 >Emitted(18, 19) Source(12, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(19, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(20, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(21, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(21, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(22, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(22, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(22, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(23, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(23, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(23, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(23, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(23, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(23, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(23, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(23, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(24, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(24, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(25, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(25, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(26, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(26, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(26, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(26, 6) Source(5, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var c = new C();
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1->#!someshebang third third_part1
>
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1->Emitted(28, 1) Source(2, 1) + SourceIndex(5)
2 >Emitted(28, 5) Source(2, 5) + SourceIndex(5)
3 >Emitted(28, 6) Source(2, 6) + SourceIndex(5)
4 >Emitted(28, 9) Source(2, 9) + SourceIndex(5)
5 >Emitted(28, 13) Source(2, 13) + SourceIndex(5)
6 >Emitted(28, 14) Source(2, 14) + SourceIndex(5)
7 >Emitted(28, 16) Source(2, 16) + SourceIndex(5)
8 >Emitted(28, 17) Source(2, 17) + SourceIndex(5)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(29, 1) Source(3, 1) + SourceIndex(5)
2 >Emitted(29, 2) Source(3, 2) + SourceIndex(5)
3 >Emitted(29, 3) Source(3, 3) + SourceIndex(5)
4 >Emitted(29, 14) Source(3, 14) + SourceIndex(5)
5 >Emitted(29, 16) Source(3, 16) + SourceIndex(5)
6 >Emitted(29, 17) Source(3, 17) + SourceIndex(5)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1,711 +0,0 @@
//// [/src/first/bin/first-output.js]
"use strict";
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>"use strict";
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(2, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(2, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(2, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(2, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(2, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(3, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(4, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(4, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(4, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(4, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(4, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(4, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(4, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(4, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(5, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(5, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(5, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(5, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(5, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(5, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(5, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(5, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(5, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(6, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(6, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(6, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(7, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(7, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(7, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(7, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(8, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(8, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
"use strict";
"use strict";
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
"use strict";
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts","../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts"],"names":[],"mappings":";;ACIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ALJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../third_part1.ts,../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>"use strict";
>>>"use strict";
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(3, 1) Source(5, 1) + SourceIndex(1)
2 >Emitted(3, 5) Source(5, 7) + SourceIndex(1)
3 >Emitted(3, 6) Source(5, 8) + SourceIndex(1)
4 >Emitted(3, 9) Source(5, 11) + SourceIndex(1)
5 >Emitted(3, 23) Source(5, 25) + SourceIndex(1)
6 >Emitted(3, 24) Source(5, 26) + SourceIndex(1)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(4, 1) Source(11, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(11, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(11, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(11, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(11, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(11, 14) + SourceIndex(1)
7 >Emitted(4, 15) Source(11, 15) + SourceIndex(1)
8 >Emitted(4, 16) Source(11, 16) + SourceIndex(1)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(5, 1) Source(12, 1) + SourceIndex(1)
2 >Emitted(5, 8) Source(12, 8) + SourceIndex(1)
3 >Emitted(5, 9) Source(12, 9) + SourceIndex(1)
4 >Emitted(5, 12) Source(12, 12) + SourceIndex(1)
5 >Emitted(5, 13) Source(12, 13) + SourceIndex(1)
6 >Emitted(5, 14) Source(12, 14) + SourceIndex(1)
7 >Emitted(5, 15) Source(12, 15) + SourceIndex(1)
8 >Emitted(5, 16) Source(12, 16) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(6, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(6, 8) Source(1, 8) + SourceIndex(2)
3 >Emitted(6, 9) Source(1, 9) + SourceIndex(2)
4 >Emitted(6, 12) Source(1, 12) + SourceIndex(2)
5 >Emitted(6, 13) Source(1, 13) + SourceIndex(2)
6 >Emitted(6, 14) Source(1, 14) + SourceIndex(2)
7 >Emitted(6, 16) Source(1, 16) + SourceIndex(2)
8 >Emitted(6, 17) Source(1, 17) + SourceIndex(2)
9 >Emitted(6, 18) Source(1, 18) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(7, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(7, 10) Source(1, 10) + SourceIndex(3)
3 >Emitted(7, 11) Source(1, 11) + SourceIndex(3)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(8, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(8, 12) Source(2, 12) + SourceIndex(3)
3 >Emitted(8, 28) Source(2, 28) + SourceIndex(3)
4 >Emitted(8, 29) Source(2, 29) + SourceIndex(3)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(9, 1) Source(3, 1) + SourceIndex(3)
2 >Emitted(9, 2) Source(3, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>"use strict";
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(12, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(12, 5) Source(5, 11) + SourceIndex(4)
3 >Emitted(12, 6) Source(5, 12) + SourceIndex(4)
4 >Emitted(12, 7) Source(11, 2) + SourceIndex(4)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(13, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(13, 12) Source(5, 11) + SourceIndex(4)
3 >Emitted(13, 13) Source(5, 12) + SourceIndex(4)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(14, 5) Source(6, 5) + SourceIndex(4)
2 >Emitted(14, 14) Source(6, 14) + SourceIndex(4)
3 >Emitted(14, 15) Source(6, 15) + SourceIndex(4)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(15, 9) Source(7, 9) + SourceIndex(4)
2 >Emitted(15, 16) Source(7, 16) + SourceIndex(4)
3 >Emitted(15, 17) Source(7, 17) + SourceIndex(4)
4 >Emitted(15, 20) Source(7, 20) + SourceIndex(4)
5 >Emitted(15, 21) Source(7, 21) + SourceIndex(4)
6 >Emitted(15, 30) Source(7, 30) + SourceIndex(4)
7 >Emitted(15, 31) Source(7, 31) + SourceIndex(4)
8 >Emitted(15, 32) Source(7, 32) + SourceIndex(4)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(16, 5) Source(8, 5) + SourceIndex(4)
2 >Emitted(16, 6) Source(8, 6) + SourceIndex(4)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(17, 5) Source(10, 5) + SourceIndex(4)
2 >Emitted(17, 6) Source(10, 6) + SourceIndex(4)
3 >Emitted(17, 8) Source(10, 8) + SourceIndex(4)
4 >Emitted(17, 9) Source(10, 9) + SourceIndex(4)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(18, 1) Source(11, 1) + SourceIndex(4)
2 >Emitted(18, 2) Source(11, 2) + SourceIndex(4)
3 >Emitted(18, 4) Source(5, 11) + SourceIndex(4)
4 >Emitted(18, 5) Source(5, 12) + SourceIndex(4)
5 >Emitted(18, 10) Source(5, 11) + SourceIndex(4)
6 >Emitted(18, 11) Source(5, 12) + SourceIndex(4)
7 >Emitted(18, 19) Source(11, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(19, 1) Source(1, 1) + SourceIndex(5)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(20, 5) Source(1, 1) + SourceIndex(5)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(21, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(21, 6) Source(5, 2) + SourceIndex(5)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(22, 5) Source(2, 5) + SourceIndex(5)
2 >Emitted(22, 28) Source(2, 16) + SourceIndex(5)
3 >Emitted(22, 31) Source(2, 5) + SourceIndex(5)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(23, 9) Source(3, 9) + SourceIndex(5)
2 >Emitted(23, 16) Source(3, 16) + SourceIndex(5)
3 >Emitted(23, 17) Source(3, 17) + SourceIndex(5)
4 >Emitted(23, 20) Source(3, 20) + SourceIndex(5)
5 >Emitted(23, 21) Source(3, 21) + SourceIndex(5)
6 >Emitted(23, 41) Source(3, 41) + SourceIndex(5)
7 >Emitted(23, 42) Source(3, 42) + SourceIndex(5)
8 >Emitted(23, 43) Source(3, 43) + SourceIndex(5)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(24, 5) Source(4, 5) + SourceIndex(5)
2 >Emitted(24, 6) Source(4, 6) + SourceIndex(5)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(25, 5) Source(5, 1) + SourceIndex(5)
2 >Emitted(25, 13) Source(5, 2) + SourceIndex(5)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(26, 1) Source(5, 1) + SourceIndex(5)
2 >Emitted(26, 2) Source(5, 2) + SourceIndex(5)
3 >Emitted(26, 2) Source(1, 1) + SourceIndex(5)
4 >Emitted(26, 6) Source(5, 2) + SourceIndex(5)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var c = new C();
1->
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1->
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1->Emitted(28, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(28, 5) Source(1, 5) + SourceIndex(0)
3 >Emitted(28, 6) Source(1, 6) + SourceIndex(0)
4 >Emitted(28, 9) Source(1, 9) + SourceIndex(0)
5 >Emitted(28, 13) Source(1, 13) + SourceIndex(0)
6 >Emitted(28, 14) Source(1, 14) + SourceIndex(0)
7 >Emitted(28, 16) Source(1, 16) + SourceIndex(0)
8 >Emitted(28, 17) Source(1, 17) + SourceIndex(0)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(29, 1) Source(2, 1) + SourceIndex(0)
2 >Emitted(29, 2) Source(2, 2) + SourceIndex(0)
3 >Emitted(29, 3) Source(2, 3) + SourceIndex(0)
4 >Emitted(29, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(29, 16) Source(2, 16) + SourceIndex(0)
6 >Emitted(29, 17) Source(2, 17) + SourceIndex(0)
---
>>>//# sourceMappingURL=third-output.js.map
@@ -1,819 +0,0 @@
//// [/src/first/bin/first-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
var first_part2Const = new firstfirst_part2();
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>var first_part2Const = new firstfirst_part2();
1->
2 >^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^^^
5 > ^^^^
6 > ^^^^^^^^^^^^^^^^
7 > ^^
8 > ^
1->///<reference path="./tripleRef.d.ts"/>
>
2 >const
3 > first_part2Const
4 > =
5 > new
6 > firstfirst_part2
7 > ()
8 > ;
1->Emitted(4, 1) Source(2, 1) + SourceIndex(1)
2 >Emitted(4, 5) Source(2, 7) + SourceIndex(1)
3 >Emitted(4, 21) Source(2, 23) + SourceIndex(1)
4 >Emitted(4, 24) Source(2, 26) + SourceIndex(1)
5 >Emitted(4, 28) Source(2, 30) + SourceIndex(1)
6 >Emitted(4, 44) Source(2, 46) + SourceIndex(1)
7 >Emitted(4, 46) Source(2, 48) + SourceIndex(1)
8 >Emitted(4, 47) Source(2, 49) + SourceIndex(1)
---
>>>console.log(f());
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1 >
>
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1 >Emitted(5, 1) Source(3, 1) + SourceIndex(1)
2 >Emitted(5, 8) Source(3, 8) + SourceIndex(1)
3 >Emitted(5, 9) Source(3, 9) + SourceIndex(1)
4 >Emitted(5, 12) Source(3, 12) + SourceIndex(1)
5 >Emitted(5, 13) Source(3, 13) + SourceIndex(1)
6 >Emitted(5, 14) Source(3, 14) + SourceIndex(1)
7 >Emitted(5, 16) Source(3, 16) + SourceIndex(1)
8 >Emitted(5, 17) Source(3, 17) + SourceIndex(1)
9 >Emitted(5, 18) Source(3, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(6, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(6, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(6, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(7, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(7, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(7, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(7, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(8, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(8, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
var first_part2Const = new firstfirst_part2();
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var second_part1Const = new secondsecond_part1();
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
var third_part1Const = new thirdthird_part1();
var c = new C();
c.doSomething();
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>var first_part2Const = new firstfirst_part2();
1->
2 >^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^^^
5 > ^^^^
6 > ^^^^^^^^^^^^^^^^
7 > ^^
8 > ^
1->///<reference path="./tripleRef.d.ts"/>
>
2 >const
3 > first_part2Const
4 > =
5 > new
6 > firstfirst_part2
7 > ()
8 > ;
1->Emitted(4, 1) Source(2, 1) + SourceIndex(1)
2 >Emitted(4, 5) Source(2, 7) + SourceIndex(1)
3 >Emitted(4, 21) Source(2, 23) + SourceIndex(1)
4 >Emitted(4, 24) Source(2, 26) + SourceIndex(1)
5 >Emitted(4, 28) Source(2, 30) + SourceIndex(1)
6 >Emitted(4, 44) Source(2, 46) + SourceIndex(1)
7 >Emitted(4, 46) Source(2, 48) + SourceIndex(1)
8 >Emitted(4, 47) Source(2, 49) + SourceIndex(1)
---
>>>console.log(f());
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1 >
>
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1 >Emitted(5, 1) Source(3, 1) + SourceIndex(1)
2 >Emitted(5, 8) Source(3, 8) + SourceIndex(1)
3 >Emitted(5, 9) Source(3, 9) + SourceIndex(1)
4 >Emitted(5, 12) Source(3, 12) + SourceIndex(1)
5 >Emitted(5, 13) Source(3, 13) + SourceIndex(1)
6 >Emitted(5, 14) Source(3, 14) + SourceIndex(1)
7 >Emitted(5, 16) Source(3, 16) + SourceIndex(1)
8 >Emitted(5, 17) Source(3, 17) + SourceIndex(1)
9 >Emitted(5, 18) Source(3, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(6, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(6, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(6, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(7, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(7, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(7, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(7, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(8, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(8, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var second_part1Const = new secondsecond_part1();
1->
2 >^^^^
3 > ^^^^^^^^^^^^^^^^^
4 > ^^^
5 > ^^^^
6 > ^^^^^^^^^^^^^^^^^^
7 > ^^
8 > ^
1->///<reference path="./tripleRef.d.ts"/>
>
2 >const
3 > second_part1Const
4 > =
5 > new
6 > secondsecond_part1
7 > ()
8 > ;
1->Emitted(10, 1) Source(2, 1) + SourceIndex(3)
2 >Emitted(10, 5) Source(2, 7) + SourceIndex(3)
3 >Emitted(10, 22) Source(2, 24) + SourceIndex(3)
4 >Emitted(10, 25) Source(2, 27) + SourceIndex(3)
5 >Emitted(10, 29) Source(2, 31) + SourceIndex(3)
6 >Emitted(10, 47) Source(2, 49) + SourceIndex(3)
7 >Emitted(10, 49) Source(2, 51) + SourceIndex(3)
8 >Emitted(10, 50) Source(2, 52) + SourceIndex(3)
---
>>>var N;
1 >
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1 >
>namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1 >Emitted(11, 1) Source(7, 1) + SourceIndex(3)
2 >Emitted(11, 5) Source(7, 11) + SourceIndex(3)
3 >Emitted(11, 6) Source(7, 12) + SourceIndex(3)
4 >Emitted(11, 7) Source(13, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(12, 1) Source(7, 1) + SourceIndex(3)
2 >Emitted(12, 12) Source(7, 11) + SourceIndex(3)
3 >Emitted(12, 13) Source(7, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(13, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(13, 14) Source(8, 14) + SourceIndex(3)
3 >Emitted(13, 15) Source(8, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(14, 9) Source(9, 9) + SourceIndex(3)
2 >Emitted(14, 16) Source(9, 16) + SourceIndex(3)
3 >Emitted(14, 17) Source(9, 17) + SourceIndex(3)
4 >Emitted(14, 20) Source(9, 20) + SourceIndex(3)
5 >Emitted(14, 21) Source(9, 21) + SourceIndex(3)
6 >Emitted(14, 30) Source(9, 30) + SourceIndex(3)
7 >Emitted(14, 31) Source(9, 31) + SourceIndex(3)
8 >Emitted(14, 32) Source(9, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(15, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(15, 6) Source(10, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(16, 5) Source(12, 5) + SourceIndex(3)
2 >Emitted(16, 6) Source(12, 6) + SourceIndex(3)
3 >Emitted(16, 8) Source(12, 8) + SourceIndex(3)
4 >Emitted(16, 9) Source(12, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(17, 1) Source(13, 1) + SourceIndex(3)
2 >Emitted(17, 2) Source(13, 2) + SourceIndex(3)
3 >Emitted(17, 4) Source(7, 11) + SourceIndex(3)
4 >Emitted(17, 5) Source(7, 12) + SourceIndex(3)
5 >Emitted(17, 10) Source(7, 11) + SourceIndex(3)
6 >Emitted(17, 11) Source(7, 12) + SourceIndex(3)
7 >Emitted(17, 19) Source(13, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(18, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(19, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(20, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(20, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(21, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(21, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(21, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(22, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(22, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(22, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(22, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(22, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(22, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(22, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(22, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(23, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(23, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(24, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(24, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(25, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(25, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(25, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(25, 6) Source(5, 2) + SourceIndex(4)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../third_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=second-output.js.map
>>>var third_part1Const = new thirdthird_part1();
1->
2 >^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^^^
5 > ^^^^
6 > ^^^^^^^^^^^^^^^^
7 > ^^
8 > ^
1->///<reference path="./tripleRef.d.ts"/>
>
2 >const
3 > third_part1Const
4 > =
5 > new
6 > thirdthird_part1
7 > ()
8 > ;
1->Emitted(27, 1) Source(2, 1) + SourceIndex(5)
2 >Emitted(27, 5) Source(2, 7) + SourceIndex(5)
3 >Emitted(27, 21) Source(2, 23) + SourceIndex(5)
4 >Emitted(27, 24) Source(2, 26) + SourceIndex(5)
5 >Emitted(27, 28) Source(2, 30) + SourceIndex(5)
6 >Emitted(27, 44) Source(2, 46) + SourceIndex(5)
7 >Emitted(27, 46) Source(2, 48) + SourceIndex(5)
8 >Emitted(27, 47) Source(2, 49) + SourceIndex(5)
---
>>>var c = new C();
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^
6 > ^
7 > ^^
8 > ^
9 > ^->
1 >
>
2 >var
3 > c
4 > =
5 > new
6 > C
7 > ()
8 > ;
1 >Emitted(28, 1) Source(3, 1) + SourceIndex(5)
2 >Emitted(28, 5) Source(3, 5) + SourceIndex(5)
3 >Emitted(28, 6) Source(3, 6) + SourceIndex(5)
4 >Emitted(28, 9) Source(3, 9) + SourceIndex(5)
5 >Emitted(28, 13) Source(3, 13) + SourceIndex(5)
6 >Emitted(28, 14) Source(3, 14) + SourceIndex(5)
7 >Emitted(28, 16) Source(3, 16) + SourceIndex(5)
8 >Emitted(28, 17) Source(3, 17) + SourceIndex(5)
---
>>>c.doSomething();
1->
2 >^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^
6 > ^
7 > ^^^^^^^^^^^^^^^^^^^^^^^->
1->
>
2 >c
3 > .
4 > doSomething
5 > ()
6 > ;
1->Emitted(29, 1) Source(4, 1) + SourceIndex(5)
2 >Emitted(29, 2) Source(4, 2) + SourceIndex(5)
3 >Emitted(29, 3) Source(4, 3) + SourceIndex(5)
4 >Emitted(29, 14) Source(4, 14) + SourceIndex(5)
5 >Emitted(29, 16) Source(4, 16) + SourceIndex(5)
6 >Emitted(29, 17) Source(4, 17) + SourceIndex(5)
---
>>>//# sourceMappingURL=third-output.js.map
Loaded 100 of 117 files, more files were not shown because too many files have changed in this diff. Show more