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
[<Erase>]
While working on #3929, it seems like some cases have not been covered.
This code
[<Erase>] type internal LanguageInjectionAttribute() = inherit Attribute() [<Erase>] member val Prefix = "" with get, set
does not generate the getter but does generate the setter function:
export function LanguageInjectionAttribute__set_Prefix_Z721C83C5(__, v) { __["Prefix@"] = v; }
Please provide the F# code to reproduce the problem or a link to the REPL. Ideally, it should be possible to easily turn this code into a unit test.
Please provide the expected and actual results.
dotnet fable --version
The text was updated successfully, but these errors were encountered:
I was checking this problem a bit and probably this isn't a Fable problem but FSharp compiler issue.
When I ran the attached code in the example, FSharp compilation result did not add attribute to set_prefix while it does for get_prefix
set_prefix
get_prefix
Tested with dotnet 8.0.403 on the latest main branch.
Sorry, something went wrong.
No branches or pull requests
Description
While working on #3929, it seems like some cases have not been covered.
This code
does not generate the getter but does generate the setter function:
Repro code
Please provide the F# code to reproduce the problem or a link to the REPL.
Ideally, it should be possible to easily turn this code into a unit test.
Expected and actual results
Please provide the expected and actual results.
Related information
dotnet fable --version
The text was updated successfully, but these errors were encountered: