Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new parameter range breaks static assert. #247

Closed
matter123 opened this issue Jun 21, 2019 · 1 comment · Fixed by #248
Closed

new parameter range breaks static assert. #247

matter123 opened this issue Jun 21, 2019 · 1 comment · Fixed by #248
Labels
🐛 Bug Something isn't working High Priority Common or breaks highlighting of more than just itself

Comments

@matter123
Copy link
Collaborator

Example:

struct foo {
	static_assert(true, "foo");
	static_assert(bar, "bar");
	foo(){}
	int bar(foo bar);
};

Screenshot from 2019-06-21 10-12-13

This causes issue for the rest of the items in the struct.

@matter123 matter123 added 🐛 Bug Something isn't working High Priority Common or breaks highlighting of more than just itself labels Jun 21, 2019
jeff-hykin added a commit that referenced this issue Jun 21, 2019
prevent static_assert from being matched as a constructor
@jeff-hykin
Copy link
Owner

Thanks for catching and taking care of this @matter123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working High Priority Common or breaks highlighting of more than just itself
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants