sdk
                                
                                 sdk copied to clipboard
                                
                                    sdk copied to clipboard
                            
                            
                            
                        The Dart SDK, including the VM, dart2js, core libraries, and more.
Consider this program consisting of two libraries: ```Dart // private.dart import 'private_lib.dart'; mixin M {} class B = A with M; // private_lib.dart import 'private.dart'; class A { A._(); }...
**2025-06-11: Updated to introduce `dart install`, see https://github.com/dart-lang/sdk/issues/60889#issuecomment-2961956693 for a detailed design.** We should change `dart pub global` to use AOT instead of JIT. Also, we should not let `pub`...
When I run `dart run -r .\some_package\test\check.dart` inside the `workspace`, it prints this on error: ``` The Resident Frontend Compiler is listening at 127.0.0.1:55260 Run dart compilation-server shutdown to terminate...
Similar to https://github.com/dart-lang/sdk/issues/60604 Repro: ```dart void f(num n) { ({int first, String second}) v = switch (n) { double() => (/*0*/), int() => () { return (/*1*/); }(), }; ({int...
This is a meta issue for work needed for the linter to support dot shorthands. ## Existing Lints Status: Evaluation complete. Lints that require any work have been moved to...
I've not yet been able to reduce this repro (see my attempt https://github.com/dart-lang/sdk/issues/60907) but: 1. Clone https://github.com/FMorschel/chess 2. Open chess_logic inner project and at `lib\src\move\pawn_move.dart` place a breakpoint on line...
This issue tracks the work needed to support dot shorthands with the `unnecessary_const` lint. ### Work needed - Handle `DotShorthandConstructorInvocation` in the same way we do regular constructors. - Add...
This issue tracks the work needed to support dot shorthands with this lint. ### Work needed - Update `canBeConst` for the `DotShorthandConstructorInvocation` AST. - Add a new `DotShorthandConstructorInvocation` visit method...
Lint needs some updating to handle dot shorthands. This issue tracks that work. ### Work needed The lint should still fire on `.hasEnvironment(...)` and `.fromEnvironment(...)`. - Add tests.
This issue tracks the work we need to support dot shorthands in `omit_local_variable_types`. ### Work needed - Make sure we're not linting in a spot where we can't actually omit...