Skip to content

Color syntax missing on multi generic method #453

Open
@Lathanao

Description

@Lathanao

Please check this piece of code.
It seen the method is not well colored.

module main

struct Db {}
struct User {}
struct Post {}

fn main() {
	r := Db{}
	u := User{}
	p := Post{}

	r.do(u, p)
}

fn (r Db) do<X,Y>(x X, y Y) {
	println(x)
	println(y)
}

By the way, thank you for this great extension.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggrammar

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions