starwing / lua-protobuf

A Lua module to work with Google protobuf
MIT License
1.75k stars 387 forks source link

enum中option allow_alias = true;的支持失效 #213

Closed dingdalong closed 1 year ago

dingdalong commented 2 years ago

test.lua中的示例可以通过,但是将enum放到最外层时,option allow_alias = true;失效 例如:

enum test_alias {
    option allow_alias = true;
    enum1 = 1;
    enum2 = 2;
    enum3 = 2;
}

应该是提交fix options support导致了该问题。

starwing commented 1 year ago

fixed now.