Skip to content

Commit c27ad09

Browse files
srawlinsCommit Queue
authored andcommitted
vm_service: Remove unused categoryName parameter
Change-Id: I2ea111c576a550e2d473e8b55b51b6ac41e687c8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/436481 Auto-Submit: Samuel Rawlins <[email protected]> Commit-Queue: Ben Konyi <[email protected]> Reviewed-by: Ben Konyi <[email protected]>
1 parent 6ba8018 commit c27ad09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/vm_service/tool/dart/generate_dart_common.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ abstract class Api with ApiParseUtil {
148148
if (docs != null) docs = replaceHTMLEntities(docs.trim());
149149

150150
if (definition.startsWith('class ')) {
151-
types.add(Type(this, this, name, definition, docs));
151+
types.add(Type(this, this, definition, docs));
152152
} else if (name.substring(0, 1).toLowerCase() == name.substring(0, 1)) {
153153
methods.add(Method(this, name, definition, docs));
154154
} else if (definition.startsWith('enum ')) {
@@ -506,8 +506,7 @@ class Type extends Member {
506506
final String? docs;
507507
List<TypeField> fields = [];
508508

509-
Type(this.api, this.parent, String categoryName, String definition,
510-
[this.docs]) {
509+
Type(this.api, this.parent, String definition, [this.docs]) {
511510
_parse(Tokenizer(definition).tokenize());
512511
}
513512

0 commit comments

Comments
 (0)