Author Topic: Bug: Code completion incorrectly interprets arguments as part of signature  (Read 4080 times)

rnicholl

  • Guest
The code completion plugin is incorrectly interpreting argument names as part of the symbol:

e.g.

Code
class A
{
  void write(std::byte const * foo, size_type bar);
};
does not match:

Code
void A::write(std::byte const * fizz, size_type buz)
{

}

But instead provides two different symbols in the symbol browser. This behaviour is wrong, the argument names are not part of the function signature. It's perfectly legal to omit them from the declaration entirely.