Closed thetarnav closed 4 months ago
Sometimes similar thing happens to multiple unnamed return values.
This is from odin/core/os/os_linux.odin
Should be fixed. It's caused by core:odin/parser
apparently sets the name to be "_" when the parameters names are empty. I now handle that.
Seems like semantic tokens don't expect a procedure to not have parameter names, but that is a valid syntax when defining a proc type.
With semantic tokens:
Without:
The first letter has a token of
parameter
instead ofsupport.type
orentity.name.type
.