Open Hixie opened 1 year ago
@scheglov
Got a more serious one today (unfortunately I accidentally blew away the console before I could copy the stack) where it actually crashed the analyzer entirely. Looks like the analyzer in general is very sensitive to sudden filesystem changes of the kind you see when switching git branches.
Steps to reproduce are something like this:
ulimit -Sn unlimited
.flutter update-packages; flutter analyze --watch --write /tmp/analysis --flutter-repo
flutter channel stable
or the equivalent with git
.flutter doctor -v
or flutter upgrade
or flutter test
or similar to cause it to download the different Dart.The analyzer suddenly throws the exception above.
I saw the following, probably when switching branches or upgrading Flutter while the analyzer was running: