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

Offline rnicholl

  • Single posting newcomer
  • *
  • Posts: 1
The code completion plugin is incorrectly interpreting argument names as part of the symbol:


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

Code: [Select]
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.