Skip to content

Remove support for dart:mirrors and dart:isolate from dart4web #30538

@munificent

Description

@munificent

In Dart 2.0, our web products — dart2js and dartdevc — will no longer support dart:mirrors and dart:isolate. Support for those has been limited and problematic in many ways for years, so the simplest solution that gives us the most room for future improvement is to not support them at all.

Now that we have configuration-specific imports and const bool.fromEnvironment("dart.library.mirrors") "dart.library.isolate", it's feasible for user code to feature-detect whether those libraries are available and handle their absence.

This is the main metabug to track this. Feel free to file more specific issues for changes that are needed.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).web-dev-compiler

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions