We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The support for local functions implemented in #1586 does not cover generic local functions.
A first batch of test cases:
class Program<CT> { public static void Main(string[] args) { A(args); int A<T>(T a) { return 1; } } public static MT Get<MT>(string key, MT defaultValue) { return Do(); MT Do() { Console.WriteLine(key); return defaultValue; } } public static CT TypeParameter() { return A(); CT A() { return default(CT); } } }
The text was updated successfully, but these errors were encountered:
f08a721
Merge pull request icsharpcode#1797 from yyjdelete/localFunc
0bd63e5
Add support for generic and static local function Fixes icsharpcode#1588
Successfully merging a pull request may close this issue.
The support for local functions implemented in #1586 does not cover generic local functions.
A first batch of test cases:
The text was updated successfully, but these errors were encountered: