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
Add EnumParam preserving type information #1266
Add EnumParam preserving type information #1266
Conversation
I'd like to write proper tests for this case, but it doesn't clear how to run F# integration "test suite". Could you help me please? @adamsitnik @AndreyAkinshin Thanks! |
@isaevdan Review please! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine by me
b9b7195
to
ea959b3
Compare
ea959b3
to
718b776
Compare
Ready to review. :) |
I see this is still open. In case if it is waiting for me, I`m still fine with implementation :) |
@adamsitnik @AndreyAkinshin Hey, guys, any chance to get it merged? Thanks! |
@gsomix thanks for the PR and sorry for the delay. |
@AndreyAkinshin @gsomix |
@isaevdan yes, the fix will be available in 0.12.1. The new version should be released this week. |
@AndreyAkinshin Great, thanks for update |
Closes #1262
I've added new type for enum params, that preserves type information for erasured F# enums in attributes. There is obvious code duplication, but that's for reason to keep code changes small and local. We can remove it after F# compiler is fixed. ;)
See also:
dotnet/fsharp#995
Happy #hacktoberfest!