Skip to content

Isolate.packageConfigSync and Isolate.resolvePackageUriSync APIs are missing in Dart v3.1 #53285

Closed
@halildurmus

Description

@halildurmus

These APIs are documented in the CHANGELOG under the v3.1.0:

sdk/CHANGELOG.md

Lines 119 to 121 in cfa03ed

#### `dart:isolate`
- Added `Isolate.packageConfigSync` and `Isolate.resolvePackageUriSync` APIs.

However, they seem to be missing in Dart v3.1.

Here's the link to the Isolate class from the stable branch: https://github.com/dart-lang/sdk/blob/stable/sdk/lib/isolate/isolate.dart

In the main branch, these APIs are defined as:

@Since('3.1')
external static Uri? get packageConfigSync;

@Since('3.1')
external static Uri? resolvePackageUriSync(Uri packageUri);

Here's the commit where these APIs are added: 4fddaf9

Dart version:

Dart SDK version: 3.1.0 (stable) (Tue Aug 15 21:33:36 2023 +0000) on "windows_x64"

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-isolate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions