Expected behavior
Expecting mix() to be indexed, that is, to have the entity.name.function.c scope.
enum meow {
X, Y, Z,
};
enum allo
mix()
{
return Z;
}
Actual behavior
mix() is not indexed.
The mix part has the meta.enum.c scope.
However, it works as expected like this:
enum meow {
X, Y, Z,
};
enum allo mix()
{
return Z;
}
Steps to reproduce
-
In a C file, write:
enum meow {
X, Y, Z,
};
enum allo
mix()
{
return Z;
}
-
Try to go to the mix symbol.