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

I've upgraded flutter to 3.38.1 and now I have a many deprecation warnings for RegExp. `RegExp is deprecated and shouldn't be used. This class will become 'final' in a future...

area-dart-model

dart->flutter roller failed once https://github.com/flutter/flutter/pull/179502, then succeeded on the next roll seemingly without any actual fixes landing. When troubleshooting this locally, I saw reported analyzer finding ``` /p/f/f1/flutter/packages/flutter $ ~/p/f/f1/flutter/bin/flutter...

area-dart-model

The analyzer accepts the following code, but the CFE rejects it: ```dart test(Function f) { f.call = 0; } ``` The CFE is correct in rejecting the code; there is...

P3
type-bug
area-dart-model

Cf. https://github.com/dart-lang/language/pull/1616. The analyzer should now report an error for the following program: ```dart void foo(X x) {} void main() { var f = foo; // Create a function object...

P3
type-bug
dart-model-analyzer-spec
area-dart-model

Dart does not infer the generic type of a callable class from the context, even when the type is unambiguous. For example: ```dart class Validator { String? call(T? value) =>...

area-devexp

Analyzer doesn't report the following error (CFE does) ```dart class C { int operator *({required int other}) => 42; // ^^^^^^^^^^^^^^^^^^ // [analyzer] unspecified // [cfe] unspecified } main() {...

P3
type-bug
dart-model-analyzer-spec
area-dart-model

The `unused_field` lint and its variants are very useful. But they have a flaw: They work only for private members. Consider: ```dart class _A { int unused; } ``` Where...

devexp-warning
type-enhancement
P4
area-devexp

It seems dart2js fine granular splitting of code for deferred loading will not ensure that a `await deferred.loadLibrary()` is actually loading code for that library. Here's a reproduction ```dart //...

web-dart2js
area-web-js
area-dart2wasm

This opens up the possibility to share arbitrary objects. Example: ```dart import 'package:dart_internal/isolate_group.dart' show IsolateGroup; import 'dart:isolate'; @pragma('vm:shared') List Function()? getList; void main(List args) { final list = []; getList...

P1
area-vm
triaged

Using the new Analyzer plugins, I found a scenario where `// ignore` doesn't work This appears to be tied to the fact that I have multiple `analysis_options.yaml` in my project....

P2
type-bug
devexp-plugin
area-devexp