Skip to content

Insight code missing ';' #682

@lauler1

Description

@lauler1

I used cpp-insights 18.1
https://cppinsights.io/s/ced8e01c

Tested code:

	#include <cstdio>
	#include <vector>
	#include <cassert>
	static_assert(([] {
		std::vector<int> v(5);
		assert(v.size() == 5);
		assert(v.capacity() >= 3);

	}(), true));

	int main()
	{
	  printf("Hallo!!!!!");
	  return 0;
	}

Resulted insights code without the ';' after printf(), e.g.:

...

int main()
{
  printf("Hallo!!!!!")return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions