News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Bug: Code completion incorrectly interprets arguments as part of signature

Started by rnicholl, November 27, 2019, 07:36:51 PM

Previous topic - Next topic

rnicholl

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

e.g.

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

does not match:

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.