Konstantin Scheglov

Results 40 issues of Konstantin Scheglov

```console scheglov@scheglov-macbookpro4:~/Source/Dart/sdk.git/sdk (aa-publish)$ d-rts Total 447 tests, of which 104 are expected to fail. 00:53 +4962: analysis_server | lsp | CompletionTest | test_completeFunctionCalls_resolve_producesCorrectEditWithoutInsertText ===== CRASH ===== si_signo=Segmentation fault: 11(11), si_code=2,...

area-vm

The lint is not reported for: ```dart class A { T foo() { throw 42; } } class B extends A { @override int foo() => super.foo(); } ``` This...

type-bug
NNBD
set-core

e.g. `co19/LanguageFeatures/Records/type_promotion_A02_t01` as in https://github.com/dart-lang/co19/issues/1452

area-analyzer
P2
analyzer-spec

The specification [says](https://github.com/dart-lang/language/blob/master/accepted/future-releases/records/records-feature-specification.md#record-type-annotations): A field name that collides with the synthesized getter name of a positional field. For example: (int, $0: int) since the named field '$0' collides with the...

area-analyzer
P2
analyzer-spec

I speculate here, based on what I remember, check it.

area-analyzer
P3
analyzer-ast-builder

``` void f1([(int, List, Set, Map, {String n}) v = const (n: "", 1, [1], {2}, {"a": 0},)]) {} ```

area-analyzer
analyzer-spec

@jensjoha We parse it as a function typed formal parameter instead. ```dart class C { ({num n, String s}) r2; C(({int n, String s}) this.r2); } ``` parsed as ```...

area-front-end

So far I think that this code should be OK, but we don't resolve `T` to its bounds. ```dart num foo(T r) => r.$0; ``` The comment for `DartType _resolveTypeParameter`...

area-analyzer
analyzer-spec

@jensjoha ```dart void f() { foo(); } ``` parsed as ``` [(21..21): A comparison expression can't be an operand of another comparison expression., (38..38): Expected an identifier.] void f() {foo...

area-front-end

```dart class C { int? i; C() { i = 0; } C.foo(int i) { this.i = 1; } } main() { var r = (C.new, c1: C.foo); r.$0().i; r.c1(42).i;...

area-analyzer
analyzer-spec