Intellisense not interpreting C++17 auto correctly #2112
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
parser
Type: LanguageService
Intellisense interprets the construct
auto p{"Fred"}
as deduction of an initializer list. In C++17 that should not be the case.To Reproduce
Use the following C++17
main.cpp
file:along with the following (auto-generated)
c_cpp_properties.json
file:Red squiggles appear under
auto p
. Intellisense is seeing this line as a deduction of an initializer list.Expected behavior
auto p{s}
should be recognized asp
being aconst char *
.The text was updated successfully, but these errors were encountered: