better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

Templated friend declarion with qualified type breaks highlighting until next semicolon

Open matter123 opened this issue 6 years ago • 0 comments

Checklist

  • [x] This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
  • [ ] This bug exists for C
  • [x] This bug exists for C++
  • [ ] This bug exists for Objective-C
  • [ ] This bug exists for Objective-C++

The code with a problem is:

class A {
	template <class>
		friend class B::C;
	template <class>
	friend class B::D;
};

It looks like:

Screen Shot 2019-11-18 at 12 55 25

It should look like:

template one line 4 should have the scope storage.type.template.cpp

This only happens when the friend declataion is qualified

matter123 avatar Nov 18 '19 21:11 matter123