Skip to content

Fixing issue #62211 #101

Fixing issue #62211

Fixing issue #62211 #101

Triggered via dynamic September 3, 2025 23:13
Status Success
Total duration 37m 6s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

1 error
copilot
Identifier expected.\\r\\n\\r\\n\\r\\n==== parserUnfinishedTypeNameBeforeKeyword1.ts (2 errors) ====\\r\\n var x: TypeModule1.\\r\\n ~~~~~~~~~~~\\r\\n!!! error TS2833: Cannot find namespace 'TypeModule1'. Did you mean 'TypeModule2'?\\r\\n \\r\\n!!! error TS1003: Identifier expected.\\r\\n module TypeModule2 {\\r\\n }\\r\\n \\n```\",\"languageName\":\"Text\",\"path\":\"tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.errors.txt\",\"range\":{\"start\":1,\"end\":12},\"ref\":\"refs/heads/main\",\"type\":\"snippet\",\"url\":\"https://github.com/microsoft/TypeScript/blob/7956c00166df552a1d6da6c2f996b558e5dd94ff/tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.errors.txt#L1-L12\"},{\"contents\":\"File: `src/compiler/program.ts`\\n````typescript\\n/*...*/\\nexport function createProgram(_rootNamesOrOptions: readonly string[] | CreateProgramOptions, _options?: CompilerOptions, _host?: CompilerHost, _oldProgram?: Program, _configFileParsingDiagnostics?: readonly Diagnostic[]): Program {\\r\\n /*...*/\\n function getIgnoreDeprecationsVersion(): Version {\\r\\n const ignoreDeprecations = options.ignoreDeprecations;\\r\\n if (ignoreDeprecations) {\\r\\n if (ignoreDeprecations === \\\"5.0\\\" || ignoreDeprecations === \\\"6.0\\\") {\\r\\n return new Version(ignoreDeprecations);\\r\\n }\\r\\n reportInvalidIgnoreDeprecations();\\r\\n }\\r\\n return Version.zero;\\r\\n }\\r\\n /*...*/\\n}\\r\\n/*...*/\\n````File: `src/compiler/program.ts`\\n````typescript\\n/*...*/\\nexport function createProgram(_rootNamesOrOptions: readonly string[] | CreateProgramOptions, _options?: CompilerOptions, _host?: CompilerHost, _oldProgram?: Program, _configFileParsingDiagnostics?: readonly Diagnostic[]): Program {\\r\\n /*...*/\\n function checkDeprecations(\\r\\n deprecatedIn: string,\\r\\n removedIn: string,\\r\\n createDiagnostic: (name: string, value: string | undefined, useInstead: string | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) => void,\\r\\n fn: (createDeprecatedDiagnostic: (name: string, value?: string, useInstead?: string) => void) => void,\\r\\n ) {\\r\\n const deprecatedInVersion = new Version(deprecatedIn);\\r\\n const removedInVersion = new Version(removedIn);\\r\\n const typescriptVersion = new Version(typeScriptVersion || versionMajorMinor);\\r\\n const ignoreDeprecationsVersion = getIgnoreDeprecationsVersion();\\r\\n\\r\\n const mustBeRemoved = !(removedInVersion.compareTo(typescriptVersion) === Comparison.GreaterThan);\\r\\n /*...*/\\n}\\r\\n/*...*/\\n````File: `src/compiler/program.ts`\\n````typescript\\n/*...*/\\nexport function createProgram(_rootNamesOrOptions: readonly string[] | CreateProgramOptions, _options?: CompilerOptions, _host?: CompilerHost, _oldProgram?: Program, _configFileParsingDiagnostics?: readonly Diagnostic[]): Program {\\r\\n /*...*/\\n function verifyDeprecatedCompilerOptions() {\\r\\n function createDiagnostic(name: string, value: string | undefined, useInstead: string | undefined, message: DiagnosticMessage, ...args: DiagnosticArguments) {\\r\\n /*...*/\\n }\\r\\n\\r\\n checkDeprecations(\\\"5.0\\\", \\\"5.5\\\", createDiagnostic, createDeprecatedDiagnostic => {\\r\\n if (options.target === ScriptTarget.ES3) {\\r\\n createDeprecatedDiagnostic(\\\"target\\\", \\\"ES3\\\");\\r\\n }\\r\\n if (options.noImplicitUseStrict) {\\r\\n createDeprecatedDiagnostic(\\\"noImplicitUseStrict\\\");\\r\\n }\\r\\n if (options.keyofStringsOnly) {\\r\\n createDeprecatedDiagnostic(\\\"keyofStringsOnly\\\");\\r\\n }\\r\\n if (options.suppressExcessPropertyErrors) {\\r\\n createDeprecatedDiagnostic(\\\"suppressExcessPropertyErrors\\\");\\r\\n }\\r\\n /*...*/\\n }\\r\\n /*

Artifacts

Produced during runtime
Name Size Digest
results
1.75 KB
sha256:c5ad122fbc9725d82afd2ccb9bd566274d3b198d93a6c20543977d536e37027d