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

Pointer declaration colouring seems weird #82

Closed
russel opened this issue Jun 3, 2017 · 5 comments
Closed

Pointer declaration colouring seems weird #82

russel opened this issue Jun 3, 2017 · 5 comments

Comments

@russel
Copy link
Member

russel commented Jun 3, 2017

It appears that:

SomeType* v;

gets coloured differently to:

SomeType * v;

and that the former is coloured correctly and the latter is not coloured at all.

@CyberShadow
Copy link
Member

Both look fine here:

Is there anything else in the surrounding code that would affect fontification?

@CyberShadow
Copy link
Member

Managed to reproduce it (or a similar bug?) with:

struct S
{
	this(Object o) {}
	this(Object* o) {}
}

Object in the second constructor definition isn't fontified as a type.

@mathias-lang-sociomantic

Works for me (although fontification happens at different stages).

@nandryshak
Copy link

Changing the second constructor in CyberShadow's comment to:

this(Object * o) {}

Break the fontification for me.

CyberShadow added a commit to CyberShadow/Emacs-D-Mode that referenced this issue Sep 5, 2019
CyberShadow added a commit to CyberShadow/Emacs-D-Mode that referenced this issue Nov 10, 2019
@CyberShadow
Copy link
Member

This and some other issues should have been auto-closed when #93 was merged, but for whatever reason, they were not. I'm manually closing them now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants