Skip to content

Kotlin syntax highlighting in blue stops working when it hits a , character in the method name #17

Description

@JLLeitschuh

Example:

@Test
fun `🦆 ~|~test with a really, (really) terrible name & that needs to be changed!~|~`() { }
                             ^

You can see that everything after the comma is no longer syntax highlighted.

This is a valid method name in Kotlin.

I discovered this problem as part of writing up this issue: junit-team/junit-framework#1170

I was told to open an issue here by the Linguist team github-linguist/linguist#3913

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions