Unverified Commit 70562141 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Handle google3 version of pb (#36084)

parent 0a97553e
......@@ -38,8 +38,8 @@ class FileHash extends $pb.GeneratedMessage {
@$core.pragma('dart2js:noInline')
static FileHash create() => FileHash._();
@$core.override
FileHash createEmptyInstance() => create();
// @$core.override
FileHash createEmptyInstance() => create(); // ignore: annotate_overrides
static $pb.PbList<FileHash> createRepeated() => $pb.PbList<FileHash>();
static FileHash getDefault() => _defaultInstance ??= create()..freeze();
static FileHash _defaultInstance;
......@@ -78,8 +78,8 @@ class FileStorage extends $pb.GeneratedMessage {
@$core.pragma('dart2js:noInline')
static FileStorage create() => FileStorage._();
@$core.override
FileStorage createEmptyInstance() => create();
// @$core.override
FileStorage createEmptyInstance() => create(); // ignore: annotate_overrides
static $pb.PbList<FileStorage> createRepeated() => $pb.PbList<FileStorage>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment