Konstantin Scheglov
Konstantin Scheglov

It seems to me that it would be cleaner to give default `const []`, and check for `.isNotEmpty` instead of `!= null`.
These are `@SkippedTest` that we were not able to make reliable.
I cannot reproduce it. The test below reports some errors, but no crash. ```dart solo_test_X() async { newFile('$testPackageLibPath/a.dart', r''' part 'test.dart'; '''); await assertErrorsInCode(r''' part 'a.dart'; part of 'a.dart'; ''',...
Sorry, yes, you are right, there is a syntactic error. I was mostly saying that there is no crash, and kind of the diagnostic did not seem important then :-)...
https://dart-review.googlesource.com/c/sdk/+/354382
It seems that there is too much context. What code do you try to analyze, on which the analyzer crashes?
Well, given that the analyzer when running in Dart VM can analyze "hello world", it might be: 1. Something that we wrote in the analyzer that does not follow the...
I'm not 100% sure, but the extra empty component in `ElementLocation` might be the name of the unnamed constructor. Given the warning with `main`, with the knowledge that we use...
Interesting, why is it for `30` bits, not `52` or `53`, whatever weird number of bits JavaScript uses for `int`?