-
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
Using not Code for DeclarationCode.fromParts() #55441
Comments
Interesting, I don't see a hard hang in unit tests for the element model and resolution.
#0 SerializeCode.serialize (package:_macros/src/executor/serialization_extensions.dart:609:13)
1712867529318 <= {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
|
Ah, I run unit tests with asserts enabled, so the mistake does not allow you to create such invalid |
The reason it hangs is that the analyzer does not get a response from the macro running isolate. case MessageType.executeDeclarationsPhaseRequest:
ExecuteDeclarationsPhaseRequest request =
ExecuteDeclarationsPhaseRequest.deserialize(deserializer, zoneId);
(await _executeDeclarationsPhase(request, sendRequest))
.serialize(serializer); If we checked inside |
Bug: #55441 Change-Id: I27fd2cbdd750317a40583788690447d54df6a037 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362440 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jake Macdonald <jakemac@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
From https://docs.google.com/document/d/1x13R1AsPtbF06oq-iE91EUrygqUDsnfRI8X3jdTkmjI
The text was updated successfully, but these errors were encountered: