-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Customer-reported issue with NNBD migration tool: Could not load edit details #42636
Comments
Can confirm, this happens all the time with every edit for me. |
Thanks for the bug report! I'm able to reproduce this. Investigating... |
I don't know if it's the same issue, but on the latest nightly on Windows I get a lot of errorpopups like this:
They seem to be related to having This happens when clicking one of the action buttons for a path that has backslashes in the displayed path: I wasn't able to make this run from source on Windows to try making changes (it seems to fail to resolve sdk/pkg/nnbd_migration/lib/src/front_end/region_renderer.dart Lines 85 to 93 in f190a4a
|
That said, this path looks like it may be incorrect even if you fix the slash:
Because |
@srawlins This change seems to fix one of my issues on Windows (though unsure if it's the best place for it):
(I also needed this for the generate scripts to work on Windows):
However the other issue remains (and may be what the earlier comments here were hitting). If I click the button marked 2 here, it normally works. However if I first click the link marked 1 (which opens that file on the left), and then click the button marked 2, then I get an error:
The path here is missing the "lib". It seems like opening another file may be affecting how the relative path is resolved for the actions in the right panel? |
Bug: #42636 (comment) Change-Id: I426bf87cfc29f19fdabbc5ce7692dd98e25ba33c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/159760 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Paul Berry <paulberry@google.com>
Bug: #42636 Change-Id: I2bda4f91eb6da738b2b2a9c0f0a17d1a71b027cd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/159780 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
@DanTup I've landed a fix for the original issue, which is not specific to Windows. The issue you are seeing may be specific to Windows. I suspect they are different issues, but if you are able to build Dart at HEAD, could you try with my recent fixes (e7c79ae) and if you still see your issue, open a new issue? Thanks! |
I'll close this one then. |
Could not load edit details
Please fill in the following:
Name of package being migrated (if public):
https://github.com/timsneath/win32
What I was doing when this issue occurred:
Made one change in structs.dart and then clicked on the right-hand nav to make another change
Is it possible to work around this issue:
Only by reapplying,
Has this issue happened before, and if so, how often:
Dart SDK version: 2.9.0-20.0.dev.flutter-06cb010247
Additional details:
Thanks for filing!
Stacktrace: auto populated by migration preview tool.
The text was updated successfully, but these errors were encountered: