sdk icon indicating copy to clipboard operation
sdk copied to clipboard

The Dart SDK, including the VM, dart2js, core libraries, and more.

Results 764 sdk issues
Sort by recently updated
recently updated
newest added

*@ph55 commented on Jun 16, 2020, 1:18 PM UTC:* Feature request / improvement. Classes missing some inspections for * Unused class itself * Unused public properties * Unused public methods...

area-analyzer
analyzer-warning
P2
type-enhancement

The followinng code produces an error in CFE but no issues in analyzer ```dart class V1 { int m() => 42; } class V2 { String get m => "42";...

area-analyzer
P3
type-bug

Via https://github.com/dart-lang/sdk/issues/41793#issuecomment-1387269582 I found and checked out https://github.com/kodecocodes/rwf-materials.git and opened the entire directory (after running `flutter pub get` 500+ times --- I don't know if there's a helper command but...

area-analyzer
type-performance
analyzer-stability
P2

Saving `analysis_options` restarts the analysis server completely making it hard to lint analysis options in general (shows stale issues on save), but also consumes resources. You can repro this when...

area-analyzer
P3
type-performance
analyzer-stability
type-enhancement

Hey! Just upgraded to Dart 3.0.0-417.4.beta and now see some strange reports for code inside the documentation comments https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/lib/src/dart/ast/ast.dart#L5528 is it supposed to be this way?

area-analyzer
P3
analyzer-warning
type-bug

Hi to the team. Today I was writing a Flutter FFI library and it hit me: What if there was a way to annotate a class as holding native resources...

area-analyzer
P3
analyzer-warning
type-enhancement

`a` is used here: ```dart main() { final a = foo(null); a!; } foo(x) => x; ``` ``` $ dart analyze ~/play1/bug1c8i.dart Analyzing bug1c8i.dart... 0.6s warning • bug1c8i.dart:2:9 • The...

area-analyzer
P3
analyzer-warning
type-bug

Consider the following program: library dart.async; part 'dart:async/future.dart'; main() {} This program should be rejected, since `dart:async/future.dart` is not the URI of any file that can be validly used by...

area-analyzer
type-bug
P4
analyzer-spec

All tools restrict the conditions to `dart.library.*`, but analyzer ignores them completely. It would be nice to get a hint when there is a typo.

area-analyzer
P3
analyzer-warning
type-enhancement

See for example #35968, where it is not at all obvious from the stacktrace that the summary is empty.

area-analyzer
P3
analyzer-stability
type-bug