-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-quick-fixIssues with analysis server (quick) fixesIssues with analysis server (quick) fixestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
1. Spacing
class Foo {
final String foo;
const Foo({required this.foo});
}
after applying quick fix:
class Foo {
const Foo({required this.foo});
final String foo;
}
expected:
class Foo {
const Foo({required this.foo});
final String foo;
}
- no blank space between signature and constructor
- space between constructor and field?
2. Enum:
enum Foo {
bar('Open'),
baz('Accepted Provisionally'),
final String value;
const Foo(this.value);
}
after applying nothing happens despite analyzer properly emits warning. Expected:
enum Foo {
bar('Open'),
baz('Accepted Provisionally'),
const Foo(this.value);
final String value;
}
PiotrRogulski and FMorschel
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-quick-fixIssues with analysis server (quick) fixesIssues with analysis server (quick) fixestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)