You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we can see, the field with number 2 have incomplete type, and there is no error been raised, and until someone called a function which returns a struct A, we got a missleading error message:
TypeError: an integer is required
The text was updated successfully, but these errors were encountered:
aisk
linked a pull request
Jul 16, 2021
that will
close
this issue
cat b.thrift:
cat a.thrift:
parse the files and dump the
thrift_spec
for struct A:And got the result:
As we can see, the field with number 2 have incomplete type, and there is no error been raised, and until someone called a function which returns a
struct A
, we got a missleading error message:The text was updated successfully, but these errors were encountered: