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

Don't lose attributes of method parameters #12

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

alfonsogarciacaro
Copy link

@alfonsogarciacaro alfonsogarciacaro commented Aug 29, 2022

Fix dotnet#13786

Good news is this was not too complicated to fix. The problem was there is a function called GetParamAttribs that actually discards the param attributes 🤣 (instead it gets info that's usually expressed with attributes in F# like byref, default value, etc). However, the fix required touching several other places where this function is called. I've tried to make the minimal changes I needed to fix the issue, but I'm pretty sure the F# team would prefer to fix this in a more consistent way (e.g. properties still have the same problem). Anyways, I've also sent them these changes for reference.

Unfortunately, this is a stopper to release Fable 4 as it breaks current apps, so I've already updated Fable with a FCS build containing the fix. I think we can merge this single commit in service_slim for now and when the issue is fixed in dotnet/fsharp (hopefully soon) we can just revert this PR before syncing. What do you think @ncave?

@ncave
Copy link
Owner

ncave commented Aug 29, 2022

Not a problem @alfonsogarciacaro, that's what this branch is for.

@ncave ncave merged commit d3f278b into ncave:service_slim Aug 29, 2022
ncave pushed a commit that referenced this pull request Sep 25, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Sep 26, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Sep 26, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Nov 14, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Nov 14, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Nov 30, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Nov 30, 2022
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Jan 28, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Jan 31, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Feb 24, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Feb 24, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Feb 24, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Apr 15, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Apr 15, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Oct 15, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Oct 17, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Oct 19, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Oct 19, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Oct 19, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Oct 19, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Oct 23, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Oct 23, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Dec 8, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Dec 8, 2023
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Nov 16, 2024
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Nov 22, 2024
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave pushed a commit that referenced this pull request Jan 15, 2025
Temporary fix, remove when upstream dotnet#13786 is fixed.
ncave added a commit that referenced this pull request Jan 15, 2025
Temporary fix, remove when upstream dotnet#13786 is fixed.
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

Successfully merging this pull request may close these issues.

2 participants