vs-code-cython
vs-code-cython copied to clipboard
lang server hangs on "recursive" structs
Consider the following definition of linked list node:
ctypedef struct my_node:
void* data
struct my_node* prev
struct my_node* next_
I don't know if this is valid in cython, but after seeing this, code analysis stopped working and could not recover without a restart. (deleting this part cannot make it recover) I mean, at least give me an error, but do not just hang.
Note: the following is just fine
ctypedef struct my_node
ctypedef struct my_node:
void* data
my_node* prev
my_node* next_