You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.
In some cases the get method on an instance of Resolvers from 'resolvers.dart' gets stuck, in the sense that the next statement after await never gets executed:
git clone 'https://github.com/dart-lang/reflectable'
cd reflectable/tool
git co 64be223a843f31b799b1170de4fe786e0468c32a
./bottest
This will end in a state where the pub build --mode=debug test process is stuck. The actual location where it is stuck is at line 2741 in 'lib/src/transformer_implementation.dart'. Note that the stuck state may hereafter be reproduced much faster by running pub build --mode=debug test directly in the 'test_reflectable' subdirectory (cd ../test_reflectable in the above setting).
We have noticed that the problem disappears when we use a dependency_override such that the version of the analyzer is 0.26.1+14 rather than 0.26.2. Because of this fact, we have reported the same issue on the analyzer repo: https://github.com/dart-lang/analyzer_cli/issues/73.
Update: Reflectable has a new commit doing the dependency override on the analyzer that prevents the above problem, so the git clone above must fetch commit 64be223a843f31b799b1170de4fe786e0468c32a rather than the most recent one. I edited the text above to reflect this fact.
The text was updated successfully, but these errors were encountered:
In some cases the
get
method on an instance ofResolvers
from 'resolvers.dart' gets stuck, in the sense that the next statement afterawait
never gets executed:The problem is easy to reproduce:
This will end in a state where the
pub build --mode=debug test
process is stuck. The actual location where it is stuck is at line 2741 in 'lib/src/transformer_implementation.dart'. Note that the stuck state may hereafter be reproduced much faster by runningpub build --mode=debug test
directly in the 'test_reflectable' subdirectory (cd ../test_reflectable
in the above setting).We have noticed that the problem disappears when we use a dependency_override such that the version of the analyzer is 0.26.1+14 rather than 0.26.2. Because of this fact, we have reported the same issue on the analyzer repo: https://github.com/dart-lang/analyzer_cli/issues/73.
Update: Reflectable has a new commit doing the dependency override on the analyzer that prevents the above problem, so the
git clone
above must fetch commit 64be223a843f31b799b1170de4fe786e0468c32a rather than the most recent one. I edited the text above to reflect this fact.The text was updated successfully, but these errors were encountered: