-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServiceVisual StudioInherited from Visual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.Currently only repros with our latest Insiders release.regressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Milestone
Description
Use code
#include <vector>
#include <string>
void func(std::vector<std::string>&& v) {}
int main()
{
std::string dd;
std::vector<std::string> vv;
func(std::vector{ dd });
}
with /std:c++17.
Bug: IntelliSense gives “expression must have a constant value”.
Regression compared to 1.13.2.
Filed on VS 17.5 Preview at https://developercommunity.visualstudio.com/t/High-priority-IntelliSense-regression-wi/10184093 .
Metadata
Metadata
Assignees
Labels
Language ServiceVisual StudioInherited from Visual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.Currently only repros with our latest Insiders release.regressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release