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

Explicit type parameters for methods omitted #13

Closed
EamonNerbonne opened this issue May 24, 2014 · 1 comment
Closed

Explicit type parameters for methods omitted #13

EamonNerbonne opened this issue May 24, 2014 · 1 comment
Assignees
Labels

Comments

@EamonNerbonne
Copy link
Owner

From eamon.nerbonne on January 25, 2011 15:59:12

ExpressionToCode.ToCode(()=>new[]{1,2,3}.Cast())

This returns:

() => new[] { 1, 2, 3 }.Cast()

But omitting the type parameter here is invalid. Unfortunately, merely adding the type parameters always makes for very messy code... so some type inference knowledge here will be necessary.

Original issue: http://code.google.com/p/expressiontocode/issues/detail?id=13

@EamonNerbonne
Copy link
Owner Author

fixed by #49

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

Successfully merging a pull request may close this issue.

1 participant