mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:17:14 +00:00
[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:
parent
b9b30b5883
commit
0a7b6d10a9
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue