Konstantin Scheglov
Konstantin Scheglov
See https://github.com/dart-lang/sdk/issues/55696#issuecomment-2168347771
Looking at code generated by a test macro in the analyzer. ```dart library augment 'test.dart'; import 'package:test/a.dart' as prefix0; import 'dart:core' as prefix1; augment class A { @prefix0.AugmentGetter() external int...
Maybe instead of adding [configurable URIs](https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/parts_with_imports.md) for parts (in addition to imports and exports), we can add a more flexible feature? As you can see below, it can be used...
Try to format the following code. Note that that is an empty line between "foo" and "main". If initial selection is on this line, the returned selection is on "main"....
It looks that we drop `=` completely, and so switch to a very synthetic legacy function type alias, although inserting a synthetic name could be a better recovery. Obviously, I...
Here `ancestor` has initially type `Element?`, so cannot be promoted to either `ClassElement` or `ExtensionElement`. But it cannot be `null` if any of them is true. ```dart var ancestor =...
Observatory has this. It can be quite convenient to understand where specifically in some method CPU is used.  
Run `dart --observe:5001 /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer_cli/bin/analyzer.dart /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer_cli/bin/analyzer.dart` ``` :5001/HBaRonn3Gdo=/devtools/?uri=ws://127.0.0.1:5001/HBaRonn3Gdo=/ws:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. flutter_bootstrap.js:121 Attempting to load DevTools with canvaskit renderer. js_util_patch.dart:81 Server HTTP API...
According to https://github.com/dart-lang/dartdoc/pull/2566 the saving is less than `5%`. This is way less than I think is necessary to justify using internal APIs.