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
Rename retype
to cast
, overriding old cast
. Deprecate and remove retype
functions.
#33075
Comments
This is in process. The initial change has landed, waiting on a roll. |
The roll has now occurred. |
@lrhn How is this going? |
I have two remaining CL's out that I need land in google code, and one in Flutter, then neither should be using |
Any further updates, @lrhn ? |
See #33075. Bug: http://dartbug.com/33075 Change-Id: I1ee2f587afbc672dd08ac61ac003bbdc85bb95e2 Reviewed-on: https://dart-review.googlesource.com/59091 Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Leaf Petersen <leafp@google.com>
Since retype has been removed from the SDK, packages are now forced to be updated, and it seems we are on-track for that within this week. Going back and removing the, now unnecessary, retype declarations from packages can be handled on a per-package basis. |
The work here is believed to be complete; just need to double-check that this was rolled to google3 |
@whesse can you help confirm that this is in google3? |
I haven't seen this effort - are we planning on pushing it to package owners? I wouldn't consider it blocking for Dart2Stable if that is all that is remaining. |
I don't know anything about this, or how to find out which SDK and third_party package versions are in Google3. |
@srawlins any chance you know? |
No, but I suspect the following packages: collection, observable, and quiver. I don't know of any internal manual implementations. |
The SDK which removes retype hasn't yet landed in google3. |
Internal work here is done. |
@mit-mit lowering priority, and removing from Dart2Stable (if you disagree, please add back). |
The
cast
andretype
methods on numerous types are confusing and removingcast
will make the API better for users. We will reuse thecast
name for the currentretype
behavior.Steps:
cast
to work asretype
(fails no tests in the SDK, five tests in google3) and deprecateretype
. (CL)retype
to callcast
instead after rolling in the change.cast
instead ofretype
.retype
from SDK.retype
from packages that manually implementretype
on the interfaces.The text was updated successfully, but these errors were encountered: