See attached screenshot and below C++ code example.
When enabling the "Evaluation and show return type" in "mouse-over" and "preview" in a "for" statement, SlickEdit is showing the wrong evaluated type.
When I use a different code browsing tool, cquery, it tells me that the evaluated type of "vecItem" is "int".
It happens with a clean config on my Linux x64, 23.0.1.2, CentOS 7.2. I also observed the issue on Windows x64 SE version 23.0.1.2.
Sample code (place mouse on the "vecItem" in the for loop):
#include "stdafx.h"
#include <vector>
#include <iostream>
int main()
{
std::vector<int> vectorOfInts;
vectorOfInts.emplace_back(1);
vectorOfInts.emplace_back(2);
vectorOfInts.emplace_back(3);
for (auto vecItem : vectorOfInts)
{
std::cout << vecItem << " \n";
}
return 0;
}