Files
sdk/pkg/analysis_server/test
Kallen Tu 9fee4af302 [analysis_server] Primary constructors: Update RemoveEmptyConstructorBody.
Added support to the `RemoveEmptyConstructorBody` fix to handle primary constructor bodies.

```dart
class C(int x) {
  this : assert(x > 0) {}
}
```

becomes

```dart
class C(int x) {
  this : assert(x > 0);
}
```

Fixes: https://github.com/dart-lang/sdk/issues/63075
Change-Id: I00bc80711ee436c0132a3ae5313763073b030aac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492883
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2026-04-09 13:40:14 -07:00
..
2026-03-20 09:09:46 -07:00
2026-02-12 10:15:31 -08:00