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

Primary constructor with lambda #325

Open
sharpchen opened this issue Aug 19, 2024 · 0 comments
Open

Primary constructor with lambda #325

sharpchen opened this issue Aug 19, 2024 · 0 comments

Comments

@sharpchen
Copy link

Details

What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.)
vscode
What version of the editor are you using?
1.92.2
What color theme are you using?
dark plus

Repro

class Bar<T1, T2>
{
    public Bar(Action<Foo> a, Action<Bar<T1, T2>> b) {}
}

class Foo() : Bar<char, int>(
    foo => { Console.WriteLine("foo") }, // from foo
    bar => { Console.WriteLine("bar")  }  // from bar
){}

image

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

No branches or pull requests

1 participant