[dart2js_info] Fix library size - change a name field no nullable

Otherwise tools.dart library_size crashes

Change-Id: Iba72c273eea6d550c2ecf1193f44111f55ca4c22
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271564
Reviewed-by: Nate Biggs <natebiggs@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
This commit is contained in:
Kevin Moore 2022-11-23 01:18:27 +00:00 committed by Commit Queue
parent b9b30b5883
commit 0a7b6d10a9

View file

@ -172,7 +172,7 @@ class _Group {
/// Name of the group. May be null if the name is derived from the matcher. In
/// that case, the name would be group(1) of the matched expression if it
/// exist, or group(0) otherwise.
final String name;
final String? name;
/// Regular expression matching members of the group.
final RegExp matcher;