TarsCloud / Tars

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.79k stars 2.08k forks source link

tars2python 引用自身的struct编译后报错 #816

Open Rubyshan opened 3 years ago

Rubyshan commented 3 years ago

具体描述:如果在struct定义中包含该struct的vector字段,编译后的py文件报错并无法加载

报错信息:NameError: name 'XXX' is not defined

示例:

struct Test
{
    0 optional vector<Test> list;
};