-
DartPad crashes when redirecting a non const constructor to a const one. (see attached code)
I have to admit the parser recognized the error and showed some red signs. I went ahead anyway and thus ma…
-
Consider the following program:
```dart
abstract class Foo extends Iterable {}
Foo foo() sync* { yield 1; }
main() => foo();
```
With `dart`, `dartanalyzer`, and `dart2js` from commit 0a7d…
-
Hey,
im writing an app with flutter using your plugin and maybe its not your fault but i didnt find a solution.
The dartanalyzer binary is in my path, so it is called on every save by your plugin.…
-
Make this change to `tools/build/dartanalyzer.js`
``` diff
function analyze(dirName, done) {
// analyze files in lib directly – or you mess up package: urls
- var sources = [].slice.…
-
`dartfmt` formats code in a way that doesn't agree with the linter rule `always_put_control_body_on_new_line`. This creates quite an annoying problem where I cannot use `dartfmt` if I want to use the …
-
Consider the following valid Dart code:
```dart
main() {
MyList a = MyList();
double b = -a[0];
print(b);
}
class MyList {
double operator [](int index) {
return 1.0;
}
…
-
SDK @ https://github.com/dart-lang/sdk/commit/ec5ba8a2521a3638c39cc41a09ce736ed64cd092
Linter DEP @ 0.1.79
Build repo @ https://github.com/dart-lang/build/commit/9a6652ecb1ded9b916cc504512610db7fa…
-
Consider the following program:
```dart
main() {
Null n = null;
n.bitLength;
n.isEven;
n.isOdd;
n.sign;
n.isFinite;
n.isInfinite;
n.isNaN;
n.isNegative;
n & 42;
n …
-
**Describe the issue**
I have "No issues found" message while beside it I have "(ran in 12.6s; 29 public members lack documentation)"
Rule: `public_member_api_docs`
**To Reproduce**
1-Just use…
-
Page URL: https://www.dartlang.org/tools/pub/pubspec#description
Page source: https://github.com/dart-lang/site-www/tree/master/src/tools/pub/pubspec.md
Should be `>= 60 &&