Konstantin Scheglov

Results 41 issues of Konstantin Scheglov

See https://github.com/dart-lang/sdk/issues/55696#issuecomment-2168347771

static-metaprogramming

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

static-metaprogramming

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

feature

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"....

bug

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

area-front-end
front-end-fasta-recovery
fe-analyzer-shared-parser
cfe-error-recovery

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 =...

request
feature
nnbd
flow-analysis

Observatory has this. It can be quite convenient to understand where specifically in some method CPU is used. ![Image](https://github.com/user-attachments/assets/d2fa21b7-7777-42c6-b6e4-bf3f128b39ef) ![Image](https://github.com/user-attachments/assets/c2af1886-c021-4f72-b466-d1ce53aa7055)

enhancement
observatory migration
P2

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

vm-developer-mode
P2
exception

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.

P2
type-code-health

P3
devexp-server
devexp-refactoring
type-bug
area-devexp