Skip to content

fix(2814): correct misleading error message for functions without bodies #35822

fix(2814): correct misleading error message for functions without bodies

fix(2814): correct misleading error message for functions without bodies #35822

Re-run triggered July 7, 2026 16:56
Status Failure
Total duration 2m 16s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
required
4s
required
Fit to window
Zoom out
Zoom in

Annotations

22 errors
self-check
Process completed with exit code 1.
self-check: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
typecheck
Process completed with exit code 1.
typecheck: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
smoke
Process completed with exit code 1.
smoke: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
Test Node 24 on ubuntu-latest
Process completed with exit code 1.
Test Node 24 on ubuntu-latest: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
Test Node lts/* on ubuntu-latest with --no-bundle
Process completed with exit code 1.
Test Node lts/* on ubuntu-latest with --no-bundle: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
package-size
Process completed with exit code 1.
package-size
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
coverage
Process completed with exit code 1.
coverage: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
Test Node 14 on ubuntu-latest
Process completed with exit code 1.
Test Node 14 on ubuntu-latest: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
baselines
Process completed with exit code 1.
Test Node 24 on windows-latest
Process completed with exit code 1.
Test Node 24 on windows-latest: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
Test Node 14 on windows-latest
Process completed with exit code 1.
Test Node 14 on windows-latest: src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
required
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
fix_baselines.patch
19.2 MB
sha256:9250818b2253d45ce925ef33d7a38b55f04d71fdc813fac36acda44bc18a7488