Konstantin Scheglov

Results 222 comments of Konstantin Scheglov

![image](https://github.com/dart-lang/sdk/assets/384794/3103e3b7-fe30-4b9e-a112-92bb4245ef1a)

It seems to me that it would be cleaner to give default `const []`, and check for `.isNotEmpty` instead of `!= null`.

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 :-)...

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`?