Skip to content

--experimental-strip-types default value should depend on --without-amaro configure flag #60640

Description

@kapouer

Version

git november 8 2025

Platform

All...

Subsystem

No response

What steps will reproduce the bug?

Build with --without-amaro flag,
several tests will fail (parallel/test-worker-syntax-error is an example).

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

--experimental-strip-types defaults to true, but when compiled without amaro,
it should default to false.

What do you see instead?

Tests failures, in particular with workers.

Additional information

Maybe it's only a problem with workers.
It's easy to spot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for first-time contributors.strip-typesIssues and PRs related to TypeScript type stripping.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions