-
Extracted from #31975, the code snipped below works, but when you uncomment commented lines, it fails.
```
abstract class Element {}
abstract class RenderObject {}
class WidgetInspector {
…
-
This is the analyzer specific issue for #30176, which has the details.
-
```dart
import 'dart:collection';
void main() {
LinkedHashSet x = new Set(); // A value of type 'Set' can't be assigned to a variable of type 'LinkedHashSet'
}
```
It seems unambiguous tha…
Hixie updated
6 years ago
-
My code is here:
https://github.com/flutter/flutter_attract/tree/dart2
(original code without optional new and const is in the master branch).
Crash:
```
[C:\git\flutter_attract] flutter ru…
-
_From @vsmenon on April 18, 2016 16:36_
If I have:
foo/index.dart:
``` dart
main() => print('foo');
```
bar/index.dart:
``` dart
main() => print('foo');
```
and I compile together, e.g.,:
```
da…
-
Almost all sdk code from dart:core, dart:collection relies on runtime checks of arguments. For example:
https://github.com/dart-lang/sdk/blob/master/sdk/lib/_internal/js_runtime/lib/js_array.dart#L…
-
When Chrome applies source maps generated by dart2js to a stack trace I am finding the line numbers can be off by at least one or two lines. The correct line number can precede or succeed the line num…
-
What happens:
chrome throws an error.
What causes it:
var isolate = Isolate.spawnUri(Uri.parse('skulpt_interface.dart'), [],port.sendPort);
Where it happens:
on chrome browser but not on dartium
Ca…
-
dart2js dart:mirrors [ClassMirror.invoke](https://api.dartlang.org/135619/dart-mirrors/ObjectMirror/invoke.html) method doesn't accept named arguments. It throws this exception:
```
Unsupported opera…
-
The test fails with enable_kernel_expression_compilation=true(which is default), passes with enable_kernel_expression_compilation=false
```
╰─➤ DART_CONFIGURATION=DebugX64 pkg/vm/tool/dart2 --no…