allegro / php-protobuf

PHP Protobuf - Google's Protocol Buffers for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when the default value is enum type,there is a bug

ryanchi opened this issue · comments

when the message like this
enum A{
SUCCESS = 0;
FAILURE = 1;
}
message B{
required result = 1 [default = FAILURE];
}

there will be an error occur in the php file。