Skip to content

Add the ability to spawn an isolate in Dart 2 preview mode #32253

Closed
@nex3

Description

@nex3

Pub users want to be able to run their executables via pub run using Dart 2 preview mode (see dart-lang/pub#1807 and flutter/flutter#14728 (comment)). Because pub run runs executables in isolates, this means it'll need to be able to spawn an isolate that uses Dart 2 preview mode.

I suggest adding a bool previewDart2 flag to Isolate.spawnUri() that will become a deprecated no-op once Dart 2 releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions