sdk
sdk copied to clipboard
The Dart SDK, including the VM, dart2js, core libraries, and more.
`dart help format -v` doesn't show the line length option `-l`.
This allows users to access the static type of a DartObject through `DartObject#toStaticTypeValue`. I'm not sure whether this is the best approach or whether it'll solve all future use-cases. I...
port analogical solutions from chromium: - tool for replacing normal gn build files with unbundle ones, for use in such environments - shim headers I'm working on the same issue...
### Steps to reproduce 1. Create new flutter project (or any exist project) 2. Paste code below: 3. Run `dart fix -n` ### Expected results dart fix -n Shouldn't crash...
Consider the following program: ```dart X id(X x) { print(x.isEven); // But `x` is `Object()`! return x; } void foo(Y y) { if (y is int) { // `y` has...
This comes up for macros - it is not possible today to release an experimental macro package and have people try it out. In my understanding, this is because analysis_options.yaml...
_This issue was originally filed by @tatumizer_ --- Good news: operations over Int32x4 are lightning-fast. Bad news: there's nothing one can do with results of these operations, at least in...
See this gist https://gist.github.com/jakemac53/845b60847dbda53f93aeed8056d5fbd2. Assuming the file _does_ exist with that name (I think it is invalid, but it is possible to create at least on the command line), on...
In [the example](https://gist.github.com/goderbauer/f4af717a5ffb2c52a9a815391afc4563) dispose of Bar is lost. The fix is to remove ‘with Disposable’ from Bar, as Disposable does not make sense for Bar, because it is already mixed...