-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dart:io's Platform.packageRoot
and dart:isolate's Isolate.packageRoot
APIs
#47769
Comments
While the API doesn't currently work, removing the API is technically a breaking change, so tagging. cc @devoncarew |
packageRoot
APIPlatform.packageRoot
and Isolate.packageRoot
APIs
Platform.packageRoot
and Isolate.packageRoot
APIsPlatform.packageRoot
and dart:isolate's Isolate.packageRoot
APIs
@bwilkerson - would |
I don't think we need to spend any more time here -- I'm fairly sure there is a very minimal risk. Even |
Bug: #47769 Change-Id: I1cbd7761e7119c07f2697d7624bec703ba4c4641 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221340 Reviewed-by: Lasse Nielsen <[email protected]> Commit-Queue: Michael Thomsen <[email protected]>
Fixed in 71e3dac |
This change is breaking the Dart roll into Flutter. See flutter/engine#30231. |
Sorry about that; PR to roll Engine is flutter/engine#30236. Framework was already prepared in flutter/flutter#94603 |
The
dart:io
library contains apackageRoot
API:Similarily in the isolate API:
As the deprecation comments state, this is not only deprecated but non-functional in Dart 2, and is hardcoded to return null. We should go ahead and remove it.
The text was updated successfully, but these errors were encountered: