forked from dotnet/fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not a problem @alfonsogarciacaro, that's what this branch is for. |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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# likebyref
, 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 indotnet/fsharp
(hopefully soon) we can just revert this PR before syncing. What do you think @ncave?