Skip to content

Commit

Permalink
Auto-generate files after cl/629226391
Browse files Browse the repository at this point in the history
  • Loading branch information
protobuf-team-bot committed Apr 30, 2024
1 parent 208cae7 commit 6d33efe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions php/ext/google/protobuf/php-upb.c
Original file line number Diff line number Diff line change
Expand Up @@ -14203,6 +14203,11 @@ static void _upb_FieldDef_Create(upb_DefBuilder* ctx, const char* prefix,
f->full_name, (int)f->type_);
}
}
} else {
if (syntax == kUpb_Syntax_Editions) {
_upb_DefBuilder_Errf(ctx, "Editions proto cannot lack type for field %s",
f->full_name);
}
}

if (!has_type && has_type_name) {
Expand Down
5 changes: 5 additions & 0 deletions ruby/ext/google/protobuf_c/ruby-upb.c
Original file line number Diff line number Diff line change
Expand Up @@ -13696,6 +13696,11 @@ static void _upb_FieldDef_Create(upb_DefBuilder* ctx, const char* prefix,
f->full_name, (int)f->type_);
}
}
} else {
if (syntax == kUpb_Syntax_Editions) {
_upb_DefBuilder_Errf(ctx, "Editions proto cannot lack type for field %s",
f->full_name);
}
}

if (!has_type && has_type_name) {
Expand Down

0 comments on commit 6d33efe

Please sign in to comment.