cling icon indicating copy to clipboard operation
cling copied to clipboard

An other completion issue

Open gouarin opened this issue 6 years ago • 2 comments

There is two strange behaviors with the completion. Here are the test cases in cling

  • first test
#include <array>
std::+TAB

you have in the list array<<#typename _Tp#>, <#std::size_t _Nm#>>. Then if you do

std::a+TAB

you don't have the completion with array whereas it's the only good result.

  • second test

you do the same as before but you also include vector

#include <array>
#include <vector>
std::+TAB

and you have no more results...

gouarin avatar Jul 18 '17 09:07 gouarin

Thanks for the report. We will look into it.

vgvassilev avatar Jul 19 '17 07:07 vgvassilev

@vgvassilev, I update this issue with an other problem in the completion when you create alias

#include <array>
#include <tuple>

using int_array = std::array<int, 2>;
using int_tuple = std::tuple<int>;

Then you have the completion on int_array but not on int_tuple.

gouarin avatar Jul 22 '17 10:07 gouarin